Powerful Histogram Concept!


New Member
Sep 24, 2008
I am looking to create a chart detailing the distribution of an equation that has a random number generator as a component. So, the end result would be the above mentioned equation showing a normal distribution curve (or some other distribution curve - not sure yet!!).

Here is the catch. Lets say the answer before I refesh is 500. I press F9, and now it is 200. I want to run 1,000 iterations, but catch the value to each iteration and log it as a value...thus building the Histogram.

I'd like to stay out of writing code, and I would assume that there is a relatively easy way of doing it, but I can't seem to find it. I know I can create a macro, but that would take forever to set up (copying the result into line 1, press F9, copy result in line 2, etc for a 1,000 lines).
There must be an easier way, right??

Gerald Higgins

Well-known Member
Mar 26, 2007
There may be easier ways than this, but here's one simple modification of your solution -

Do the calc.
Copy the result into A2.
Insert a new row above A2.
Repeat 1000 times.

Forum statistics

Latest member

Some videos you may like

This Week's Hot Topics

  • populate from drop list with multiple tables
    Hi All, i have a drop list that displays data, what i want is when i select one of those from the list to populate text from different tables on...
  • Find list of words from sheet2 in sheet1 before a comma and extract text vba
    Hi Friends, Trying to find the solution on my task. But did not find suitable one to the need. Here is my query and sample file with details...
  • Dynamic Formula entry - VBA code sought
    Hello, really hope one of you experts can help with this - i've spent hours on this and getting no-where. .I have a set of data (more rows than...
  • Listbox Header
    Have a named range called "AccidentsHeader" Within my code I have: [CODE]Private Sub CommandButton1_Click() ListBox1.RowSource =...
  • Complex Heat Map using conditional formatting
    Good day excel world. I have a concern. Below link have a list of countries that carries each country unique data. [URL...
  • Conditional formatting
    Hi good morning, hope you can help me please, I have cells P4:P54 and if this cell is equal to 1 then i want row O to say "Fully Utilised" and to...