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

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
You can also check the possibility of a pivot table; it creates the unique IDs and their corresponding Sums in aumatmatic.


e75ef7d1eaaf7cdc2c5c078b39576508.jpg
 
Upvote 0
What if from the unique values in column C there aren't any matches in column B?

In this case column D will have some blanks.

Can the formula adjust for that?
 
Upvote 0
What if from the unique values in column C there aren't any matches in column B?

In this case column D will have some blanks.

Can the formula adjust for that?

In this case the formula returns 0, not blank. Is it Ok?

M.
 
Upvote 0
I would rather have the column C sorted so that column D have all the values starting in D2. I will be hiding column C for this worksheet.

Thank you so much
 
Upvote 0
Marcelo,

Can column D have the values starting at cell D2 so there aren't blanks in the range? I provided a small sample of data.
 
Upvote 0
Using your data sample: formula in post 2 does it


[Table="class: grid"][tr][td="bgcolor: #DCE6F1"][/td][td="bgcolor: #DCE6F1"]
A
[/td][td="bgcolor: #DCE6F1"]
B
[/td][td="bgcolor: #DCE6F1"]
C
[/td][td="bgcolor: #DCE6F1"]
D
[/td][/tr]
[tr][td="bgcolor: #DCE6F1"]
1
[/td][td]
ID​
[/td][td]
Sales Order​
[/td][td]
Unique IDs​
[/td][td]
Sales Order​
[/td][/tr]

[tr][td="bgcolor: #DCE6F1"]
2
[/td][td]
10​
[/td][td][/td][td]
10​
[/td][td]
50​
[/td][/tr]

[tr][td="bgcolor: #DCE6F1"]
3
[/td][td]
10​
[/td][td]
50​
[/td][td]
20​
[/td][td]
100​
[/td][/tr]

[tr][td="bgcolor: #DCE6F1"]
4
[/td][td]
10​
[/td][td][/td][td][/td][td][/td][/tr]

[tr][td="bgcolor: #DCE6F1"]
5
[/td][td]
20​
[/td][td][/td][td][/td][td][/td][/tr]

[tr][td="bgcolor: #DCE6F1"]
6
[/td][td]
20​
[/td][td][/td][td][/td][td][/td][/tr]

[tr][td="bgcolor: #DCE6F1"]
7
[/td][td]
20​
[/td][td]
100​
[/td][td][/td][td][/td][/tr]

[tr][td="bgcolor: #DCE6F1"]
8
[/td][td]
20​
[/td][td][/td][td][/td][td][/td][/tr]

[tr][td="bgcolor: #DCE6F1"]
9
[/td][td]
20​
[/td][td][/td][td][/td][td][/td][/tr]

[tr][td="bgcolor: #DCE6F1"]
10
[/td][td]
20​
[/td][td][/td][td][/td][td][/td][/tr]
[/table]


Formula in D2 copied down
=IF(C2="","",SUMIF(A:A,C2,B:B))

M.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
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