Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 31
Default Vlookup in 3 worksheets

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default Vlookup in 3 worksheets

=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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default Vlookup in 3 worksheets

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 31
Default Vlookup in 3 worksheets

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 31
Default Vlookup in 3 worksheets

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
VLOOKUP for 3 Different Worksheets Toria Excel Worksheet Functions 2 March 19th 08 01:16 AM
VLOOKUP in two worksheets Silena K-K Excel Discussion (Misc queries) 2 January 25th 08 02:41 AM
Vlookup across worksheets. Tia Excel Worksheet Functions 3 September 17th 07 10:39 PM
VLOOKUP using two worksheets? Rich K. Excel Discussion (Misc queries) 1 August 18th 07 11:04 AM
Using vlookup on two worksheets Steven Robilard Excel Worksheet Functions 5 February 14th 05 11:59 PM


All times are GMT +1. The time now is 11:26 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"