Formula that would allow me to calculate the sum of a column while skipping out the duplicate values in another column

tonilrt

New Member
Joined
Sep 22, 2020
Messages
7
Office Version
  1. 2010
Platform
  1. Windows
Hi. I'm trying to find a formula that would allow me to calculate the sum of column b while skipping out the duplicate values in column a? In this example, the total would only be 519,750 since the last row repeats the DR-001144 from the first row.

DR-001144173,250.00
DR-001148173,250.00
DR-001146173,250.00
DR-001144173,250.00
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
try,
Book1
AB
1DR-001144173,250.00
2DR-001148173,250.00
3DR-001146173,250.00
4DR-001144173,250.00
5DR-001146173,250.00
6DR-001146173,250.00
7DR-001144173,250.00
8DR-001146173,250.00
9DR-001147173,250.00
10693000
Sheet2
Cell Formulas
RangeFormula
B10B10=SUMPRODUCT(1/COUNTIF(A1:A9,A1:A9&""),B1:B9)
 
Upvote 0
try,
Book1
AB
1DR-001144173,250.00
2DR-001148173,250.00
3DR-001146173,250.00
4DR-001144173,250.00
5DR-001146173,250.00
6DR-001146173,250.00
7DR-001144173,250.00
8DR-001146173,250.00
9DR-001147173,250.00
10693000
Sheet2
Cell Formulas
RangeFormula
B10B10=SUMPRODUCT(1/COUNTIF(A1:A9,A1:A9&""),B1:B9)
Thank you so much!
 
Upvote 0

Forum statistics

Threads
1,216,045
Messages
6,128,477
Members
449,455
Latest member
jesski

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