Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 709
Default Using Vlookup to bring over a subtotal

Hi,

I have a spreadsheet that contains a list of part numbers and their quantity
on hand at different locations. When I use Vlookup for the quantity on hand,
it returns only the first location in the list. It doesn't bring the total
for all locations. I would like to lookup each part number's total quantity
on hand. A total of all the locations for each part number. Can Vlookup do
this or do I have to use another function?


Thank You,

Richard
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Using Vlookup to bring over a subtotal

=sumif([Book2.xls]Sheet1!A:A,F12,[Book2.xls]Sheet1!C:C)

where F12 holds the part number to sum . Column C in your data table
contains the quantity and column A, the part numbers.

--
Regards,
Tom Ogilvy


"Richard" wrote:

Hi,

I have a spreadsheet that contains a list of part numbers and their quantity
on hand at different locations. When I use Vlookup for the quantity on hand,
it returns only the first location in the list. It doesn't bring the total
for all locations. I would like to lookup each part number's total quantity
on hand. A total of all the locations for each part number. Can Vlookup do
this or do I have to use another function?


Thank You,

Richard

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 to bring in not true data. Sarita Excel Discussion (Misc queries) 3 April 29th 10 07:05 AM
Vlookup, Bring up certain Info. only??? Dave Excel Discussion (Misc queries) 1 December 5th 08 04:54 PM
Vlookup, Can I only have it bring up a transactions once? Dave Excel Discussion (Misc queries) 2 December 4th 08 09:24 PM
copy subtotal value only, subtotal value can be vlookup by others BB Excel Discussion (Misc queries) 1 June 28th 06 11:10 PM
Can you use a vlookup to bring in a picture? Marlsnz Excel Discussion (Misc queries) 1 June 2nd 06 01:59 AM


All times are GMT +1. The time now is 03:24 PM.

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"