Bell curve overlay on histogram

dan345

New Member
Joined
Mar 6, 2011
Messages
19
Hi,

with the following data, i have created a histogram. However, how do you create a curve overlay on the histogram, such that the curve flows with the bars to make it look like a normal distrubtion curve.

thanks


<table width="1094" border="0" cellpadding="0" cellspacing="0"><col style="width: 96pt;" width="128"> <col style="width: 120pt;" width="160"> <col style="width: 69pt;" width="92"> <col style="width: 170pt;" width="226"> <col style="width: 270pt;" width="360"> <col style="width: 96pt;" width="128"> <tbody><tr style="height: 15pt;" height="20"> <td style="height: 15pt; width: 96pt;" width="128" height="20">
</td> <td style="width: 120pt;" width="160">
</td> <td style="width: 69pt;" width="92">
</td> <td class="xl66" style="width: 170pt;" width="226">Starting bin:</td> <td style="width: 270pt;" width="360">-3</td> <td style="width: 96pt;" width="128">
</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">
</td> <td>
</td> <td>
</td> <td class="xl66">Scotts choice (h):</td> <td>=3.5*STDEV(B4:B1003)/POWER(COUNT(B4:B1003),(1/3))</td> <td>
</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">
</td> <td class="xl66">Data Source</td> <td class="xl66">Bin no</td> <td class="xl66">Bins</td> <td class="xl66">Frequency</td> <td>
</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">
</td> <td class="xl65">7.4</td> <td>0</td> <td>=E1+(C4*E2)</td> <td>=FREQUENCY(B4:B1003,D4:D34)</td> <td>
</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">
</td> <td class="xl65">7.8</td> <td>1</td> <td>=E1+(C5*E2)</td> <td>=FREQUENCY(B4:B1003,D4:D34)</td> <td>
</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">
</td> <td class="xl65">7.8</td> <td>2</td> <td>=E1+(C6*E2)</td> <td>=FREQUENCY(B4:B1003,D4:D34)</td> <td>
</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">
</td> <td class="xl65">11.2</td> <td>3</td> <td>=E1+(C7*E2)</td> <td>=FREQUENCY(B4:B1003,D4:D34)</td> <td>
</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">
</td> <td class="xl65">7.4</td> <td>4</td> <td>=E1+(C8*E2)</td> <td>=FREQUENCY(B4:B1003,D4:D34)</td> <td>
</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">
</td> <td class="xl65">7.4</td> <td>5</td> <td>=E1+(C9*E2)</td> <td>=FREQUENCY(B4:B1003,D4:D34)</td> <td>
</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">
</td> <td class="xl65">7.9</td> <td>6</td> <td>=E1+(C10*E2)</td> <td>=FREQUENCY(B4:B1003,D4:D34)</td> <td>
</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">
</td> <td class="xl65">7.3</td> <td>7</td> <td>=E1+(C11*E2)</td> <td>=FREQUENCY(B4:B1003,D4:D34)</td> <td>
</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">
</td> <td class="xl65">7.8</td> <td>8</td> <td>=E1+(C12*E2)</td> <td>=FREQUENCY(B4:B1003,D4:D34)</td> <td>
</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">
</td> <td class="xl65">7.5</td> <td>9</td> <td>=E1+(C13*E2)</td> <td>=FREQUENCY(B4:B1003,D4:D34)</td> <td>
</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">
</td> <td class="xl65">6.7</td> <td>10</td> <td>=E1+(C14*E2)</td> <td>=FREQUENCY(B4:B1003,D4:D34)</td> <td>
</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">
</td> <td class="xl65">7.5</td> <td>11</td> <td>=E1+(C15*E2)</td> <td>=FREQUENCY(B4:B1003,D4:D34)</td> <td>
</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">
</td> <td class="xl65">5.6</td> <td>12</td> <td>=E1+(C16*E2)</td> <td>=FREQUENCY(B4:B1003,D4:D34)</td> <td>
</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">
</td> <td class="xl65">7.8</td> <td>13</td> <td>=E1+(C17*E2)</td> <td>=FREQUENCY(B4:B1003,D4:D34)</td> <td>
</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">
</td> <td class="xl65">8.9</td> <td>14</td> <td>=E1+(C18*E2)</td> <td>=FREQUENCY(B4:B1003,D4:D34)</td> <td>
</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">
</td> <td class="xl65">8.9</td> <td>15</td> <td>=E1+(C19*E2)</td> <td>=FREQUENCY(B4:B1003,D4:D34)</td> <td>
</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">
</td> <td class="xl65">8.5</td> <td>16</td> <td>=E1+(C20*E2)</td> <td>=FREQUENCY(B4:B1003,D4:D34)</td> <td>
</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">
</td> <td class="xl65">8.1</td> <td>17</td> <td>=E1+(C21*E2)</td> <td>=FREQUENCY(B4:B1003,D4:D34)</td> <td>
</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">
</td> <td class="xl65">7.4</td> <td>18</td> <td>=E1+(C22*E2)</td> <td>=FREQUENCY(B4:B1003,D4:D34)</td> <td>
</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">
</td> <td class="xl65">7.9</td> <td>19</td> <td>=E1+(C23*E2)</td> <td>=FREQUENCY(B4:B1003,D4:D34)</td> <td>
</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">
</td> <td class="xl65">8.9</td> <td>20</td> <td>=E1+(C24*E2)</td> <td>=FREQUENCY(B4:B1003,D4:D34)</td> <td>
</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">
</td> <td class="xl65">7.6</td> <td>21</td> <td>=E1+(C25*E2)</td> <td>=FREQUENCY(B4:B1003,D4:D34)</td> <td>
</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">
</td> <td class="xl65">7.9</td> <td>22</td> <td>=E1+(C26*E2)</td> <td>=FREQUENCY(B4:B1003,D4:D34)</td> <td>
</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">
</td> <td class="xl65">8.5</td> <td>23</td> <td>=E1+(C27*E2)</td> <td>=FREQUENCY(B4:B1003,D4:D34)</td> <td>
</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">
</td> <td class="xl65">6.9</td> <td>24</td> <td>=E1+(C28*E2)</td> <td>=FREQUENCY(B4:B1003,D4:D34)</td> <td>
</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">
</td> <td class="xl65">6.3</td> <td>25</td> <td>=E1+(C29*E2)</td> <td>=FREQUENCY(B4:B1003,D4:D34)</td> <td>
</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">
</td> <td class="xl65">7.6</td> <td>26</td> <td>=E1+(C30*E2)</td> <td>=FREQUENCY(B4:B1003,D4:D34)</td> <td>
</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">
</td> <td class="xl65">7.9</td> <td>27</td> <td>=E1+(C31*E2)</td> <td>=FREQUENCY(B4:B1003,D4:D34)</td> <td>
</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">
</td> <td class="xl65">7.1</td> <td>28</td> <td>=E1+(C32*E2)</td> <td>=FREQUENCY(B4:B1003,D4:D34)</td> <td>
</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">
</td> <td class="xl65">7.8</td> <td>29</td> <td>=E1+(C33*E2)</td> <td>=FREQUENCY(B4:B1003,D4:D34)</td> <td>
</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">
</td> <td class="xl65">6.7</td> <td>30</td> <td>=E1+(C34*E2)</td> <td>=FREQUENCY(B4:B1003,D4:D34)</td> <td>
</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">
</td> <td class="xl65">6.9</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">
</td> <td class="xl65">8.3</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">
</td> <td class="xl65">6.9</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">
</td> <td class="xl65">5.2</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">
</td> <td class="xl65">7.8</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">
</td> <td class="xl65">7.8</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">
</td> <td class="xl65">8.1</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">
</td> <td class="xl65">5.7</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">
</td> <td class="xl65">7.3</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">
</td> <td class="xl65">7.3</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">
</td> <td class="xl65">8.8</td> <td>
</td> <td>
</td> <td>
</td> <td>
</td> </tr> <tr style="height: 15pt;" height="20"> <td style="height: 15pt;" height="20">
</td> <td class="xl65">7.5</td> <td>
</td> <td>
</td> <td>
</td></tr></tbody></table>
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.

Forum statistics

Threads
1,141,281
Messages
5,705,474
Members
421,397
Latest member
JBenn911

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
Top