How to get unique values from Countifs funcation

petes

Board Regular
Joined
Sep 12, 2009
Messages
168
Name (A Column)Marks (B Column)
John3
John3
John2

The above is my data and have used the following formula. The formula should give the result as "1" instead of "2". Because, John is having same marks in 2 rows. Let me know how to tweak this formula

John (E column)=COUNTIFS(A1:A3,E1,B1:B3,">2")
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
@petes
Please do not mark a post as the solution unless it does actually contain the solution to your original post. Clearly post #11 does not contain a solution so I have removed the 'Mark as solution' from that post.
.. and you still have not acted on that request. :(
 
Upvote 0

Forum statistics

Threads
1,223,234
Messages
6,170,891
Members
452,366
Latest member
TePunaBloke

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