countifs and also unique value

VbaHell

Well-known Member
Joined
Jan 30, 2011
Messages
1,220
Hello all

I am trying to use a countifs statement to count the number of lines that match a date but i want to also include only unique lines.

[=COUNTIFS(Data!Q:Q,C6)]

This is the countifs statement in cell "E6"

I also want to add the unique count to this formula which is in [Data!V:V] which is TEXT

As an example

01/01/2019 text1
01/01/2019 text2
01/01/2019 text3
01/01/2019 text1

The count answer in "D6" would be 3 not 4

I have in cell "C6" onwards the date starting at 01/01/2019
Next row "C7" 02/01/2019
Next Row "C8" 03/01/2019 and so on.
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
Hello,

Unfortunately ... your explanation is very confusing ...

What is in Column C, in Column D, in Column E, in Column Q, in Column V ...?
 
Upvote 0

Forum statistics

Threads
1,223,705
Messages
6,173,986
Members
452,541
Latest member
haasro02

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