# SUMIF Different Columns

✭✭✭✭

Hi, I have two columns [Initial Priced Amount] and [Final Account Amount], what I am trying to do is use the amount in [Initial Priced Amount] if the [Final Account Amount] is blank, but if it isn't blank then use the amount in it, the [Final Account Amount] column.

I want to use it in a couple of formulas in other columns in the same way, see formulas below;

=[Final Account Amount]@row - [Costs to Date]@row

=IFERROR([Difference - Cost vs Final Acc]@row / [Final Account Amount]@row, " ")

So basically what I'm trying to achieve is that if the [Final Account Amount] is blank use the [Initial Priced Amount] in the above formulas, but if it isn't blank use the [Final Account Amount].

Tags:

• ✭✭✭✭✭✭

Try making a separate column with the below formula and using that for all your calculations:

=IF([Final Account Amount]@row <>"",[Final Account Amount]@row , [Initial Priced Amount]@row)

• ✭✭✭✭

Hi Leibel, I hadn't thought of a helper column that worked perfectly. Thanks.

• ✭✭✭✭✭✭

Try making a separate column with the below formula and using that for all your calculations:

=IF([Final Account Amount]@row <>"",[Final Account Amount]@row , [Initial Priced Amount]@row)

• ✭✭✭✭

Hi Leibel, I hadn't thought of a helper column that worked perfectly. Thanks.

## Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!