=B1/A1

G

Guest

I have a spreadsheet where column A has the number of miles and column B has
the total cost. I want to find the cost per mile.
In cell C1 I've put =B1/A1 and I've got the cost per mile.

Obviously I want to copy this down to get a result for B2/A2 etc but all I
get is the same answer as is in cell C1.

Why is this? Any ideas out there?
 
G

Guest

Sounds like calc mode is in manual.
Press F9, does it compute properly?

To check/change calc mode,
click Tools > Options > Calculation tab
Ensure Automatic is checked > OK
 
P

Pete_UK

You might have the calculation option set to manual - go to Tools |
Options | Calculation tab and ensure that Automatic is checked.

You might want to amend the formula slightly to:

=IF(A1=0,0,B1/A1)

to avoid getting #DIV/0? errors if you copy the formula too far.

Hope this helps.

Pete
 
G

Guest

Spot on, thank you so much.
yhtak

Max said:
Sounds like calc mode is in manual.
Press F9, does it compute properly?

To check/change calc mode,
click Tools > Options > Calculation tab
Ensure Automatic is checked > OK
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top