Look up to Duplicate cells and return the sum total of each unique duplicate cell

dhome

New Member
Joined
Dec 28, 2016
Messages
47
Good afternoon to everyone,

I hope your all getting used to the new normal while we try to counteract COVID19.

I have two sheets

Here is a small summary of my data set

Sheet 1 - My lookup is in column A 0054 and my formula is in column F - 137.70

Sheet 2 - is the table array with duplicate values Column A:B

I would like a formula to lookup and sum duplicate reference numbers so sheet A in this example ref 0054 would agree to the total of 497.70 and would pull that amount into the cell and not 137.70



Sheet 1
0054497.708/09/2020CLAIRE137.7CHECK



Sheet 2

0054137.7Sales PaymentFaststat Limited
497.7​
check
0054360Sales PaymentSKS
497.7​
check


Thank you for your help
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
In that case I'm not sure why it's not working for you.
Are the values in col A exact matches?
 
Upvote 0
Unfortunately I'm not sure what to suggest, as you can see in post#8 the formula works for me.
 
Upvote 0
Hi

This is the top three rows of the results of the formula you can see these are all single unique ref 33.34.35 but the result is zero for all id expect 612,253.30 and 2841

01/09/2020H JENKINSON & CO, ADBOARDS LTD923 - BANK TRANSFER - CREDIT3361208/09/2020CLAIRE0CHECK
01/09/2020ALLSORTS OFF LTD, ALLSORTS923 - BANK TRANSFER - CREDIT34253.308/09/2020CLAIRE0CHECK
01/09/2020HAMPSHIRE COUNTY C, 1000 9705139547 K923 - BANK TRANSFER - CREDIT35284108/09/2020CLAIRE0CHECK
 
Upvote 0
Hi

I have fixed that the next problem is this: the formula is bringing in the same figure for the next reference down and ref 55 should be 1843.52 not 497.70.

Sheet 1
54497.708/09/2020CLAIRE497.7
551843.5208/09/2020CLAIRE497.7


Sheet 2

54137.70Sales PaymentFaststat Limited
497.7​
54360.00Sales PaymentSKS
497.7​
551843.52Sales PaymentOffice Friends Essentials Ltd
1843.52​
 
Upvote 0
Which is exactly what the the formula does
+Fluff v2.xlsm
ABCDEF
1
254497.708/09/2020CLAIRE497.7
3551843.5208/09/2020CLAIRE1843.52
Sheet1
Cell Formulas
RangeFormula
F2:F3F2=SUMIFS(Sheet2!B:B,Sheet2!A:A,A2)
 
Upvote 0
Hi,

My mistake earlier as this is the formula that works - which was your formula

=SUMIFS('Nominal Download'!H:H,'Nominal Download'!G:G,'Nominal Download'!G2) however it does not work when duplicates appear

My sheet 1 just has sequential numbers sheet 2 has the duplicates

551843.5208/09/2020CLAIRE497.7
56330.3608/09/2020CLAIRE1843.52
 
Upvote 0
Hi

Sorry to bother you and THANK YOU for your help previous are you able to assist as per above

Thank you
 
Upvote 0

Forum statistics

Threads
1,215,453
Messages
6,124,920
Members
449,195
Latest member
Stevenciu

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