Frequency formula

zahid.majid

New Member
Joined
Jun 11, 2010
Messages
15
Dears;
I am facing an issue of FREQUENCY Formula, which is also available in the help of MS EXCEL;
=SUM(IF(FREQUENCY(MATCH(TS!$F$<WBR>4:$F$500,TS!$F$4:$F$500,0),<WBR>MATCH(TS!$F$4:$F$500,TS!$F$4:$<WBR>F$500,0))>0,1))

If i change the array size as 115 instead of 500, then i get some results;
What is the reason and how to rectify?


I need to SUM the frequency for a specific criteria
1) EMP#
2) Project Nature -- 1 (1,2,3,4,5,6,7,8,20)
3) Project codes as sample below
Project Nature Project Code\Name 1 091642061\Zain Opcos – BPM Implementation 20 Weekend 20 018901000\TC Group Management/Quality & Process related Acti

Thanks in advance;
Regards;
_ZM
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
Dear;

From this query suppose we get the result 2;
Now question is, if i want to see the result in the cell, instead of 2, it will give me result as

084276151\Zain Jordan ITS2 & TABS Integration -- Cell A2
091642061\Zain Opcos – BPM Implementation-- drag Cell A3

thanks in advance;
Regards;
_ZM
 
Upvote 0
Dear;

From this query suppose we get the result 2;
Now question is, if i want to see the result in the cell, instead of 2, it will give me result as

084276151\Zain Jordan ITS2 & TABS Integration -- Cell A2
091642061\Zain Opcos – BPM Implementation-- drag Cell A3

thanks in advance;
Regards;
_ZM
What version of Excel are you using?
 
Upvote 0
Dear;

From this query suppose we get the result 2;
Now question is, if i want to see the result in the cell, instead of 2, it will give me result as

084276151\Zain Jordan ITS2 & TABS Integration -- Cell A2
091642061\Zain Opcos – BPM Implementation-- drag Cell A3

thanks in advance;
Regards;
_ZM

If you are on Excel 2007 or later...

In A1 enter: #List#

A2, control+shift+enter and copy down:
Code:
=IFERROR(INDEX(TS!$F$4:$F$500,MODE(IF(TS!$F$4:$F$500<>"",
    IF(TS!$D$4:$D$500=TBC!$B$9,IF(TS!$E$4:$E$500=1,
    IF(ISNA(MATCH(TS!$F$4:$F$500,$A$1:A1,0)),
     MATCH(TS!$F$4:$F$500,TS!$F$4:$F$500,0)*{1,1})))))),"")

Otherwise, on earlier Excel systems/versions:

A1, control+shift+enter:
Code:
=SUM(IF(FREQUENCY(
     IF(TS!$F$4:$F$500<>"",
     IF(TS!$D$4:$D$500=TBC!$B$9,
     IF(TS!$E$4:$E$500=1,
       MATCH(TS!$F$4:$F$500,TS!$F$4:$F$500,0)))),
         ROW(TS!$F$4:$F$500)-ROW(TS!$F$4)+1),1))

which is the earlier formula with the "~"& and &"" bits removed.

A2, control+shift+enter and copy down:
Code:
=IF(ROWS($A$2:A2)<=$A$1,
   INDEX(TS!$F$4:$F$500,MODE(IF(TS!$F$4:$F$500<>"",
    IF(TS!$D$4:$D$500=TBC!$B$9,IF(TS!$E$4:$E$500=1,
    IF(ISNA(MATCH(TS!$F$4:$F$500,$A$1:A1,0)),
     MATCH(TS!$F$4:$F$500,TS!$F$4:$F$500,0)*{1,1})))))),"")
 
Upvote 0
Dears;

My MS EXCEL version is 2010;

Applied the formula and get the results as, only 1,

=IFERROR(INDEX(TS!$F$4:$F$500,MODE(IF(TS!$F$4:$F$500<>"",
IF(TS!$D$4:$D$500=TBC!$B$9,IF(TS!$E$4:$E$500=1,
IF(ISNA(MATCH(TS!$F$4:$F$500,$A$1:A1,0)),
MATCH(TS!$F$4:$F$500,TS!$F$4:$F$500,0)*{1,1})))))),"")

when dragged down more cell, same result display; whereas we found the SUM frequency 2

Result as only 1
091642061\Zain Opcos – BPM Implementation

Desire result should be as the resultant of Frequency 2
091642061\Zain Opcos – BPM Implementation
084276151\Zain Jordan ITS2 & TABS Integration


Thanks;
Regards;
_ZM
 
Upvote 0
Dears;

Let me clarify you in this stage;


In case of earlier & current version the Ouput of the formula is remain same; Only appear 1 project code repeat the same in the next cell as well
<TABLE style="WIDTH: 48pt; BORDER-COLLAPSE: collapse" border=0 cellSpacing=0 cellPadding=0 width=64><COLGROUP><COL style="WIDTH: 48pt" width=64><TBODY><TR style="HEIGHT: 12.75pt; mso-outline-level: 2" height=17><TD style="BORDER-BOTTOM: #f0f0f0; BORDER-LEFT: #f0f0f0; BACKGROUND-COLOR: transparent; WIDTH: 48pt; HEIGHT: 12.75pt; BORDER-TOP: #f0f0f0; BORDER-RIGHT: #f0f0f0" class=xl79 height=17 width=64>
thanks;
Regards;
_ZM


</TD></TR><TR style="HEIGHT: 12.75pt; mso-outline-level: 2" height=17><TD style="BORDER-BOTTOM: #f0f0f0; BORDER-LEFT: #f0f0f0; BACKGROUND-COLOR: transparent; HEIGHT: 12.75pt; BORDER-TOP: #f0f0f0; BORDER-RIGHT: #f0f0f0" class=xl79 height=17>


</TD></TR></TBODY></TABLE>
 
Upvote 0
Dears;

My MS EXCEL version is 2010;

Applied the formula and get the results as, only 1,

=IFERROR(INDEX(TS!$F$4:$F$500,MODE(IF(TS!$F$4:$F$500<>"",
IF(TS!$D$4:$D$500=TBC!$B$9,IF(TS!$E$4:$E$500=1,
IF(ISNA(MATCH(TS!$F$4:$F$500,$A$1:A1,0)),
MATCH(TS!$F$4:$F$500,TS!$F$4:$F$500,0)*{1,1})))))),"")

when dragged down more cell, same result display; whereas we found the SUM frequency 2

Result as only 1
091642061\Zain Opcos – BPM Implementation

Desire result should be as the resultant of Frequency 2
091642061\Zain Opcos – BPM Implementation
084276151\Zain Jordan ITS2 & TABS Integration


Thanks;
Regards;
_ZM

Did you apply control+shift+enter?
 
Upvote 0
Dears;

Follow the same instruction as you said;
Let me do it again before clicking the send button;

sorry for all inconvenience;
it's totally my mistake, yes i confirmed your formula got the desired results;

Really great efforts exerted you & your team in the resolution of the issue;

Thanks again;
Regards;
_ZM
:)
 
Upvote 0
Dears;

Follow the same instruction as you said;
Let me do it again before clicking the send button;

sorry for all inconvenience;
it's totally my mistake, yes i confirmed your formula got the desired results;

Really great efforts exerted you & your team in the resolution of the issue;

Thanks again;
Regards;
_ZM
:)

You are welcome.
 
Upvote 0

Forum statistics

Threads
1,224,587
Messages
6,179,740
Members
452,940
Latest member
Lawrenceiow

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