IF and OR

S

sgrech

Hi, would somebody be kind enough to explain to me what is incorrec
with the following forumula.

=IF(ISNUMBER(I11),IF(OR(H11="gbp",(RIGHT(A11,3)),(G11*I11)/100,(G11*I11)),""))

Is the value in I11 is a number. If this is true then check to se
whether H11 = GBP or the last 3 characters in cell A11 = FIX, if tru
then calculate (G11*I11)/100 otherwise (G11*I11). If ISNUMBER functio
is false then show cell as blank.

I hope this makes sense.

Thanks in advance.

Simo
 
A

AlfD

Hi!

Try

=IF(NOT(ISNUMBER(I11)),"",IF(OR(H11="gbp",RIGHT(A11,3)="FIX"),G11*I11/100,G11*I11))


Al
 
S

sgrech

Thanks for you help but I have resolved the problem myself, seems like I
got some of the brackets wrong.

Cheers
Simon
 
B

Bob Phillips

You didn't test for FIX

=IF(ISNUMBER(I11),IF(OR(H11="gbp",RIGHT(A11,3)="FIX"),(G11*I11)/100,(G11*I11
)),"")
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top