There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Business Applications
Tag Cloud
audio blue blue screen boot bsod compaq computer cpu crash dell drivers dvd error excel firefox format freeze freezing hard drive install internet internet explorer kb951748 lan laptop loss of internet malware memory motherboard network networking outlook outlook 2007 problem restart screen security slow sound startup trojan update virus vista windows windows xp winxp wireless zone alarm zonealarm
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Software & Hardware > Business Applications >
moving areas of cells in Excel 2007


Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members. Enjoy!

Closed Thread
 
Thread Tools
rosmari's Avatar
Senior Member with 239 posts.
 
Join Date: Sep 1999
Location: San Francisco, CA, USA
04-Oct-2008, 01:06 AM #1
moving areas of cells in Excel 2007
I have a spreadsheet with some blank rows. I want to move up the rows below so as to eliminate those blank rows. Most cells on that spreadsheet have formulas in them.

I can move a row by cutting and pasting, and the formulas adjust. But elsewhere on the sheet, I get #REF! in cells which depend on formulas outside the area.

I had LOTUS before, and there I could simply click /m, and that would move any area I had highlighted to wherever I designed it to go - with no detrimental effect on any other cells with formulas.

So how can I do that in Excel 2007?
__________________
Rose-Marie Ullman
slurpee55's Avatar
Computer Specs
Distinguished Member with 4,517 posts.
 
Join Date: Oct 2004
Location: Southwest Iowa....
Experience: Currently stupid...
04-Oct-2008, 05:08 AM #2
Are your formulas that give you errors absolute or dynamic?
Can you give a bit more information on where your formulas are (as opposed to what you cut) and what the formula(s) are?
rosmari's Avatar
Senior Member with 239 posts.
 
Join Date: Sep 1999
Location: San Francisco, CA, USA
04-Oct-2008, 01:25 PM #3
I don't know what you mean by absolute or dynamic.

The formulas all refer to other cells, e.g. "+A1*B2", or they just call on other cells, e.g. if I want to copy the value of BB25 into F20, I enter into F20 "+BB25". This all works very well until I try to move a section, at which time the latter type of cell change to #REF!
__________________
Rose-Marie Ullman
Zack Barresse's Avatar
Computer Specs
Distinguished Member with 3,549 posts.
 
Join Date: Jul 2004
Location: Oregon, United States
Experience: I'ma learnin'!
04-Oct-2008, 02:32 PM #4
The reference in the formula turns to #REF! when that dependent is deleted. This is why it is best to not delete or insert anything. I'd recommend deleting all your blank rows, even if that means rebuilding all of your formulas and their dependencies. It will be a lot more work up front but it's worth it.

And you don't need to preceed your cell references with +, unless you are actually adding them. So "+BB25" can just be "=BB25", and "+A1*B2" can become "=A1*B2". No need for the additional coercion.

HTH
__________________
___________
Regards, Zack (If you would like comments in any code, please say so.)

OfficeArticles.com :|: Extreme Excel Tutorial :|: Excel Articles by Ken Puls :|: Excel User Group, by Nick Hodge

What is a Microsoft MVP? :|: Live Tech Support? Click here
slurpee55's Avatar
Computer Specs
Distinguished Member with 4,517 posts.
 
Join Date: Oct 2004
Location: Southwest Iowa....
Experience: Currently stupid...
04-Oct-2008, 06:03 PM #5
Absolute references are of the type =$B$2, as opposed to =B2.
What that does is, no matter what you may do to your worksheet in terms of inserting/deleting rows or columns, that formula would always look at the cell in column C and row 2 - otherwise, if you say, inserted a column between A and B, it would shift to C2. With an absolute it would look at the new B2.
And Zack, I have more posts than you! Time to catch up!!!
__________________
Iowa? I could have sworn this was heaven.
Well, I think I can answer this question most successfully in mime.

My theme song...
Zack Barresse's Avatar
Computer Specs
Distinguished Member with 3,549 posts.
 
Join Date: Jul 2004
Location: Oregon, United States
Experience: I'ma learnin'!
04-Oct-2008, 06:16 PM #6
Quote:
Originally Posted by slurpee55 View Post
And Zack, I have more posts than you! Time to catch up!!!
Two things:
First: Congratulations!!!
Second: Prepare to die!!!

ROFL!!
slurpee55's Avatar
Computer Specs
Distinguished Member with 4,517 posts.
 
Join Date: Oct 2004
Location: Southwest Iowa....
Experience: Currently stupid...
04-Oct-2008, 07:09 PM #7
Aaaaargh!
A challenge, just when I am swamped at work!! (excuses, excuses!)
Zack Barresse's Avatar
Computer Specs
Distinguished Member with 3,549 posts.
 
Join Date: Jul 2004
Location: Oregon, United States
Experience: I'ma learnin'!
04-Oct-2008, 07:18 PM #8
I would become a post whore for nobody else except you, Loche. If that is of any consolation.
rosmari's Avatar
Senior Member with 239 posts.
 
Join Date: Sep 1999
Location: San Francisco, CA, USA
04-Oct-2008, 07:25 PM #9
in that case, they are all dynamic references.

This is a spreadsheet of my investments, and they change from time to time, so I have to have an easy way to move sections around. This was so easy with Lotus; surely Excel 2007 must have a simple way of doing it!
__________________
Rose-Marie Ullman
Zack Barresse's Avatar
Computer Specs
Distinguished Member with 3,549 posts.
 
Join Date: Jul 2004
Location: Oregon, United States
Experience: I'ma learnin'!
04-Oct-2008, 07:38 PM #10
Quote:
Originally Posted by rosmari View Post
in that case, they are all dynamic references.

This is a spreadsheet of my investments, and they change from time to time, so I have to have an easy way to move sections around. This was so easy with Lotus; surely Excel 2007 must have a simple way of doing it!
As I said before, you're shooting yourself in the foot if you think you can get away with blank rows/columns/cells and having a data structure that you can "move around", either by using cut/insert/delete/whatever. It's not a good idea to do that. If you can set it up without having to do that, you'll be much better off. Feel free to post a sample of your file if you'd like some input on it. Take out any sensitive data first, of course.
__________________
___________
Regards, Zack (If you would like comments in any code, please say so.)

OfficeArticles.com :|: Extreme Excel Tutorial :|: Excel Articles by Ken Puls :|: Excel User Group, by Nick Hodge

What is a Microsoft MVP? :|: Live Tech Support? Click here
slurpee55's Avatar
Computer Specs
Distinguished Member with 4,517 posts.
 
Join Date: Oct 2004
Location: Southwest Iowa....
Experience: Currently stupid...
04-Oct-2008, 08:18 PM #11
Quote:
Originally Posted by Zack Barresse View Post
I would become a post whore for nobody else except you, Loche. If that is of any consolation.
Awwww, I'm touched...(been told that before, come to think of it!)
Closed Thread

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.



Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 04:14 PM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.