May 30, 2019 04:19 PM
Hello, I need with some a formula I’m trying to calculate,
I need the percent (%) difference between two values fields and would like to format it so that if the percentage comes back as infinity, that data would be removed from the record so I can view the summary percentage of that field in my dashboard block.
This is the formula Airtable told me to use to get the percentage difference:
{PURCHASE PRICE}/{LIST PRICE}*100
…which shows up like:
ie: Sale Price/List Price100 = List to Sell Data %
$575,000/$500,000100 = 115%
$575,000/$0*100 = Infinity
…but then my dashboard block can’t show the avg % of the sale to list price.
Any help would be extremely appreciated!
May 31, 2019 04:57 AM
Hi @Rosa_Rezansoff - if you use:
IF({List Price} = 0, BLANK(), {Purchase Price}/{List Price})
then you’ll get this:
At the bottom of the formula column you get this (if you select Avg):
Which I think is what you are after
JB
May 31, 2019 04:58 AM
Of course, the calculations don’t work horizontally in the summary bar, i.e.:
1650/700 < > 182.5%
May 31, 2019 02:10 PM
Thank you so much!! That worked!