View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
TV
 
Posts: n/a
Default 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