=count(if(frequency

xxsalahxx

Active Member
Joined
Jun 25, 2011
Messages
320
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

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
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,224,823
Messages
6,181,180
Members
453,021
Latest member
Justyna P

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