Frequency...?

How_Do_I

Well-known Member
Joined
Oct 23, 2009
Messages
1,843
Office Version
  1. 2010
Platform
  1. Windows
Hello all, how could I use frequency to look at the following data please…<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>
<o:p> </o:p>
I’d only want suggested formulas to work when my data columns (numbers in white cells) add up to 12… All do in the sample set.<o:p></o:p>
<o:p> </o:p>
I’d want to know how many different sets there are. (i.e. 7 1 4 in G, N and AE are a set which appears 3 times)..<o:p></o:p>
<o:p> </o:p>
Finally, could I pull and list the sets say in AU1:AV1… The next set would go underneath but ideally I’d want the set with the largest amout of combinations in AU1… I’m say column AU ranked…<o:p></o:p>
<o:p> </o:p>
Any ideas please?

Excel Workbook
ABCDEFGHIJKLMNOPQRSTUVWXYZAAABACADAEAFAGAHAIAJAKALAMANAOAPAQARASATAUAV
1FT123456789101112131415161718192021222324252627282930313233343536373839404142434437, 1, 4
2W53876748624476425765683575645745627656962745
3D16324142463112362343324334463136342243126353
4L63132442245744545224325423224451363433244234
Sheet1

 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
Hello gus,

This isn't elegant, but if you can add a helper Row try this.
Note: lots of columns hidden, my Htlm maker won't display more than 20 columns by default.
Excel Workbook
AGHNADAEATAUAV
1FT6713293037,1,4
2W74757
3D14131
4L44444
57,1,44,4,47,1,45,3,47,1,4
Sheet1
Excel 2010
Cell Formulas
RangeFormula
AU1=COUNTIF(B5:AS5,AV1)
AV1=ConCatRange(N2:N4)
G5=ConCatRange(G2:G4)
 
Last edited:
Upvote 0
Hi Brian, your formula certainly got me started on this one thanks... :)
 
Upvote 0
Hi all…
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p> </o:p>
How can I sort the following out please…
<o:p> </o:p>
The first Jeanie is working presumably because all my ranges in Row5 are full of data. (Note I haven’t shown all 46 columns of data)
<o:p> </o:p>
The second Jeanie isn’t working because I presumably need an expanding range on Row5…
<o:p> </o:p>
I know how to find my last column in Row5 =MATCH(BigStr,B5:AU5) where BigStr = =REPT("z",255)
<o:p> </o:p>
However I can’t work out how to get my expanding range in to my original formula.
<o:p> </o:p>
Any takers please?

Excel Workbook
ABCD
55, 1, 63, 6, 38, 3, 1
6
723
8
912, 4, 61
1022, 6, 43
1133, 4, 51
Sheet1



Excel Workbook
ABCD
55, 1, 63, 6, 3
6
72
8
91#N/A0
102#N/A0
Sheet1
 
Upvote 0
Can anyone see what is wrong with this please...

I've created my expanding range AND it works on all occasions except when there's only ONE piece of data in "LongR"...

Excel Workbook
ABC
55, 1, 63, 6, 3
6
72
8
913, 6, 31
1025, 1, 61
Sheet1
#VALUE!
</td></tr></table></td></tr></table> [/B]
 
Last edited:
Upvote 0
Delete everything except A1:AS4 inclusive.

Enter a row heading, such as "Concat" in A5

Enter your rangeconcat formula in B5 and fill to AS5

Select the range AV1:AV45

Press F2

Enter =TRANSPOSE($A$5:$AS$5) in the formula bar and array confirm with Shift Ctrl Enter.

Insert a pivot table, with the Concat field used for row labels and values.

The values column should default to count, which you should then be able to sort ascending in the table.
 
Upvote 0
Thanks Jason... I'll try that but I really don't want to use a pivot table...

If after looking at this for most of the afternoon and having cells 2 to 46 of my range of interest giving me the expected return would you give in at this point and switch to a pivot table!!!
 
Upvote 0
I’ll start this again from scratch to try and eliminate the confusion I've caused
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p> </o:p>
My data starts in B5 and goes across my workbook… The data can extend to AU5…
<o:p> </o:p>
There could be no returns, i.e. range blank but ALL the range contains formulas.
<o:p> </o:p>
What I want to do is count the different combinations (7 in the Jeanie below as 3. 6, 3 appears twice)…
<o:p> </o:p>
List the combinations by formula
<o:p> </o:p>
Count the combinations…
<o:p> </o:p>
So my expected returns are as the Jeanie…
<o:p> </o:p>
Any ideas please? Formula solution only.

Excel Workbook
BCDEFGHI
55, 1, 63, 6, 33, 6, 37, 2, 36, 4, 27, 1, 44, 4, 48, 2, 2
6
77
8ListCount
93, 6, 32
104, 4, 41
115, 1, 61
126, 4, 21
137, 1, 41
147, 2, 31
158, 2, 21
Sheet1
 
Upvote 0
Hi Gus

How about.
Excel Workbook
ABCDEFGH
55, 1, 63, 6, 33, 6, 37, 2, 36, 4, 27, 1, 44, 4, 48, 2, 2
6
77
8ListCount
95, 1, 61
103, 6, 32
117, 2, 31
126, 4, 21
137, 1, 41
144, 4, 41
158, 2, 21
Sheet1
Excel 2010
Cell Formulas
RangeFormula
A7=COUNT(B9:B21)
B9=IF(A9="","",COUNTIF($A$5:$H$5,A9))
#VALUE!
Entered with Ctrl+Shift+Enter. If entered correctly, Excel will surround with curly braces {}.
Copy the formulas is A9:B9, down as far as you need.
 
Upvote 0

Forum statistics

Threads
1,224,612
Messages
6,179,890
Members
452,948
Latest member
Dupuhini

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