Distribution the number

MAHMOUD-LEE

Active Member
Joined
Feb 16, 2013
Messages
259
How can the distribution of the numbers in the table ?
Distribution the number
numDistribution1
1201
2221
3151
4141
5161
1
1
1
1
1
1
1
1
1
1
1
1
1
1
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
2
3
3
3
3
3
3
3
3
3
3
3
3
3
3
3
4
4
4
4
4
4
4
4
4
4
4
4
4
4
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5

<colgroup><col><col><col><col></colgroup><tbody>
</tbody>
 
Hi Markmzz,

I guess that's pretty much the same as mine except that I've now started using this INDEX construct with ROW. Makes it a bit longer and a few more function calls, but guards against row insertions (and doesn't use INDIRECT), so perhaps worth it?

Also, if there are any blanks in the range B2:B6, then e.g. 0+$B$2:$B$6 will prevent the formula from erroring.

Cheers

Like I said "a small modification".

Lets wait for the user.

By the way, use Ctrl+Shift+Enter to enter the formula (I forgot that in my previous post).

Markmzz
 
Upvote 0

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.

Forum statistics

Threads
1,216,073
Messages
6,128,641
Members
449,461
Latest member
kokoanutt

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