Excel fill failure

J

johnthebaptist

I have Windows Vista Home Basic running Office Standard 2007

This is my homemade checking account. The balance formula is
I153-G154+H154, where I153 is the previous balance, G154 is a new debit and
H154 is a new credit.

Normally when I fill the resulting balance further down column I, it shows
the balance repeated. This has been working fine from the start months ago.
Today it repeated the resulting balance in the next row, 155, yielded by the
filled formula I154-G155+H155, the latter two being empty cells as always.

Thereafter, rows 156 and following, the correct filled formula is repeated
in column I, but a #VALUE error is returned instead of the repreated previous
balance. The error message is: "A value in the formula is of the wrong data
type." I156 and downward adds a green triangle in the upper left cell
corner. This does not appear in the cells above it.

My eMachine would neither restart not shut down programmatically. I had to
power down manually. Rebooting normally did not solve the problem. What's
going on?
 
P

Pete_UK

Perhaps you have spaces in those cells G156:H156 and down, and you
can't perform arithmetic on them. Just highlight the cells and press
the <delete> key to remove them.

You might like to change your formula to:

=IF(AND(G154="",H154=""),"",I153-G154+H154)

and copy this down - it will give you a blank cell if both the G and H
cells are empty, i.e. until you enter some data.

Hope this helps.

Pete
 
J

johnthebaptist

Your <delete> solution solved the problem, Pete_UK. Very much obliged. And
the space must have been unwittingly entered in H155, because selecting and
deleting just in the G column did not work. To check, I reentered a space in
H155, and sure enough, the mystery data popped up in the I column.
 

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