excel puzzle rather than problem

  hastelloy 13:20 09 Dec 11

I have a large speadsheet which gives me a picture of my bank balance throughout the year. There are 4 columns per month - A=date,B=Item, C=amount, D=balance (e.g. D4=D3-C4). These 4 columns are then repeated for each month. All of my direct debits and standing orders are entered for the year and it takes my credit card balances from another sheet. Any credits I enter as a negative so that the same formula works throughout.

Puzzle 1: If I cut an entry (e.g. cells B4 and C4) and then paste them (e.g. to B12 and C12) I get a #REF error in the balance column for everything from D12 onwards. Copy and paste and then delete the original entry works without any problem.

Puzzle 2: I have conditional formatting so that all negative numbers are shown in red. When I copy and paste (e.g. B4 and C4) the conditional formatting remains but the colour of the negative cell changes randomly - sometimes orange, green or blue etc.

As I said, not a major problem but I'm curious to know why this happens?

  stlucia2 08:07 10 Dec 11

I use a similar spreadsheet, and have noticed the same as you -- I have to cut and paste, then separately delete, if I want to move an entry without getting an error in the balance column. Be interesting to know if there's a simple, elegant, way around it.

  mgmcc 09:03 10 Dec 11

"I get a #REF error in the balance column for everything from D12 onwards."

Take the formula in D11 and drag it down through the "cut" cells to restore the correct formula down the column.

  mgmcc 09:06 10 Dec 11

I suspect I may have misunderstood what you've actually done, so disregard that. :(

  Terry Brown 09:08 10 Dec 11

When you built the system, you set up the first column and then used extended down to as many as you needed. When you copy and paste, what you are actually copying is not the figures but the reference to the formula. To prove this point do the following:

Open the spreadsheet and press the CTRL key and the key to the left of the '1' key on the main keyboard and you see the functions instead of the numbers. Press again to return to normal.

Puzzle 2 - I'm not sure why that happens.


  hastelloy 10:27 10 Dec 11

stlucia2 Thanks for that - I'm glad it's not me!!

Terry Brown I understand that but what I don't get is why copy and paste works but cut and paste doesn't.

  hastelloy 14:08 10 Dec 11

mgmcc Actually, your suggestion works perfectly. I still can't understand why this happens.

This thread is now locked and can not be replied to.

What is Amazon Go and will it come to the UK? The store without checkouts or queues

1995-2015: How technology has changed the world in 20 years

Hands-on with the Star Wars fighting drones you can fly yourself

15 macOS Sierra tips | How to use macOS Sierra: Secret tricks and best new features in Apple's new…