=FREQUENCY: It doesn't count duplicates?

danhendo888

Board Regular
Joined
Jul 15, 2019
Messages
154
Office Version
  1. 365
Platform
  1. Windows
[FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]

Book1
ABC
1Date of Payment
21-Jul=FREQUENCY(A2:A6,A2:A6)
31-Jul={2;0;2;0;1;0}
44-Jul
54-Jul
62-Jul
Sheet3


[/FONT]
C2 is the formula I am using to count the number of times the dates appear in Column A.
C3 is what I see when I hit F9 on C2 while in Edit mode.

Looking at the first two numbers in

={2;0;2;0;1;0}

The 2 is telling us that 1-Jul appears twice
The 0 is not counting the 1-Jul again because it already gave us the 2.
Is this the correct way to interpret the first two numbers?

What is the very last 0 for?
I have five dates but the FREQUENCY formula produces 6 numbers.
<strike></strike>
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
Hi,

So Frequency is used for finding the number of entries in a bin array below link would give an example and other details. Bin array ideally would not contain duplicates. If Frequency is used in the way you are using then you are right first entry will tell how many entries are in the same bucket and second will show 0 as it counted it earlier. Frequency always shows 1 more than the bins to account for the value greater than the given bins.

https://support.office.com/en-us/article/frequency-function-44e3be2b-eca0-42cd-a3f7-fd9ea898fdb9

If you need more info on FREQUENCY refer to Mike "excelisfun" Girvin's video:
https://www.youtube.com/watch?v=uUrI8hoj8BA
 
Upvote 0

Forum statistics

Threads
1,216,404
Messages
6,130,376
Members
449,578
Latest member
TT123

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