=count(if(frequency

xxsalahxx

Active Member
Joined
Jun 25, 2011
Messages
316
Office Version
  1. 2007
Hello, I'm using this formula below so I don't count duplicates, however, I would like to add to this if possible.... if a number is showing in column B and Column C and a date is showing in column D then count how many times. Is there a way around this? I do need to count the duplicated in columns B & C & D.

=COUNT(IF(FREQUENCY('4a6'!A2:A1000,'4a6'!A2:A1000),'4a6'!A2:A1000))

Thank you for any help you can give to me
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
To count the unique values in Column A, where the corresponding values in Column B and Column C contain a number, and the corresponding value in Column D contains a date, try...

Code:
=SUM(IF(FREQUENCY(IF(ISNUMBER(B2:B1000),IF(ISNUMBER(C2:C1000),IF(ISNUMBER(D2:D1000),A2:A1000))),A2:A1000)>0,1))

...confirmed with CONTROL+SHIFT+ENTER.

Hope this helps!
 
Upvote 0
Thank you I will give this a try, fingers crossed!
Your time is much appreciated


To count the unique values in Column A, where the corresponding values in Column B and Column C contain a number, and the corresponding value in Column D contains a date, try...

Code:
=SUM(IF(FREQUENCY(IF(ISNUMBER(B2:B1000),IF(ISNUMBER(C2:C1000),IF(ISNUMBER(D2:D1000),A2:A1000))),A2:A1000)>0,1))

...confirmed with CONTROL+SHIFT+ENTER.

Hope this helps!
 
Upvote 0

Forum statistics

Threads
1,215,071
Messages
6,122,963
Members
449,094
Latest member
Anshu121

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