Return each unique value for a single criteria

Emma Eve

New Member
Joined
Jan 24, 2018
Messages
20
Hello.

I have a spreadsheet that contains multiple documents some of which are duplicates. The vast majority of the time the duplicates have different dollar amounts. However, after applying an INDEX/MATCH, the formula returns the fist dollar value it reads and applies that amount to all duplicates. Is there a way to return each unique dollar value for the duplicated document number? For example:

Doc NumberDollar AmountsAmount - My results after INDEX/MATCHAmount - Desired Results
DOCX111100010001000
DOCX111200010002000
DOCX111300010003000
DOCX111400010004000

<tbody>
</tbody>


Thank you!
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
Maybe something like this array formula.

This formula must be enter with
Excel Workbook
AB
1NumberDollar Amounts
2DOCX1111000
3DOCX1112000
4DOCX1121200
5DOCX1113000
6DOCX1114000
7DOCX1121500
8
9
10
11
12Number:DOCX111
13Amounts1000
142000
153000
164000
17
CTRL-SHIFT-ENTER.
 
Upvote 0
I was just ready to reply in a (much) more clunky manner. Thanks - I love learning better approaches!
 
Upvote 0
Thank you, AhoyNC. Is it possible for the unique results to appear next to each identical doc. number as they appear in column A?
 
Upvote 0
Yes, You could do something like this (not sure what your actual layout looks like).
Formula needs to be entered with CTRL-SHIFT-ENTER.
Then drag down column as needed.
Excel Workbook
AB
1NumberDollar Amounts
2DOCX1111000
3DOCX1112000
4DOCX1121200
5DOCX1113000
6DOCX1114000
7DOCX1121500
8
9
10
11NumberDollar Amounts
12DOCX1111000
13DOCX1112000
14DOCX1113000
15DOCX1114000
16DOCX1121200
17DOCX1121500
Sheet
 
Upvote 0

Forum statistics

Threads
1,215,064
Messages
6,122,939
Members
449,094
Latest member
teemeren

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top