editing formula.

josaiah

Board Regular
Joined
Jun 14, 2011
Messages
61
=IF(B3<>"",ABS(IF(OR(G3="SGD",J3="SGD"),SUMIF(G3:J3,"SGD",H3:K3),IF(ISNUMBER(MATCH(G3,{"EUR","AUD","NZD","USD","CAD","CHF","GBP"},0)),H3*N3,IF(G3="JPY",H3/N3/100,H3/N3)))))

hi all, pls help to edit my formula.

if my cell N3 is blank, the value return #DIV/0!
i want it to return as 0
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
=iferror(IF(B3<>"",ABS(IF(OR(G3="SGD",J3="SGD"),SUMIF(G3:J3,"SGD",H3:K3),IF(ISNUMBER(MATCH(G3,{"EUR","AUD","NZD","USD","CAD","CHF","GBP"},0)),H3*N3,IF(G3="JPY",H3/N3/100,H3/N3))))),0)
 
Upvote 0
See if this is OK

=IF(B3<>"",ABS(IF(OR(G3="SGD",J3="SGD"),SUMIF(G3:J3,"SGD",H3:K3),IF(AND(ISNUMBER(N3),N3<>0),IF(ISNUMBER(MATCH(G3,{"EUR","AUD","NZD","USD","CAD","CHF","GBP"},0)),H3*N3,IF(G3="JPY",H3/N3/100,H3/N3)),0))),"")

M.
 
Upvote 0
=iferror(IF(B3<>"",ABS(IF(OR(G3="SGD",J3="SGD"),SUMIF(G3:J3,"SGD",H3:K3),IF(ISNUMBER(MATCH(G3,{"EUR","AUD","NZD","USD","CAD","CHF","GBP"},0)),H3*N3,IF(G3="JPY",H3/N3/100,H3/N3))))),0)


hi, the value now return #NAME?

FYI, im using a 2003 excel.
 
Upvote 0
nope. the formula didnt returns 0.

it return #NAME?

Sorry, i don't understand why the formula below returns #NAME in Excel 2003

=IF(B3<>"",ABS(IF(OR(G3="SGD",J3="SGD"),SUMIF(G3:J3,"SGD",H3:K3),IF(AND(ISNUMBER(N3),N3<>0),IF(ISNUMBER(MATCH(G3,{"EUR","AUD","NZD","USD","CAD","CHF","GBP"},0)),H3*N3,IF(G3="JPY",H3/N3/100,H3/N3)),0))),"")

I dont have Excel 2003 to do tests, but as far as i know, the functions used in the formula (ABS, IF, ISNUMBER, MATCH) are all available in Excel 2003. (maybe, i'm wrong...)

Maybe someone else can help you.

M.
 
Upvote 0
Sorry, i don't understand why the formula below returns #NAME in Excel 2003

=IF(B3<>"",ABS(IF(OR(G3="SGD",J3="SGD"),SUMIF(G3:J3,"SGD",H3:K3),IF(AND(ISNUMBER(N3),N3<>0),IF(ISNUMBER(MATCH(G3,{"EUR","AUD","NZD","USD","CAD","CHF","GBP"},0)),H3*N3,IF(G3="JPY",H3/N3/100,H3/N3)),0))),"")

I dont have Excel 2003 to do tests, but as far as i know, the functions used in the formula (ABS, IF, ISNUMBER, MATCH) are all available in Excel 2003. (maybe, i'm wrong...)

Maybe someone else can help you.

M.

hi,

there is a confusion. so sorry abt tat.
i saw the formula you posted.

i've got it.
its working now. thanks alot! u're a great help.
 
Upvote 0

Forum statistics

Threads
1,213,546
Messages
6,114,251
Members
448,556
Latest member
peterhess2002

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
Back
Top