Excel Tutor - Cyprus

Graphs

This lesson explains useful techniques relating to graphs. The following areas are covered:
1. Basics.
2. Adding pictures to graphs.
3. Creating Dynamic graphs.
3.1 Creating dynamic names using the OFFSET and COUNTA functions.
3.2 Understanding the Chart's SERIES formula.
3.3 Creating the graph.
4. Creating graphs where the range is defined by scroll bars
.

Graphs - Examples

The above illustration shows a graph that is automatically updated as new data is entered.

The followings steps should be followed to create the above dynamic graph:
1. Create the following two names: (CTR F3)
(a) Use the name "Period" in the "Names in Workbook" field and in the "Refers to" field enter:
=OFFSET($A$4,0,0,COUNTA($A:$A)-1)
(b) Use the name "Orders" in the "Names in Workbook" field and in the "Refers to" field enter:=OFFSET($B$4,0,0,COUNTA($B:$B)-1)
2. Create the chart as usual. You should select a cell in the data range and then click on the Chart Wizard Button. Select three times Next in the Wizard and then click Finish. The Chart is created.
3. Activate the chart and select the data series. In the formula bar the following will be displayed:
=SERIES(,Sheet1!$A$4:$A$9,Sheet1!$B$4:$B$9,1)
4. Replace $A$4:$A$9 with "Period" and $B$4:$B$9 with "Orders". When you press Enter the SERIES formula should now read:
=SERIES(,Book1!Period,Book1!Orders,1)
Note that the name of the sheet is automatically replaced by the name of the workbook.

You can download the above example from this link.

Home | Who Am I? | My Training Program and Examples

| Downloads | Links | Contact