Summing values in one column only once if the correspond to duplicate values in another column

Zazie37b

New Member
Joined
Feb 4, 2021
Messages
1
Office Version
  1. 2011
Platform
  1. MacOS
Hi all, I am looking for some help with a spreadsheet for work (see attached an example with fake names). I have a list of Client Codes that are repeated multiple times in column A. Each client has multiple jobs with deadlines in Feb 21. I want to be able to count both the number of jobs I have in a month (this is easy to do) but also how many clients I am working on in a month.
Basically I want to count the number "1" only the first instance it appears for a client code. In my example the result I am looking for is "6".
I hope this makes sense. Thank you!
 

Attachments

  • Example.png
    Example.png
    65.2 KB · Views: 52

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
Hi Dear,

Based on your Office version, please try the following formula:
=SUMPRODUCT(1/COUNTIF($B$2:$B$25, $B$2:$B$25))

Regards
 
Upvote 0

Forum statistics

Threads
1,214,827
Messages
6,121,818
Members
449,049
Latest member
cybersurfer5000

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