View Full Version : Excel help quickie
vegyjones
10th January 2007, 23:52
I have a long list.
Each number the list needs to be decreased by 1.
If I select the whole column, is there a w ay of getting excel to automatically subtract 1 from each cell rather than creating a long winded macro or typing all the numbers manually?
John
10th January 2007, 23:56
This sounds incredibly easy, so easy that I've probably misunderstood your question, but as it's you, Vegy, it's so easy that I'll post what I think is an answer to your problem anyway. :D
So, column A contains your long list of values, yeah?
So surely in column B you just want...
=A1-1
Through to row 12345 or however many entrants your column contains.
Comprénde?
mathare
10th January 2007, 23:56
Yes.
Edit - Fill - Series
then set the interval to -1
John
11th January 2007, 00:00
Ignore my above post please, Vegy.
You just need to:
Edit - Fill - Series
then set the interval to -1
:D
vegyjones
11th January 2007, 00:01
That doesn't work Mat.
It just takes the top value of the column and makes each consequent number -1 of it
i.e
my list
2
3
1
2
3
1
2
2
2
3
3
becomes
2
1
0
-1
-2
-3
-4
-5
-6
etc
vegyjones
11th January 2007, 00:01
That doesn't work John... see above :D
mathare
11th January 2007, 00:09
I think I misunderstood your original post.
Do what John said then select Column B, copy - paste special - values over Column A, delete Column B.
vegyjones
11th January 2007, 00:13
Okay. Thanks Mat,
and I suppose I should thank John. :laugh
Although who should be worried.
Mat didn't understand my original question,
but should John be more worried that he did understand it :yikes:
Meaning hoim and me are on similar wavelengths! :ooo
John
11th January 2007, 00:16
Do what John said then select Column B, copy - paste special - values over Column A, delete Column B.
Yep, that works, just tried it. Make sure when you Paste Special that you only paste "Values" though, not "All."
vegyjones
11th January 2007, 00:18
I'm on it. All sorted. Thanks my extra special buddies! :hearty
John
11th January 2007, 00:19
I'm just more intellectual than Mat, Vegy. :laugh
I guess we are on similar wavelengths Vegy, although last time I asked you to come skinny dipping, you thought we were going to an underground gym. :doh
vegyjones
11th January 2007, 00:21
although last time I asked you to come skinny dipping,
And what an excellent job you're doing of expelling the gay myth!! :ooo
mathare
11th January 2007, 10:33
And what an excellent job you're doing of expelling the gay myth!! :oooWhy did John have a gay myth inside him anyway? Or did you mean dispelling? :doh :wink
Powered by vBulletin® Version 4.2.3 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.