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.
May 23, 2024 11:07 AM
I have an Excel formula I'd like to replicate in Airtable.
This formula converts different currencies into GBP.
Excel:
=IF(M2+(N2/1.25)+(O2/1.2)+(P2/8.75)=0,"",M2+(N2/1.25)+(O2/1.2)+(P2/8.75))
Key:
£ GBP | $ USD | € EUR | ¥ CNY |
M2 | N2 | O2 | P2 |
How would I go about it?
Solved! Go to Solution.
May 23, 2024 01:13 PM
Hi send_help_pls,
Since you're coming from Excel, I'll include the excel terminology parenthetically.
First, make a new table (sheet), and name fields (columns) 2-5:
GBP, USD, EUR, CNY
Set them up as currency fields (columns) with their respective symbols.
Next, add a Converted to GBP field (column) as a formula field.
Use the following formula:
IF(
{GBP} + ({USD} / 1.25) + ({EUR} / 1.2) + ({CNY} / 8.75) = 0,
"",
{GBP} + ({USD} / 1.25) + ({EUR} / 1.2) + ({CNY} / 8.75)
)
This should convert any of the currency fields into GBP.
May 23, 2024 01:13 PM
Hi send_help_pls,
Since you're coming from Excel, I'll include the excel terminology parenthetically.
First, make a new table (sheet), and name fields (columns) 2-5:
GBP, USD, EUR, CNY
Set them up as currency fields (columns) with their respective symbols.
Next, add a Converted to GBP field (column) as a formula field.
Use the following formula:
IF(
{GBP} + ({USD} / 1.25) + ({EUR} / 1.2) + ({CNY} / 8.75) = 0,
"",
{GBP} + ({USD} / 1.25) + ({EUR} / 1.2) + ({CNY} / 8.75)
)
This should convert any of the currency fields into GBP.
May 24, 2024 11:08 AM
You're a legend, thank you!