Excel: Arranging Data for a Histogram ChartLast reviewed: November 30, 1994Article ID: Q23944 |
SUMMARYIn Microsoft Excel, to chart a column of numbers as a histogram (for example, to chart the number of occurrences from 0 to 10, 10 to 20, and so on) you must find the number of occurrences within the different ranges, as follows:
MORE INFORMATIONTo plot a count of the number of values between 10-20, 21-30, 31-40, and 41-50 from cells A1:A500, the following formulas can be used:
B1: =SUM(IF(A1:A500>=10,IF(A1:A500<=20,1))) B2: =SUM(IF(A1:A500>=21,IF(A1:A500<=30,1))) B3: =SUM(IF(A1:A500>=31,IF(A1:A500<=40,1))) B4: =SUM(IF(A1:A500>=41,IF(A1:A500<=50,1)))Select B1:B4, choose New from the File menu and select Chart. The appropriate values are plotted as a histogram chart.
|
KBCategory: kbusage
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |