Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Multiple conditions in a formula
I am trying to build a formula that will fill a cell with the value from a
table if certain conditions exist in another adjacent cell. I tried to use the IF formula and it would work except I need a total of 4 conditions. In other words I want to fill a cell with one value if the adjacent cell contains CCE and a different reference if the cell contains BCP etc. Thanks for your help. -- TV |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Multiple conditions in a formula
Maybe something like........
=IF(A1="CCE","ReturnThis",IF(A1="BCP","ReturnThat" ,IF(A1="ONE","ReturnThirdValue",IF(A1="TWO","Retur nFourthValue","")))) Vaya con Dios, Chuck, CABGx3 "TV" wrote: I am trying to build a formula that will fill a cell with the value from a table if certain conditions exist in another adjacent cell. I tried to use the IF formula and it would work except I need a total of 4 conditions. In other words I want to fill a cell with one value if the adjacent cell contains CCE and a different reference if the cell contains BCP etc. Thanks for your help. -- TV |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Multiple conditions in a formula
Thanks, it worked. I knew the answer was out there somewhere.
-- TV "CLR" wrote: Maybe something like........ =IF(A1="CCE","ReturnThis",IF(A1="BCP","ReturnThat" ,IF(A1="ONE","ReturnThirdValue",IF(A1="TWO","Retur nFourthValue","")))) Vaya con Dios, Chuck, CABGx3 "TV" wrote: I am trying to build a formula that will fill a cell with the value from a table if certain conditions exist in another adjacent cell. I tried to use the IF formula and it would work except I need a total of 4 conditions. In other words I want to fill a cell with one value if the adjacent cell contains CCE and a different reference if the cell contains BCP etc. Thanks for your help. -- TV |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Multiple conditions in a formula
Happy to help.........and thanks for the feedback....
Vaya con Dios, Chuck, CABGx3 "TV" wrote: Thanks, it worked. I knew the answer was out there somewhere. -- TV "CLR" wrote: Maybe something like........ =IF(A1="CCE","ReturnThis",IF(A1="BCP","ReturnThat" ,IF(A1="ONE","ReturnThirdValue",IF(A1="TWO","Retur nFourthValue","")))) Vaya con Dios, Chuck, CABGx3 "TV" wrote: I am trying to build a formula that will fill a cell with the value from a table if certain conditions exist in another adjacent cell. I tried to use the IF formula and it would work except I need a total of 4 conditions. In other words I want to fill a cell with one value if the adjacent cell contains CCE and a different reference if the cell contains BCP etc. Thanks for your help. -- TV |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Formula Problem - interrupted by #VALUE! in other cells!? | Excel Worksheet Functions | |||
formula to fill text with multiple conditions | Excel Discussion (Misc queries) | |||
Formula checking multiple worksheets | Excel Worksheet Functions | |||
Formula checking multiple worksheets | Excel Worksheet Functions | |||
Sum(if ... multiple conditions ... Interpretation? | Excel Discussion (Misc queries) |