Spreadsheet help please?

Page may contain affiliate links. Please see terms for details.

Panter

Just call me Chris...
Very simple one I'm sure but I'm absolutely hopeless at these.

I've got a spreadsheet set up where I can log my weight every week. It's very basic, I enter stones and pounds in two columns, it then converts to pounds in a third.
I've got a basic line chart set up in the spreadsheet which plots the data taken from the "lbs" column which works just fine.

The formula to convert to lbs is copied down the spreadsheet so that for every entry not yet filled in it's displaying a "0"
Problem is, it's showing those 0 values on the chart so it works fine for all the data entries, then drops sharply down to bottom out on the baseline. This really affects the scaling so it doesn't look right.
What can I do so that it only plots a positive value when it's entered?

BTW, this is in Google docs but it seems to pretty much mirror what Excel does so I'm sure Excel commands would work (or I can find the equivalents)
 

nickyboy

Norven Mankey
you need a conditional statement formula

Assume the "Stones" are in cell A1, "Lbs" are in cell A2 and the result is in cell A3

In cell A3 you write the following formula

=IF(A1>0,A1*14+A2,"")

What this does is it looks at your "Stones" cell. If there's something in it, it calculates the total Lbs. If there's nothing in it, it returns a blank
 

deptfordmarmoset

Full time tea drinker
Location
Armonmy Way
If you're not worried about having the line drop down for absent future entries, you should be able to convince google to only display a range of a few kilos in the chart. I'll readily concede that the chart options on google are far from clear and I have been known to simply copy a graph to Calc (OpenOffice's free spreadsheet) and use their chart options, which I'm more familiar with.

If you like, I'd be happy to have a look at it. PM me and set it up for sharing editing, if you'd like.
 
Top Bottom