Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
4 worksheets
1-Retail 2-Distributor 3-Wholesale in first 3 worksheets columnA item # columnB item price on each worksheet price is different 4-Order A1=list (names worksheets: Retail, Distributor and Wholesale) A2=item # B2= need add to formula =IF($A2="","",VLOOKUP($A2,retail!$A$3:$H$200,2,FAL SE)) if in cell A1 = Retail LOOK in retail worksheet OR A1 = Distributor LOOK in distributor worksheet OR A1 = Wholesale LOOk in wholesale worksheet Thanks in advance. -- Message posted via http://www.officekb.com |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
=IF($A2="Retail",VLOOKUP($A2,retail!$A$3:$H$200,2, FALSE),if($A2="Distributor",VLOOKUP($A2,Distributo r!$A$3:$H$200,2,FALSE),VLOOKUP($A2,Wholesale!$A$3: $H$200,2,FALSE),"")
should work, but i have not tested it "inta251 via OfficeKB.com" wrote: 4 worksheets 1-Retail 2-Distributor 3-Wholesale in first 3 worksheets columnA item # columnB item price on each worksheet price is different 4-Order A1=list (names worksheets: Retail, Distributor and Wholesale) A2=item # B2= need add to formula =IF($A2="","",VLOOKUP($A2,retail!$A$3:$H$200,2,FAL SE)) if in cell A1 = Retail LOOK in retail worksheet OR A1 = Distributor LOOK in distributor worksheet OR A1 = Wholesale LOOk in wholesale worksheet Thanks in advance. -- Message posted via http://www.officekb.com |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
sorry finger problem whilst typing... try
=IF($A2="Retail",VLOOKUP($A2,retail!$A$3:$H$200,2, FALSE),if($A2="Distributor",VLOOKUP($A2,Distributo r!$A$3:$H$200,2,FALSE),if($A2="Wholesale",VLOOKUP( $A2,Wholesale!$A$3:$H$200,2,FALSE),"") "LesG" wrote: =IF($A2="Retail",VLOOKUP($A2,retail!$A$3:$H$200,2, FALSE),if($A2="Distributor",VLOOKUP($A2,Distributo r!$A$3:$H$200,2,FALSE),VLOOKUP($A2,Wholesale!$A$3: $H$200,2,FALSE),"") should work, but i have not tested it "inta251 via OfficeKB.com" wrote: 4 worksheets 1-Retail 2-Distributor 3-Wholesale in first 3 worksheets columnA item # columnB item price on each worksheet price is different 4-Order A1=list (names worksheets: Retail, Distributor and Wholesale) A2=item # B2= need add to formula =IF($A2="","",VLOOKUP($A2,retail!$A$3:$H$200,2,FAL SE)) if in cell A1 = Retail LOOK in retail worksheet OR A1 = Distributor LOOK in distributor worksheet OR A1 = Wholesale LOOk in wholesale worksheet Thanks in advance. -- Message posted via http://www.officekb.com |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
LesG wrote:
sorry finger problem whilst typing... try =IF($A2="Retail",VLOOKUP($A2,retail!$A$3:$H$200,2 ,FALSE),if($A2="Distributor",VLOOKUP($A2,Distribut or!$A$3:$H$200,2,FALSE),if($A2="Wholesale",VLOOKUP ($A2,Wholesale!$A$3:$H$200,2,FALSE),"") =IF($A2="Retail",VLOOKUP($A2,retail!$A$3:$H$200,2, FALSE),if($A2="Distributor",VLOOKUP($A2,Distributo r!$A$3:$H$200,2,FALSE),VLOOKUP($A2,Wholesale!$A$3: $H$200,2,FALSE),"") Thanks LesG. A1=list (names worksheets: Retail, Distributor and Wholesale) A2=item # as you see i need 2 criteria A1 and A2. -- Message posted via http://www.officekb.com |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
OK. Thanks again LesG.
Now working fine. -- Message posted via OfficeKB.com http://www.officekb.com/Uwe/Forums.a...excel/200909/1 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
VLOOKUP for 3 Different Worksheets | Excel Worksheet Functions | |||
VLOOKUP in two worksheets | Excel Discussion (Misc queries) | |||
Vlookup across worksheets. | Excel Worksheet Functions | |||
VLOOKUP using two worksheets? | Excel Discussion (Misc queries) | |||
Using vlookup on two worksheets | Excel Worksheet Functions |