The Community will be temporarily unavailable starting on Friday February 28. We’ll be back as soon as we can! To learn more, check out our Announcements blog post.
Apr 25, 2017 07:48 AM
Hi im trying to get to “Total Spent In USD”
Currently i have “Ammount Spent in Original Currency” and “Currency”
I (think) i want an If statement in an If statement, like in excel.
But this is giving me an error everytime i try it.
Whats the best way to get my desired result?
Apr 25, 2017 08:28 AM
Hi George
A more ‘databasey’ way of doing this would be to have a currency table with a conversion rate held in it and then use lookup and formula fields to do the calculation.
This will work fine if you want a single currency rate used in your calculation - however if you need to do the calculation for the date the transaction took place based upon the rate held at the time then this is currently a problem with Airtable as the calculation will recalculate if the rate changes.
If anyone has a way round this I would be interested to hear.
Julian
Apr 25, 2017 12:17 PM
You are getting an error every time you try it. Please tell us what “it” is.
What formula are you using?
Also, take a look at this: Nested IF formulas
Apr 26, 2017 01:15 AM
I would recommend simply storing the calculated value from the function in a ‘real’ column (Zap?).
I’ve done some advanced trickery with circular rollups and a bunch of function fields, but it’s pretty messy to be honest, plus I’m not even sure if that would work in this scenario…
Apr 26, 2017 01:51 AM
Or of course make the conversion rate table historical (add a date). But that could potentially mean a lot of records…
May 01, 2017 02:28 AM
Thanks Guys, just made a new table in the end.