Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Charlene79
 
Posts: n/a
Default Looking up value that has two comparison values


Example:

Item # Pieces Amount
1973-M 48 3472
1973-M 100 4694
1974-N 48 3200

I need to match the Item # and Pieces to the Item # and Pieces in a
separate sheet and post the Amount. As you can see the Item #'s can
repeat as well as the Pieces. I am not sure what type of function to
use as the simple VLookup will not work since there are two criteria.

Thanks!


--
Charlene79
------------------------------------------------------------------------
Charlene79's Profile: http://www.excelforum.com/member.php...o&userid=35230
View this thread: http://www.excelforum.com/showthread...hreadid=550073

  #2   Report Post  
Posted to microsoft.public.excel.misc
Toppers
 
Posts: n/a
Default Looking up value that has two comparison values

Try:

=SUMPRODUCT(--(A1:A100=Sheet2!item #),--(B1:B100=Sheet2!Pieces),C1:C100)

whete item# and pieces are cells in Sheet2


SUMPRODUCT must a range: it cannot be a column i.e A:A is invalid.

HTH

"Charlene79" wrote:


Example:

Item # Pieces Amount
1973-M 48 3472
1973-M 100 4694
1974-N 48 3200

I need to match the Item # and Pieces to the Item # and Pieces in a
separate sheet and post the Amount. As you can see the Item #'s can
repeat as well as the Pieces. I am not sure what type of function to
use as the simple VLookup will not work since there are two criteria.

Thanks!


--
Charlene79
------------------------------------------------------------------------
Charlene79's Profile: http://www.excelforum.com/member.php...o&userid=35230
View this thread: http://www.excelforum.com/showthread...hreadid=550073


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
Using Match function with duplicate values in an array Richard Excel Worksheet Functions 3 April 22nd 23 07:45 PM
How do I lookup data with two comparison values? Tiziano Excel Worksheet Functions 9 December 3rd 05 05:15 AM
Count Intervals of 2 Consecutive Values in same Row and Return Count across Row Sam via OfficeKB.com Excel Worksheet Functions 6 November 29th 05 03:27 PM
I Need a formula to evaluate a cell with + or - values Bob in Oklahoma Excel Worksheet Functions 6 October 31st 05 02:41 PM
#N/A Values : Returned by Formulas vs Entered Manually monir Charts and Charting in Excel 8 July 7th 05 01:16 AM


All times are GMT +1. The time now is 07:15 PM.

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

About Us

"It's about Microsoft Excel"