Display count of data points in a scatter graph

  • Thread starter Thread starter npa100
  • Start date Start date
N

npa100

I've been banging my head on what must be a simple problem (yet one
that I apparently can't solve). How can I display a count of the
number of data points actually plotted on an XY graph? I have a range
of, let's say, 100 cells. 70 of these cells contain a number and 30
contain N/A (and therefore aren't plotted). I'd like to display "n=70"
somewhere on my chart. Can anyone help? Thanks...
 
Hi,

Put this formula in a cell, adjust range to suit. Assumes N/A is on the
X values only.

="n=" & COUNT(A1:A20)

To display the contents of the cell with the formula use a textbox or
chart text item such ax chart title or axis titles. See here how to link
textboxes to cells.
http://www.andypope.info/tips/tip001.htm

Cheers
Andy
 
Perfect! Thanks Andy


Andy said:
Hi,

Put this formula in a cell, adjust range to suit. Assumes N/A is on the
X values only.

="n=" & COUNT(A1:A20)

To display the contents of the cell with the formula use a textbox or
chart text item such ax chart title or axis titles. See here how to link
textboxes to cells.
http://www.andypope.info/tips/tip001.htm

Cheers
Andy
 
Back
Top