Multiple IF function pull from multiple cells

Multiple IF function pull from multiple cells

I am working on a spend tracker and i am having trouble pulling currency conversions from other cells in the row.

I need the 'committed amount in USD' to pull from the correct currency conversion cell depending on the currency selected.

current formula i have that works with pulling from just one cell is -

=IF([email protected] = "KRW", [KRW to USD]@row)

how can i add to this to make it pull from other cells if the currency is different?

I have been trying this and it isnt working-

=IF([email protected] = "KRW", [KRW to USD]@row), IF([email protected] = "GBP" , [GBP to USD]@row)

can anyone help?!


Best Answer

  • Paul NewcomePaul Newcome ✭✭✭✭✭
    Accepted Answer

    You are on the right track. It is just a minor syntax issue. When nesting IF functions, you leave the first one open and start the second in the "else" portion of the first. Then you start the third in the "else" portion of the second, so on and so forth. Then you close them all at the end.

    =IF(this is true, do this, IF(that is true, do that))

    =IF([email protected] = "KRW", [KRW to USD]@row, IF([email protected] = "GBP" , [GBP to USD]@row))


Sign In or Register to comment.