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?