Non Blank Matches

L

Legacy 436357

Guest
Hello,

Is there a formula to retrieve non blank matches in column D?

Thank you

Excel Workbook
ABCD
1IDSales OrderUnique IDsSales Order
21010matching Sales Order Numbers
3105020matching Sales Order Numbers
410 matching Sales Order Numbers
520 matching Sales Order Numbers
620 matching Sales Order Numbers
720100 matching Sales Order Numbers
820 matching Sales Order Numbers
920 matching Sales Order Numbers
1020 matching Sales Order Numbers
Sheet3
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
What are the desired result in this situation?
50 in D2 (ok)
100 in D3 beside 15 (???)
Empty beside 20 (???)

M.
 
Upvote 0
Desired results:

50 in D2
100 in D3
rest of column D blank

Column C will be hidden
 
Last edited by a moderator:
Upvote 0
I would change the array formula in C2 to
=IFERROR(INDEX($A$2:$A$11,MATCH(0,--(SUMIF($A$2:$A$11,$A$2:$A$11,$B$2:$B$11)=0)+COUNTIF($C$1:C1,$A$2:$A$11),0)),"")
Ctrl+Shift+Enter
copy down

D2 copied down (post 2)
=IF(C2="","",SUMIF($A$2:$A$11,C2,$B$2:$B$11))

M.
 
Upvote 0

Forum statistics

Threads
1,224,825
Messages
6,181,189
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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