Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / March 2008

Tip: Looking for answers? Try searching our database.

Best way to handle collection of similar calculations?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Three Lefts - 29 Mar 2008 18:30 GMT
I frequently encounter situations where I want to perform a set of
similar calculations on different data. If it's a table, like new a
series of readings over time, I can set up a row for each entry and
copy the formulas down each time I add a new row.

But what if I want to replicate the entire sheet such as starting a
new series of readings? Is there some way to set up some kind of
"template" sheet that will be used for multiple derivative sheets?

Say I am keeping track of mileage and service for a car. I have a
sheet set up with rows and columns where I can enter gas purchases and
odometer readings.

If I buy a new car, can I set up a new sheet for the new car based on
the formulas for the old one?

And now for the $64,000 question, if I find a bug in a formula or make
a change, can I set it up so that all of the derivative sheets get
changed?

If I wrote a program, I could have the same calculation routine run
against a list of values. Is there something similar in Excel?
Tim879 - 29 Mar 2008 18:40 GMT
One possible solution would be to use user defined functions to
perform your calculations. Then if you update the calculation in a
single spot (i.e. the module containing the UDF, the change will be
made everywhere you used the function).

Just do a google search for Excel User Defined Functions and you'll
get plenty of walkthroughs on how to create / use them.

> I frequently encounter situations where I want to perform a set of
> similar calculations on different data. If it's a table, like new a
[quoted text clipped - 18 lines]
> If I wrote a program, I could have the same calculation routine run
> against a list of values. Is there something similar in Excel?
Three Lefts - 29 Mar 2008 20:51 GMT
>One possible solution would be to use user defined functions to
>perform your calculations. Then if you update the calculation in a
[quoted text clipped - 26 lines]
>> If I wrote a program, I could have the same calculation routine run
>> against a list of values. Is there something similar in Excel?

I was looking for something that would apply to the entire sheet.

After a little more thought, I am coming to the conclusion that what
I'm talking about is an application that is more suitable for a
database than a spreadsheet. I'd define the columns of raw data, One
of those columns (the first, probably) would identify the "unit" (eg,
the car). Then I'd define a user form that would ask for the CarID and
do a standard set of calculations on the raw data. When I have new
data, it enter it in the table and run the user form.

Can I do something similar in Excel?

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.