Live Chat & Podcast at 1:00PM Eastern on Sunday!
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
Business Applications
Tag Cloud
access acer asus bios bsod crash desktop driver drivers error ethernet excel freeze gaming graphics hard drive hardware hdmi internet laptop lcd malware memory monitor motherboard network operating system printer problem ram registry router slow software sound toshiba trojan ubuntu 11.10 uninstall usb video virus vista wifi windows windows 7 windows 7 32 bit windows 7 64 bit windows xp wireless
Search
Search for:
Tech Support Guy Forums > Software & Hardware > Business Applications >
Solved: Remote Formulas in Excel

Reply  
Thread Tools
SimonB's Avatar
Computer Specs
Junior Member with 24 posts.
 
Join Date: Sep 2004
Location: Boston, MA, USA area
Experience: Intermediate
05-Jun-2008, 02:02 PM #1
Question Solved: Remote Formulas in Excel
I have an Excel workbook with multiple sheets, two of which comprise a three dimensional array of cells. Each of those two sheets has a similar pattern to other. Sheet1 figuratively overlays sheet2 such that cell H20 in sheet1 relates to cell H20 in sheet2, etc., accross the full sheet limits. Sheet1 is for user input and sheet2 contains some pretty complex formulas.

Both sheets are arranged in a large 20x20 grid, and each square in the grid is comprised in turn of a 3 x 3 grid of nine cells, making those two sheets each 60 columns by 60 rows. Each of the 9 cells in a sheet2 3x3 grid has a different formula, but the pattern of nine frmulas repeats itself throughout the sheet2 grid. Each of those formulas has references to the input values in sheet1 and to values in adjacent cells within sheet2.

The essence of all this is that each mini-3x3 grid of 9 cells has the same nine formulas in it, repeated throught the full grid of sheet2.

All those formulas use relative references, or references to named cells containing constants located elsewhere in the workbook.

What I want to do is build the formulas in only one location, somewhere else in the workbook, and not have to repeat them each time in the many squares where the calculations must be done. The copying and pasting of each 3x3 grid takes forever each time I modify the formulas, which I seem to be doing constantly. Is there a way to put something like a relative referance to a formula in the grid cells that says, "use the formula located in cell whatever, and have it behave as though it were located here"?

Thanks in advance for you patience in reading all this, and for any help you can provide.

SimonB
The Villan's Avatar
Senior Member with 2,003 posts.
 
Join Date: Feb 2006
Location: Lincolnshire UK
Experience: Advanced at times
05-Jun-2008, 04:07 PM #2
Can you upload an example up here so that we can have a look at the animal (no sensitive info of course)
SimonB's Avatar
Computer Specs
Junior Member with 24 posts.
 
Join Date: Sep 2004
Location: Boston, MA, USA area
Experience: Intermediate
05-Jun-2008, 04:40 PM #3
Example of Need for Remote Formula in Excel
Quote:
Originally Posted by The Villan View Post
Can you upload an example up here so that we can have a look at the animal (no sensitive info of course)
Villian, you are good to respond so quickly, thank you. Attached is the animal (an apt name). I have deleted three sheets in it to get the zipped file down within the prescribed limit of 500KB. Don't see any bad #REF!s as a result, but it could have corrupted something.

The two sheets to look at are LeachField-Input and LeachField-Calcs (sheets 1 and 2 respectively as described in my original posting.)

SimonB
The Villan's Avatar
Senior Member with 2,003 posts.
 
Join Date: Feb 2006
Location: Lincolnshire UK
Experience: Advanced at times
05-Jun-2008, 05:11 PM #4
Give it another try Simon, as it doesn't seem that you have loaded the file
The Villan's Avatar
Senior Member with 2,003 posts.
 
Join Date: Feb 2006
Location: Lincolnshire UK
Experience: Advanced at times
05-Jun-2008, 05:12 PM #5
Are you Boston USA or Boston Lincolnshire UK?
SimonB's Avatar
Computer Specs
Junior Member with 24 posts.
 
Join Date: Sep 2004
Location: Boston, MA, USA area
Experience: Intermediate
05-Jun-2008, 05:12 PM #6
Quote:
Originally Posted by The Villan View Post
Give it another try Simon, as it doesn't seem that you have loaded the file
I'm new at this...
Attached Files
File Type: zip Cut-Fill Calculator57(cut temp).zip (407.7 KB, 96 views)
The Villan's Avatar
Senior Member with 2,003 posts.
 
Join Date: Feb 2006
Location: Lincolnshire UK
Experience: Advanced at times
05-Jun-2008, 05:51 PM #7
Quite a complex workbook (animal) :-)
OK had a quick look and the first question I would ask and want to understand is -

Why do you have to keep on changing the formulas? By constantly changing the formulas is a nightmare and can lead to errors in the spreadsheets unless you are doing an audit each time before you release the new uopdated version.

Can you give some examples of why and what you would change.
SimonB's Avatar
Computer Specs
Junior Member with 24 posts.
 
Join Date: Sep 2004
Location: Boston, MA, USA area
Experience: Intermediate
05-Jun-2008, 06:28 PM #8
Quote:
Originally Posted by The Villan View Post
Quite a complex workbook (animal) :-)
OK had a quick look and the first question I would ask and want to understand is -

Why do you have to keep on changing the formulas? By constantly changing the formulas is a nightmare and can lead to errors in the spreadsheets unless you are doing an audit each time before you release the new uopdated version.

Can you give some examples of why and what you would change.
I'm still developing it, so it's evolving. This is a question I have struggled with before, too, so I thought I would consult the experts and see how they would do it.

SimonB
SimonB's Avatar
Computer Specs
Junior Member with 24 posts.
 
Join Date: Sep 2004
Location: Boston, MA, USA area
Experience: Intermediate
05-Jun-2008, 06:43 PM #9
I'm in Boston, MA USA, not England, but I have a brother in Cornwall.
The Villan's Avatar
Senior Member with 2,003 posts.
 
Join Date: Feb 2006
Location: Lincolnshire UK
Experience: Advanced at times
05-Jun-2008, 06:45 PM #10
You haven't explained why you would want to keep on changing the formulas. Until you answer that, then we are not moving forward.
SimonB's Avatar
Computer Specs
Junior Member with 24 posts.
 
Join Date: Sep 2004
Location: Boston, MA, USA area
Experience: Intermediate
05-Jun-2008, 06:48 PM #11
It is still being developed. As I move forward with the development I find the need to change the formulas, taking new variables into account, or correcing faulty logic, for example. Once I get it where I want it, I shouldn't have to change it any more.
The Villan's Avatar
Senior Member with 2,003 posts.
 
Join Date: Feb 2006
Location: Lincolnshire UK
Experience: Advanced at times
05-Jun-2008, 07:37 PM #12
OK thats better. you had me worried there :-)

I can see where you are coming from.

I would keep it the way it is and do the following (as an idea)
Create a range name called FillTypeA for cells E15 to G17
Create a range name called FillTypeAll for cells E15 to AZ59

Then create a macro that will copy the cells in FilltypeA to all the other cells from E15 to AZ59

The macro which could be c alled CopyFillType would look like this.

Sub CopyFillType()
'
' CopyFillType Macro
' Macro recorded 05/06/2008 by Simon
'

'
Application.Goto Reference:="FillTypeA"
Selection.Copy
Application.Goto Reference:="FillTypeAll"
ActiveSheet.Paste
Application.Goto Reference:="R15C5"
End Sub

You can then make the changes in E15 to G17 and then run the macro to update all the other cells in FilTypeAll

I hope you understand what I am getting at.

Their are a lot of excellent Macro doods on here that can run you through this if you need any help. The fact that everything is relative makes it simple if you do as above.

Get back if that isn't quite what you were looking for - maybe a bit too simple :-)

I will be going to bed soon. 23:35 in the UK and i need to get up early tomorrow morning.
SimonB's Avatar
Computer Specs
Junior Member with 24 posts.
 
Join Date: Sep 2004
Location: Boston, MA, USA area
Experience: Intermediate
05-Jun-2008, 09:29 PM #13
To thoughts on this idea:
1) It's a good example of why I need to learn macros and/or VB. I Used to be really good at Lotus123 macros, but never picked up the MS stuff when the world shifted boats midstream.
2) I was wondering if there is some sort of function like Indirect that might provide a virtual translation of a formula in one cell to another.

Have a good night.
The Villan's Avatar
Senior Member with 2,003 posts.
 
Join Date: Feb 2006
Location: Lincolnshire UK
Experience: Advanced at times
06-Jun-2008, 05:30 AM #14
I can't think of anything from my point of view that would simplify things the way you want, without a lot of effort and that then defeats the issue.

Personally, I would go down the macro route for what you are trying to do.
Reply

Tags
excel, formulas

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.

Search Tech Support Guy

Find the solution to your
computer problem!




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



Facebook Facebook Twitter Twitter TechGuy.tv TechGuy.tv Mobile TSG Mobile
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 03:13 AM.
Copyright © 1996 - 2011 TechGuy, Inc. All rights reserved.

Powered by Cermak Technologies, Inc.