Recurrence frequency report

montecarlo2012

Well-known Member
Joined
Jan 26, 2011
Messages
984
Office Version
  1. 2010
Platform
  1. Windows
Hello everyone.
I am trying to generate a recurrence frequency report and this is what I have been doing manually, (to long by hand)
=FREQUENCY(B1:G36,I1:I53)
=FREQUENCY(B2:G37,I1:I53)
=FREQUENCY(B3:G38,I1:I53) and so on until I reach =FREQUENCY(B18:G53,I1:I53)
I want the out put in J:AA
my data is B1:G53
any vba code for this please.
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
In J1:J53,

{=FREQUENCY(INDEX($B:$B, COLUMNS($J1:J1)):INDEX($G:$G, COLUMNS($J1:J1) + 35), $I$1:$I$53)}

Copy right.
 
Upvote 0
I really appreciate your time for reading my post, also I really copy carefully, but the results are iqual 0.
and because I have to reapet this many time, thats why my TAG IS VBA CODE.
THANK YOU shg.
 
Upvote 0
Code to do the same thing:

Code:
    With Range("J1:J53")
        .FormulaArray = "=FREQUENCY(INDEX($B:$B, COLUMNS($J1:J1)):INDEX($G:$G, COLUMNS($J1:J1) + 35), $I$1:$I$53)"
        .AutoFill .Resize(, 18)
    End With
 
Upvote 0
HIGHLITE
COPY
DEVELOPER
VISUAL BASIC
INSERT
MODULE
PASTE
RUN

no results.
 
Upvote 0
Dunno, works fine for me.

What happens -- nothing, or an error?

Sheet protected? Macros enabled? All cells either locked or unlocked, not some of each?
 
Upvote 0
Dunno, works fine for me.

What happens -- nothing, or an error?

Sheet protected? Macros enabled? All cells either locked or unlocked, not some of each?

sheet portected? ....no
macros enabled?.....no
error?....................no
just not results at all.
 
Upvote 0
Did you add Sub and End Sub? Post your code.
 
Upvote 0
I have no suggestion. If you want to upload it to box.net and post a link, I'll look at it.
 
Upvote 0

Forum statistics

Threads
1,215,475
Messages
6,125,028
Members
449,205
Latest member
Eggy66

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