#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 88
Default Frequency

i want to calculate the frequency of a set of numbers in a column that are
spaced 24 rows apart, i.e. want to calculate the frequency for the following
values, A2,A26,A50,A74...etc..

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Frequency

Use this in say, B2:
=INDIRECT("A"&ROWS($1:1)*24-22)
Copy B2 down as far as required to extract all the values (A2, A26, etc)
into a contiguous col range. Then you could easily do whatever you want.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Reza" wrote:
i want to calculate the frequency of a set of numbers in a column that are
spaced 24 rows apart, i.e. want to calculate the frequency for the following
values, A2,A26,A50,A74...etc..

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

i want to calculate the frequency

Define frequency.

This formula will return the count of 1's in the range A2, A26, A50, A74:

=SUMPRODUCT(--(MOD(ROW(A2:A74),24)=2),--(A2:A74=1))

Or, this version will account for new row insertions above the range:

=SUMPRODUCT(--(MOD(ROW(A2:A74)-ROW(A2),24)=0),--(A2:A74=1))


--
Biff
Microsoft Excel MVP


"Reza" wrote in message
...
i want to calculate the frequency of a set of numbers in a column that are
spaced 24 rows apart, i.e. want to calculate the frequency for the
following
values, A2,A26,A50,A74...etc..



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

On Apr 10, 10:16*pm, "T. Valko" wrote:
i want to calculate the frequency


Define frequency.

This formula will return the count of 1's in the range A2, A26, A50, A74:

=SUMPRODUCT(--(MOD(ROW(A2:A74),24)=2),--(A2:A74=1))

Or, this version will account for new row insertions above the range:

=SUMPRODUCT(--(MOD(ROW(A2:A74)-ROW(A2),24)=0),--(A2:A74=1))

--
Biff
Microsoft Excel MVP

"Reza" wrote in message

...



i want to calculate the frequency of a set of numbers in a column that are
spaced 24 rows apart, i.e. want to calculate the frequency for the
following
values, A2,A26,A50,A74...etc..- Hide quoted text -


- Show quoted text -


Beauty!!!!!!!!!!!!!!! thank
you!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Frequency

On Apr 10, 8:53*pm, Max wrote:
Use this in say, B2:
=INDIRECT("A"&ROWS($1:1)*24-22)
Copy B2 down as far as required to extract all the values (A2, A26, etc)
into a contiguous col range. Then you could easily do whatever you want.
--
Max
Singaporehttp://savefile.com/projects/236895
xdemechanik
---



"Reza" wrote:
i want to calculate the frequency of a set of numbers in a column that are
spaced 24 rows apart, i.e. want to calculate the frequency for the following
values, A2,A26,A50,A74...etc..- Hide quoted text -


- Show quoted text -


THANK YOU!!!!


  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Frequency

You're welocme. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


wrote in message
...
On Apr 10, 10:16 pm, "T. Valko" wrote:
i want to calculate the frequency


Define frequency.

This formula will return the count of 1's in the range A2, A26, A50, A74:

=SUMPRODUCT(--(MOD(ROW(A2:A74),24)=2),--(A2:A74=1))

Or, this version will account for new row insertions above the range:

=SUMPRODUCT(--(MOD(ROW(A2:A74)-ROW(A2),24)=0),--(A2:A74=1))

--
Biff
Microsoft Excel MVP

"Reza" wrote in message

...



i want to calculate the frequency of a set of numbers in a column that
are
spaced 24 rows apart, i.e. want to calculate the frequency for the
following
values, A2,A26,A50,A74...etc..- Hide quoted text -


- Show quoted text -


Beauty!!!!!!!!!!!!!!! thank
you!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!


  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Frequency

Welcome ..
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
wrote
THANK YOU!!!!


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
Frequency.... I think DP7 Excel Worksheet Functions 1 July 10th 07 08:24 PM
frequency leslie Excel Worksheet Functions 2 June 24th 07 01:39 AM
Frequency Luis Rodriguez Excel Discussion (Misc queries) 3 October 11th 06 02:15 AM
Frequency Fred Roven Excel Worksheet Functions 2 May 31st 06 03:06 AM
histograms - frequency and relative frequency? confusedstudent Excel Discussion (Misc queries) 2 February 8th 06 08:20 AM


All times are GMT +1. The time now is 03:26 PM.

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"