So I have a column with different currencies in every cell:
A1: 5$.
A2: 10 NIS.
A3: 8$.
etc.
I want to sum the total of money in that column, in one of the currencies. So if I want a result in NIS and say that B1 is the exchange rate, I want to do: =5*B1+10+8*B1.
Problem is, there are too many cells to do this the stupid way.
Now, every cell is of the currency type, either USD or NIS. What I'm thinking about is this:
=SUMIF(A1:A1000,if USD,A1:A1000)+B1*SUMIF(A1:A1000,if NIS,A1:A1000)
But how do I phrase the "if USD"/"if NIS" condition in excel?
A1: 5$.
A2: 10 NIS.
A3: 8$.
etc.
I want to sum the total of money in that column, in one of the currencies. So if I want a result in NIS and say that B1 is the exchange rate, I want to do: =5*B1+10+8*B1.
Problem is, there are too many cells to do this the stupid way.
Now, every cell is of the currency type, either USD or NIS. What I'm thinking about is this:
=SUMIF(A1:A1000,if USD,A1:A1000)+B1*SUMIF(A1:A1000,if NIS,A1:A1000)
But how do I phrase the "if USD"/"if NIS" condition in excel?
Comment