View Single Post
  #6   Report Post  
Aladin Akyurek
 
Posts: n/a
Default


=VLOOKUP(A1&B1,{"RedChevy",1000;"BlueChevy",1000;" GreenChevy",1000;"RedFord",2000;"BlueFord",2000;"G reenFord",2000;"YellowChevy",3000;"OrangeChevy",30 00;"YellowFord",4000;"OrangeFord",4000},2,0)


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.



--
Aladin Akyurek
------------------------------------------------------------------------
Aladin Akyurek's Profile: http://www.excelforum.com/member.php...fo&userid=4165
View this thread: http://www.excelforum.com/showthread...hreadid=276685