View Single Post
  #3   Report Post  
BenjieLop
 
Posts: n/a
Default


Filmmaker Wrote:
This is a complicated need I have and the formula seems impossible but
if there is a wizard out there who can tackle this I would greatly
appreciate any help. Here is my quandry:
I have one of five values in cell A1; "Red", "Blue",
"Green","Yellow" or "Orange". I have one of two values in cell B1;
"Chevy" or "Ford".

If A1 contains "Red", "Blue" or "Green" and B1 contains "Chevy" I
need C1 to automatically show the value 1000.
If A1 contains "Red", "Blue" or "Green" and B1 contains "Ford" I need
C1 to automatically show the value "2000."
If A1 contains "Yellow" or "Orange" and B1 contains "Chevy" I need C1
to show the value "3000".
If A1 contains "Yellow" or "Orange" and B1 contains "Ford" I need C1 to
show the value "4000".

Again, any help is appreciated.


I have a formula that will help you ... it may not be elegant but it
works (as I tested it):

IF(AND(OR(A1="Red",A1="Blue",A1="Green"),B1="Chevy "),1000,IF(AND(OR(A1="Red",A1="Blue",A1="Green"),B 1="Ford"),2000,IF(AND(OR(A1="Yellow",A1="Orange"), B1="Chevy"),3000,IF(AND(OR(A1="Yellow",A1="Orange" ),B1="Ford"),4000,""))))


--
BenjieLop


------------------------------------------------------------------------
BenjieLop's Profile: http://www.excelforum.com/member.php...o&userid=11019
View this thread: http://www.excelforum.com/showthread...hreadid=276685