Help

Return either currency or blank value in formula field

Topic Labels: Formulas
Solved
Jump to Solution
990 2
cancel
Showing results for 
Search instead for 
Did you mean: 
Brad_Fruhauff
4 - Data Explorer
4 - Data Explorer

This is admittedly an aesthetic concern, but I feel like it should be possible.

I have a formula that tests a checkbox field, {Guild?}, to see if I owe fees for a given project to a guild I work with. If it is a guild project, then the formula should return a currency value equal to the amount received for the project, {Rec’d}, times the Cut field, which is a percentage.

Currently, I have it written like so:

IF({Guild?}=1, {Rec’d}*{Cut}, " ")

This returns the right numbers for guild projects and leaves non-guild projects blank. Fine and good. However, I cannot use the field formatting options because the values are not all numbers. Is there a way to tell Airtable to return {Rec’d}*{Cut} as currency?

1 Solution

Accepted Solutions
kuovonne
18 - Pluto
18 - Pluto

The value are not all numbers, because the “else” part of your IF statement returns a string that is a single space character. Remove that part from your formula, and you will have number formatting available.

IF({Guild?}=1, {Rec’d}*{Cut})

See Solution in Thread

2 Replies 2
kuovonne
18 - Pluto
18 - Pluto

The value are not all numbers, because the “else” part of your IF statement returns a string that is a single space character. Remove that part from your formula, and you will have number formatting available.

IF({Guild?}=1, {Rec’d}*{Cut})

Yeah, but that was, like, easy. I was trying to do it the hard way.

Thanks!