Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 67
Default Frequency Question

I am trying to count the unique numbers in COlumn B where the value in Column
A=6. I have figured out how to find the number of unique values in all of
Column B but not where the value in Column A=6. Any suggestions appreciated.

=SUM(IF(FREQUENCY(Log!$B$1:$B$25,Log!$B$1:$B$25)0 ,1))


(A) (B) (C)
5 001
5 002
5 002
5 003
6 004
6 005
6 005
7
7 006
8 007
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Frequency Question

Try this:

=SUMPRODUCT((A1:A10=6)/COUNTIF(B1:B10,B1:B10&""))


"Bigfoot17" wrote:

I am trying to count the unique numbers in COlumn B where the value in Column
A=6. I have figured out how to find the number of unique values in all of
Column B but not where the value in Column A=6. Any suggestions appreciated.

=SUM(IF(FREQUENCY(Log!$B$1:$B$25,Log!$B$1:$B$25)0 ,1))


(A) (B) (C)
5 001
5 002
5 002
5 003
6 004
6 005
6 005
7
7 006
8 007

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Frequency Question

Ignore my earlier reply. It doesn't give you correct result

Try this one.

=SUM(N(FREQUENCY(IF(A1:A10=6,MATCH(B1:B10&"",B1:B1 0&"",0)),MATCH(B1:B10&"",B1:B10&"",0))0))

ctrl+shift+enter, not just enter


"Bigfoot17" wrote:

I am trying to count the unique numbers in COlumn B where the value in Column
A=6. I have figured out how to find the number of unique values in all of
Column B but not where the value in Column A=6. Any suggestions appreciated.

=SUM(IF(FREQUENCY(Log!$B$1:$B$25,Log!$B$1:$B$25)0 ,1))


(A) (B) (C)
5 001
5 002
5 002
5 003
6 004
6 005
6 005
7
7 006
8 007

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 67
Default Frequency Question

I was trying to edit my post because I sent it too soon. But thank you for
the reply - I have implemented it and it worked the way I needed, May I
follow up on this?

[1] While it worked it had a few things I need to understand "Why it Worked"
*Why the "N"?
*Why &""?
[2] How would I add another criteria such as in the month of Column C?
*(MONTH(Log!$C$1:$C$10)=9)*1?
(A) (B) (C)
5 001 9/29/08
5 002 9/28/08
5 002 8/15/08
5 003 8/19/08
6 004 9/27/08
6 005 9/27/08
6 005 9/27/08
7 9/27/08
7 006 9/28/08
8 007 8/15/08

Thanks so much for the help!

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,572
Default Frequency Question

Try this *array* formula for 2 variables:

=COUNT(1/FREQUENCY(IF((A1:A10=6)*(MONTH(C1:C10)=9),MATCH(B1 :B10&"",B1:B10&"",0)),ROW(1:10)))

--
Array formulas are entered using CSE, <Ctrl <Shift <Enter, instead of the
regular <Enter, which will *automatically* enclose the formula in curly
brackets, which *cannot* be done manually. Also, CSE *must* be used when
revising the formula.

--

HTH,

RD
================================================== ===
Please keep all correspondence within the Group, so all may benefit!
================================================== ===

"Bigfoot17" wrote in message
...
I was trying to edit my post because I sent it too soon. But thank you for
the reply - I have implemented it and it worked the way I needed, May I
follow up on this?

[1] While it worked it had a few things I need to understand "Why it Worked"
*Why the "N"?
*Why &""?
[2] How would I add another criteria such as in the month of Column C?
*(MONTH(Log!$C$1:$C$10)=9)*1?
(A) (B) (C)
5 001 9/29/08
5 002 9/28/08
5 002 8/15/08
5 003 8/19/08
6 004 9/27/08
6 005 9/27/08
6 005 9/27/08
7 9/27/08
7 006 9/28/08
8 007 8/15/08

Thanks so much for the help!




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 67
Default Frequency Question

I having some problems applying the formula you suggest, it seems to get hung
on the ROW portion. Here is what my formula looks like (I am compounding it
by trying to enter the formula on one sheet and pull data from the "Log" tab
and the month to be checked for from the Sheet1 tab.
=count(1/FREQUENCY(IF((Log!$A$6:$A$500=I4)*(Month(Log!$E6:$ E500)=Sheet1!$F$2,MATCH(Log!$B$6:$B$500&"",Log!$B$ 6:$B$500&"",0,(ROW 6:500)))
(Log1!ROW 6:500) is not accepted either.

Any guidance is very much appreciated.

"RagDyeR" wrote:

Try this *array* formula for 2 variables:

=COUNT(1/FREQUENCY(IF((A1:A10=6)*(MONTH(C1:C10)=9),MATCH(B1 :B10&"",B1:B10&"",0)),ROW(1:10)))

--
Array formulas are entered using CSE, <Ctrl <Shift <Enter, instead of the
regular <Enter, which will *automatically* enclose the formula in curly
brackets, which *cannot* be done manually. Also, CSE *must* be used when
revising the formula.

--

HTH,

RD
================================================== ===
Please keep all correspondence within the Group, so all may benefit!
================================================== ===

"Bigfoot17" wrote in message
...
I was trying to edit my post because I sent it too soon. But thank you for
the reply - I have implemented it and it worked the way I needed, May I
follow up on this?

[1] While it worked it had a few things I need to understand "Why it Worked"
*Why the "N"?
*Why &""?
[2] How would I add another criteria such as in the month of Column C?
*(MONTH(Log!$C$1:$C$10)=9)*1?
(A) (B) (C)
5 001 9/29/08
5 002 9/28/08
5 002 8/15/08
5 003 8/19/08
6 004 9/27/08
6 005 9/27/08
6 005 9/27/08
7 9/27/08
7 006 9/28/08
8 007 8/15/08

Thanks so much for the help!



  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,572
Default Frequency Question

Try:
Row(1:495)

Which represents the number of rows in the array, *not* the location.
--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Bigfoot17" wrote in message
...
I having some problems applying the formula you suggest, it seems to get
hung
on the ROW portion. Here is what my formula looks like (I am compounding
it
by trying to enter the formula on one sheet and pull data from the "Log"
tab
and the month to be checked for from the Sheet1 tab.
=count(1/FREQUENCY(IF((Log!$A$6:$A$500=I4)*(Month(Log!$E6:$ E500)=Sheet1!$F$2,MATCH(Log!$B$6:$B$500&"",Log!$B$ 6:$B$500&"",0,(ROW
6:500)))
(Log1!ROW 6:500) is not accepted either.

Any guidance is very much appreciated.

"RagDyeR" wrote:

Try this *array* formula for 2 variables:

=COUNT(1/FREQUENCY(IF((A1:A10=6)*(MONTH(C1:C10)=9),MATCH(B1 :B10&"",B1:B10&"",0)),ROW(1:10)))

--
Array formulas are entered using CSE, <Ctrl <Shift <Enter, instead of
the
regular <Enter, which will *automatically* enclose the formula in curly
brackets, which *cannot* be done manually. Also, CSE *must* be used when
revising the formula.

--

HTH,

RD
================================================== ===
Please keep all correspondence within the Group, so all may benefit!
================================================== ===

"Bigfoot17" wrote in message
...
I was trying to edit my post because I sent it too soon. But thank you
for
the reply - I have implemented it and it worked the way I needed, May I
follow up on this?

[1] While it worked it had a few things I need to understand "Why it
Worked"
*Why the "N"?
*Why &""?
[2] How would I add another criteria such as in the month of Column C?
*(MONTH(Log!$C$1:$C$10)=9)*1?
(A) (B) (C)
5 001 9/29/08
5 002 9/28/08
5 002 8/15/08
5 003 8/19/08
6 004 9/27/08
6 005 9/27/08
6 005 9/27/08
7 9/27/08
7 006 9/28/08
8 007 8/15/08

Thanks so much for the help!





Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Small,Frequency question Sorority Girl Excel Discussion (Misc queries) 1 May 19th 08 04:41 AM
Frequency Function question kalhoun Excel Worksheet Functions 3 October 18th 06 06:58 PM
Frequency Question -- Please Help Rothman Excel Discussion (Misc queries) 2 March 9th 06 07:21 PM
histograms - frequency and relative frequency? confusedstudent Excel Discussion (Misc queries) 2 February 8th 06 08:20 AM
frequency sara Excel Discussion (Misc queries) 1 April 5th 05 08:15 PM


All times are GMT +1. The time now is 08:43 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"