Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default frequency function and list features

I am trying to look at frequency distributions of results of medical tests. I
have downloaded many thousands of results for approximately 15 different
medical tests to an Excel file.

Following this, I have set up the frequency function to separate the data
into bins, and set up a list so that I can select one test at a time.

Unfortunately, I can't find any way to make the frequency function use just
the data displayed in my list, rather than all rows. Is there any way to
achieve what I want to do?

Many thanks.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 698
Default frequency function and list features

See if this example helps:

With A1:B19 containing this list:
Test Value
A 1
A 3
A 5
A 7
A 9
A 11
A 13
A 15
A 17
B 1
B 2
B 3
B 4
B 5
B 6
B 7
B 8
B 9

D1: ( a test to calc frequencies for....eg A )
B1: Freq

And....E1:E5 containing this list:
Bins
5
10
15
20

Try this ARRAY FORMULA:

Select F2:F5, with F2 as the active cell

Enter this formula in F2:
=FREQUENCY(IF($A$2:$A$19=$D$1,B2:B19),E2:E5)
Commit that formula with Ctrl+Shift+Enter (instead of just Enter)

Now cells F2:F5 will display the frequencies for the test referenced in D1.

Using my example:
if D1: A....these values are returned in E1:F5
Bins Freq
5 3
10 2
15 3
20 1

If D1: B...then these are the returned values:
Bins Freq
5 5
10 4
15 0
20 0

Is that something you can work with?
***********
Regards,
Ron

XL2003, WinXP


"Johnny Jebel" wrote:

I am trying to look at frequency distributions of results of medical tests. I
have downloaded many thousands of results for approximately 15 different
medical tests to an Excel file.

Following this, I have set up the frequency function to separate the data
into bins, and set up a list so that I can select one test at a time.

Unfortunately, I can't find any way to make the frequency function use just
the data displayed in my list, rather than all rows. Is there any way to
achieve what I want to do?

Many thanks.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 698
Default frequency function and list features

This may be a re-post....My PC did something "funny":

See if this example helps:

With A1:B19 containing this list:
Test Value
A 1
A 3
A 5
A 7
A 9
A 11
A 13
A 15
A 17
B 1
B 2
B 3
B 4
B 5
B 6
B 7
B 8
B 9

D1: ( a test to calc frequencies for....eg A )
B1: Freq

And....E1:E5 containing this list:
Bins
5
10
15
20

Try this ARRAY FORMULA:

Select F2:F5, with F2 as the active cell

Enter this formula in F2:
=FREQUENCY(IF($A$2:$A$19=$D$1,B2:B19),E2:E5)
Commit that formula with Ctrl+Shift+Enter (instead of just Enter)

Now cells F2:F5 will display the frequencies for the test referenced in D1.

Using my example:
if D1: A....these values are returned in E1:F5
Bins Freq
5 3
10 2
15 3
20 1

If D1: B...then these are the returned values:
Bins Freq
5 5
10 4
15 0
20 0

Is that something you can work with?
***********
Regards,
Ron

XL2003, WinXP


"Johnny Jebel" wrote:

I am trying to look at frequency distributions of results of medical tests. I
have downloaded many thousands of results for approximately 15 different
medical tests to an Excel file.

Following this, I have set up the frequency function to separate the data
into bins, and set up a list so that I can select one test at a time.

Unfortunately, I can't find any way to make the frequency function use just
the data displayed in my list, rather than all rows. Is there any way to
achieve what I want to do?

Many thanks.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 698
Default frequency function and list features

This may be a re-post. The web post screen keeps freezing up:

See if this example helps:

With A1:B19 containing this list:
Test Value
A 1
A 3
A 5
A 7
A 9
A 11
A 13
A 15
A 17
B 1
B 2
B 3
B 4
B 5
B 6
B 7
B 8
B 9

D1: ( a test to calc frequencies for....eg A )
B1: Freq

And....E1:E5 containing this list:
Bins
5
10
15
20

Try this ARRAY FORMULA:

Select F2:F5, with F2 as the active cell

Enter this formula in F2:
=FREQUENCY(IF($A$2:$A$19=$D$1,B2:B19),E2:E5)
Commit that formula with Ctrl+Shift+Enter (instead of just Enter)

Now cells F2:F5 will display the frequencies for the test referenced in D1.

Using my example:
if D1: A....these values are returned in E1:F5
Bins Freq
5 3
10 2
15 3
20 1

If D1: B...then these are the returned values:
Bins Freq
5 5
10 4
15 0
20 0

Is that something you can work with?
***********
Regards,
Ron

XL2003, WinXP


"Johnny Jebel" wrote:

I am trying to look at frequency distributions of results of medical tests. I
have downloaded many thousands of results for approximately 15 different
medical tests to an Excel file.

Following this, I have set up the frequency function to separate the data
into bins, and set up a list so that I can select one test at a time.

Unfortunately, I can't find any way to make the frequency function use just
the data displayed in my list, rather than all rows. Is there any way to
achieve what I want to do?

Many thanks.

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default frequency function and list features

Hi, Ron,

I finally got this to work with your assistance!

Many thanks!

John


"Ron Coderre" wrote:

See if this example helps:

With A1:B19 containing this list:
Test Value
A 1
A 3
A 5
A 7
A 9
A 11
A 13
A 15
A 17
B 1
B 2
B 3
B 4
B 5
B 6
B 7
B 8
B 9

D1: ( a test to calc frequencies for....eg A )
B1: Freq

And....E1:E5 containing this list:
Bins
5
10
15
20

Try this ARRAY FORMULA:

Select F2:F5, with F2 as the active cell

Enter this formula in F2:
=FREQUENCY(IF($A$2:$A$19=$D$1,B2:B19),E2:E5)
Commit that formula with Ctrl+Shift+Enter (instead of just Enter)

Now cells F2:F5 will display the frequencies for the test referenced in D1.

Using my example:
if D1: A....these values are returned in E1:F5
Bins Freq
5 3
10 2
15 3
20 1

If D1: B...then these are the returned values:
Bins Freq
5 5
10 4
15 0
20 0

Is that something you can work with?
***********
Regards,
Ron

XL2003, WinXP


"Johnny Jebel" wrote:

I am trying to look at frequency distributions of results of medical tests. I
have downloaded many thousands of results for approximately 15 different
medical tests to an Excel file.

Following this, I have set up the frequency function to separate the data
into bins, and set up a list so that I can select one test at a time.

Unfortunately, I can't find any way to make the frequency function use just
the data displayed in my list, rather than all rows. Is there any way to
achieve what I want to do?

Many thanks.



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 698
Default frequency function and list features

I'm glad I could help......and thanks for the feedback.


***********
Regards,
Ron

XL2003, WinXP


"Johnny Jebel" wrote:

Hi, Ron,

I finally got this to work with your assistance!

Many thanks!

John


"Ron Coderre" wrote:

See if this example helps:

With A1:B19 containing this list:
Test Value
A 1
A 3
A 5
A 7
A 9
A 11
A 13
A 15
A 17
B 1
B 2
B 3
B 4
B 5
B 6
B 7
B 8
B 9

D1: ( a test to calc frequencies for....eg A )
B1: Freq

And....E1:E5 containing this list:
Bins
5
10
15
20

Try this ARRAY FORMULA:

Select F2:F5, with F2 as the active cell

Enter this formula in F2:
=FREQUENCY(IF($A$2:$A$19=$D$1,B2:B19),E2:E5)
Commit that formula with Ctrl+Shift+Enter (instead of just Enter)

Now cells F2:F5 will display the frequencies for the test referenced in D1.

Using my example:
if D1: A....these values are returned in E1:F5
Bins Freq
5 3
10 2
15 3
20 1

If D1: B...then these are the returned values:
Bins Freq
5 5
10 4
15 0
20 0

Is that something you can work with?
***********
Regards,
Ron

XL2003, WinXP


"Johnny Jebel" wrote:

I am trying to look at frequency distributions of results of medical tests. I
have downloaded many thousands of results for approximately 15 different
medical tests to an Excel file.

Following this, I have set up the frequency function to separate the data
into bins, and set up a list so that I can select one test at a time.

Unfortunately, I can't find any way to make the frequency function use just
the data displayed in my list, rather than all rows. Is there any way to
achieve what I want to do?

Many thanks.

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
How to determine the frequency of a list of numbers? Eric Excel Discussion (Misc queries) 3 June 15th 07 08:58 AM
Excel 2003 List with Frequency Count blazingbadger Excel Discussion (Misc queries) 3 May 17th 07 03:34 AM
How do I count the frequency of items in a non-numeric list? RAR Excel Worksheet Functions 2 November 28th 06 11:33 PM
How do I count the frequency of items in a non-numeric list? Dave F Excel Worksheet Functions 0 November 28th 06 06:54 PM
Determine Frequency in Filtered List Michael Excel Worksheet Functions 3 February 10th 05 07:57 PM


All times are GMT +1. The time now is 07:31 AM.

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

About Us

"It's about Microsoft Excel"