Multiple-Value formulas

E

EricB

Range: Column I2:I2000
My formula in Column H: =IF(I2="DM","Credit","System")
The formula is working fine with a single criteria, being “DM†(Returning
“Credit†if TRUE or "System" if FALSE)

I am trying to use multiple criteria in this formula: “DMâ€,â€EFâ€,â€LMâ€,â€MEâ€,â€NKâ€
i.e.: =IF(I2=“DMâ€,â€EFâ€,â€LMâ€,â€MEâ€,â€NKâ€,Credit","System")
Result: Formula error

Is there another formula that I can use?

EricB
 
D

Duke Carey

=IF(OR(I2=“DMâ€,I2=â€EFâ€,I2=â€LMâ€,I2=â€MEâ€,I2=â€NKâ€),Credit","System")
 
R

Ron Coderre

Try this:

=IF(OR(I2={"DM","EF","LM","ME","NK"}),"Credit","System")


Does that help?
***********
Regards,
Ron

XL2002, WinXP
 
R

Ron Coderre

Sorry, Duke.....I thought I clicked on the EricB's post. : \

***********
Regards,
Ron

XL2002, WinXP
 
R

Ron Coderre

I'm glad I could help......Thanks for the feedback.


***********
Regards,
Ron

XL2002, WinXP
 

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