Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JHL JHL is offline
external usenet poster
 
Posts: 56
Default Look up duplicate amounts with unique batch numbers

I have two lists in separate spreadsheets, illustrated below. How do I find
a match using the Amount1 field as the key, and match to the second list with
the correct batch number? Both lists are unequal in the number of records.

Thanks for any help.

Amount Batch Number Amount1 (key)
3.45 8123953001 3.45
3.88 8123971001 3.88
4.40 8123872001 4.40
4.43 8123A42001 4.43
4.45 8123970001 4.45
5.03 8123681001 5.03
5.15 8123839001 5.15
5.49 8123571001 5.49
5.49 8123803001 5.49
5.49 8123804001 5.49
5.49 8123983001 5.49
5.49 8123A52001 5.49

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Look up duplicate amounts with unique batch numbers

assuming your data are in Sheet 1 and the 'Amount 1 (key' value are in A2
down on another sheet put this in b2 and drag down

VLOOKUP(A2,Sheet1!$A$2:$B$13,2,FALSE)

Mike

"JHL" wrote:

I have two lists in separate spreadsheets, illustrated below. How do I find
a match using the Amount1 field as the key, and match to the second list with
the correct batch number? Both lists are unequal in the number of records.

Thanks for any help.

Amount Batch Number Amount1 (key)
3.45 8123953001 3.45
3.88 8123971001 3.88
4.40 8123872001 4.40
4.43 8123A42001 4.43
4.45 8123970001 4.45
5.03 8123681001 5.03
5.15 8123839001 5.15
5.49 8123571001 5.49
5.49 8123803001 5.49
5.49 8123804001 5.49
5.49 8123983001 5.49
5.49 8123A52001 5.49

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JHL JHL is offline
external usenet poster
 
Posts: 56
Default Look up duplicate amounts with unique batch numbers

Mike H, thanks for the reply. However, I had already tried this. The
problem is it doesn't recognize the other batches with the duplicate amount
for 5.49. Vlookup will only match the first batch and repeat that reference
for the other 5.49 items.

"Mike H" wrote:

assuming your data are in Sheet 1 and the 'Amount 1 (key' value are in A2
down on another sheet put this in b2 and drag down

VLOOKUP(A2,Sheet1!$A$2:$B$13,2,FALSE)

Mike

"JHL" wrote:

I have two lists in separate spreadsheets, illustrated below. How do I find
a match using the Amount1 field as the key, and match to the second list with
the correct batch number? Both lists are unequal in the number of records.

Thanks for any help.

Amount Batch Number Amount1 (key)
3.45 8123953001 3.45
3.88 8123971001 3.88
4.40 8123872001 4.40
4.43 8123A42001 4.43
4.45 8123970001 4.45
5.03 8123681001 5.03
5.15 8123839001 5.15
5.49 8123571001 5.49
5.49 8123803001 5.49
5.49 8123804001 5.49
5.49 8123983001 5.49
5.49 8123A52001 5.49

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,388
Default Look up duplicate amounts with unique batch numbers

Hi,
The Lookup value has to be from a list of unique data.
When your lookup value is 5.49, which batch number do you actually want
returned?
Also, something I didn't understand from your original post, You said you
had 2 lists in separate spreadsheets, but your data is arranged in 3 lists
(Amount, Batch Number, Amount 1)
Regards - Dave.



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
Filtering Duplicate Data to obtain Unique record EricB Excel Worksheet Functions 8 May 8th 07 07:54 AM
Duplicate and unique items in 2 lists Vince Excel Discussion (Misc queries) 1 August 23rd 06 07:19 AM
how to get word amounts from numbers in cels DONPITO Excel Discussion (Misc queries) 2 September 5th 05 11:05 PM
Unique and duplicate data between 2 Excel worksheets Greg Excel Worksheet Functions 0 August 9th 05 12:03 AM
In column A I have duplicate records. How do I tag an unique reco. Tian Excel Discussion (Misc queries) 2 January 13th 05 07:37 PM


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