ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Multiple-Value formulas (https://www.excelbanter.com/excel-worksheet-functions/142629-multiple-value-formulas.html)

EricB

Multiple-Value formulas
 
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


Duke Carey

Multiple-Value formulas
 
=IF(OR(I2=€œDM€,I2=€EF€,I2=€LM€,I2=€M E€,I2=€NK€),Credit","System")


"EricB" wrote:

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


Arvi Laanemets

Multiple-Value formulas
 
Hi

=IF(ISNA(MATCH(I2,{"DM";"EF";"LM";"ME";"NK"},0))," System","Credit")


--
Arvi Laanemets
( My real mail address: arvi.laanemets<attarkon.ee )



"EricB" wrote in message
...
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




Ron Coderre

Multiple-Value formulas
 
Try this:

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


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

XL2002, WinXP


"Duke Carey" wrote:

=IF(OR(I2=€œDM€,I2=€EF€,I2=€LM€,I2=€M E€,I2=€NK€),Credit","System")


"EricB" wrote:

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


Ron Coderre

Multiple-Value formulas
 
Sorry, Duke.....I thought I clicked on the EricB's post. : \

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

XL2002, WinXP


"Ron Coderre" wrote:

Try this:

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


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

XL2002, WinXP


"Duke Carey" wrote:

=IF(OR(I2=€œDM€,I2=€EF€,I2=€LM€,I2=€M E€,I2=€NK€),Credit","System")


"EricB" wrote:

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


EricB

Multiple-Value formulas
 
Hi Ron

Great, working 100%

Much appreciated

EricB
=================

"Ron Coderre" wrote:

Try this:

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


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

XL2002, WinXP


"Duke Carey" wrote:

=IF(OR(I2=€œDM€,I2=€EF€,I2=€LM€,I2=€M E€,I2=€NK€),Credit","System")


"EricB" wrote:

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


Ron Coderre

Multiple-Value formulas
 
I'm glad I could help......Thanks for the feedback.


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

XL2002, WinXP


"EricB" wrote:

Hi Ron

Great, working 100%

Much appreciated

EricB
=================

"Ron Coderre" wrote:

Try this:

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


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

XL2002, WinXP


"Duke Carey" wrote:

=IF(OR(I2=€œDM€,I2=€EF€,I2=€LM€,I2=€M E€,I2=€NK€),Credit","System")


"EricB" wrote:

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



All times are GMT +1. The time now is 01:14 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com