Help

Re: Display a result in fraction form

Solved
Jump to Solution
223 0
cancel
Showing results for 
Search instead for 
Did you mean: 
Shannon_Bradley
7 - App Architect
7 - App Architect

Hello there smart folks! I am building a base for small film productions, and the industry has some odd practices I have to work around. One of those is tracking scenes on scripts in page length in fractions - specifically 8ths.

For my personal tracking I have a column that just holds the size in the total number of 8ths (so instead of showing 1/8 page it is 1, 1 and 3/8 pages is 11) which I can then total into total number of 8ths.

I now need to convert that back into pages in fraction form to display on one of my reports. So say I have 10 scenes over 5 3/8 pages (so my total is 43). How do I create that 5 3/8 to display?

I hope this makes sense!

2 Solutions

Accepted Solutions
Ron_Daniel
8 - Airtable Astronomer
8 - Airtable Astronomer

With some work, this could probably be reduced to one field/formula. But for expediency's sake, try this:
Screen Shot 2023-01-16 at 2.23.26 PM.png

Whole Numbers formula:

ROUNDDOWN({Number of 8ths}/8, 0)

Remainders formula:
{Number of 8ths}-({Whole Numbers}*8)
Fractions formula:
IF({Whole Numbers}=0,
CONCATENATE(Remainders &"/8"),
IF(Remainders>0,
CONCATENATE({Whole Numbers} & " " & Remainders &"/8"),
{Whole Numbers}
)
)

See Solution in Thread

kuovonne
18 - Pluto
18 - Pluto

Here is another option ...

 

CONCATENATE(
  ROUNDDOWN({Eigths}/8, 0),
  IF(
    MOD({Eigths}, 8),
    " " & MOD({Eigths}, 😎 & "/8"
  )
)

 

 

kuovonne_0-1673926660373.png

 

See Solution in Thread

6 Replies 6
Ron_Daniel
8 - Airtable Astronomer
8 - Airtable Astronomer

With some work, this could probably be reduced to one field/formula. But for expediency's sake, try this:
Screen Shot 2023-01-16 at 2.23.26 PM.png

Whole Numbers formula:

ROUNDDOWN({Number of 8ths}/8, 0)

Remainders formula:
{Number of 8ths}-({Whole Numbers}*8)
Fractions formula:
IF({Whole Numbers}=0,
CONCATENATE(Remainders &"/8"),
IF(Remainders>0,
CONCATENATE({Whole Numbers} & " " & Remainders &"/8"),
{Whole Numbers}
)
)
Shannon_Bradley
7 - App Architect
7 - App Architect

THANK YOU! Formulas make my brain hurt and I was just staring at this for a while lol. Unless someone teaches us both how to make this smaller I will use it....hooray for hidden fields 😄 

kuovonne
18 - Pluto
18 - Pluto

Here is another option ...

 

CONCATENATE(
  ROUNDDOWN({Eigths}/8, 0),
  IF(
    MOD({Eigths}, 8),
    " " & MOD({Eigths}, 😎 & "/8"
  )
)

 

 

kuovonne_0-1673926660373.png

 

Shannon_Bradley
7 - App Architect
7 - App Architect

What a fantastic community 🙂 Thank you ever so much!!!!

I'm trying this one (ya reduced fields!) but keep getting errors for missing opening parenthesis? 

Shannon_Bradley
7 - App Architect
7 - App Architect

Circling back to this, wondering if anyone else has a formula suggestion to reduce this to a 2-field setup? Sadly what kuovonne suggested continues to come back with errors for me. Would be nice to reduce my very large table by the 2 extra fields 🙂