HELP WITH formula

josaiah

Board Regular
Joined
Jun 14, 2011
Messages
61
hi, this is my current formula

=IF(B3<>"",ABS(IF(OR(F3="SGD",H3="SGD"),SUMIF(F3:H3,"SGD",G3:I3),IF(ISNUMBER(MATCH(F3,{"JPY"},0)),G3*K3/100,IF(K3<>"",G3/K3,0)))),"")


i would like to change the criteria

if F3 is "SGD" pick G3
if H3 is "SGD" pick I3

there will only be a SGD in either F3 or H3.

if no SGD in either of the cell, from F3, pick either "AUD","NZD","EUR","GBP","USD","CAD","CHF" and G3 * K3

if none of the Currency can be found, pick G3 and / by K3

and if it "JPY" in F3, pick G3 / K3 and /100.
 

Some videos you may like

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).

josaiah

Board Regular
Joined
Jun 14, 2011
Messages
61
=IF(B4<>"",ABS(IF(OR(F4="SGD",H4="SGD"),SUMIF(F4:H4,"SGD",G4:I4),
IF(ISNUMBER(MATCH(F4,{"EUR","AUD","NZD","USD","CAD","CHF","GBP"},0)),G4*K4,IF(K4<>"",G4/K4,0)))),"")

HI, THIS is my current formula.

i want to add in if F4 = JPY, G4/K4/100

can i know where should i add this?
 

Watch MrExcel Video

Forum statistics

Threads
1,123,057
Messages
5,599,545
Members
414,316
Latest member
ExcelLee

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top