excel puzzle rather than problem

  hastelloy 13:20 09 Dec 2011

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 2011

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 2011

"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 2011

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

  Terry Brown 09:08 10 Dec 2011

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 2011

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 2011

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.

Elsewhere on IDG sites

FIFA 19 review

Design a vector map packed with creatures and landmarks

iPhone XS vs iPhone X: What is the difference?

Comment désactiver la lecture automatique des vidéos sur Chrome ?