Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Can excel sum a vlookup value and return the difference?

Please help, I am looking to create an inventory worksheet that I need a
vlookup formula for a value across multiple worksheets and sum the difference
of the returned values for that specific argument.

EX)
Lookup piece 12345 and the piece 12345 appears in multiple cells in two
other worksheets. How do I sum the difference of all the value additions
minus subtractions and return in a specific column with a formula.

Any help you can give is greatly appreciated.

Regards,
Christine


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Can excel sum a vlookup value and return the difference?

=sumif(Sheet1!A:A,"12345",Sheet1!B:B)+Sumif(Sheet2 !A:A,"12345",Sheet2!B:B)

assumes the values you want to subtract are negative values. Sums
corresponding values found in column B for cells in column A containing
12345. Adjust to match you actual ranges.

--
Regards,
Tom Ogilvy



"CV0613" wrote:

Please help, I am looking to create an inventory worksheet that I need a
vlookup formula for a value across multiple worksheets and sum the difference
of the returned values for that specific argument.

EX)
Lookup piece 12345 and the piece 12345 appears in multiple cells in two
other worksheets. How do I sum the difference of all the value additions
minus subtractions and return in a specific column with a formula.

Any help you can give is greatly appreciated.

Regards,
Christine


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 with difference between two data Deen Excel Discussion (Misc queries) 0 April 9th 10 05:34 AM
Vlookup with a difference Leanne M (Aussie) Excel Worksheet Functions 1 June 4th 08 12:01 PM
Vlookup -Difference between 2 versions Ed Excel Worksheet Functions 1 January 13th 08 04:41 PM
Excel 2000 VLOOKUP returns #N/A unless press F2 return on source? Colin Excel Worksheet Functions 3 August 31st 05 01:10 PM
VBA Syntax for VLOOKUP to return array of return values Alan Beban[_3_] Excel Programming 7 August 5th 03 11:41 AM


All times are GMT +1. The time now is 02:10 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"