I have an Excel report where I have to convert money (Column O in the picture) into EUR currency:

So far I have been using the IF function, but here the pattern is a bit different. Instead of
=IF(Condition;"true";"false")
I need rather
=IF(P2='EUR';O2);IF(P2='USD';O2*0,78);IF(P2='GBP';O2*1,25);
Just it does not work as it's not a correct Excel expression. Any help ?


