Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
JBollinger1234
 
Posts: n/a
Default Generate 1-to-1 outputs for a list of inputs into a excel formula

I have a detailed workbook in excel that is using a series of approximately
50 formulas and lookup tables to generate a result based on a few inputs that
are fed into the formulas. While I understand, and consider myself to be
proficient with macros, I was wondering if there is any way that I could
create a list of several hundred input parameters that would be fed into the
equations and have excel organize the answers that are generated.
  #2   Report Post  
Posted to microsoft.public.excel.misc
JLatham
 
Posts: n/a
Default Generate 1-to-1 outputs for a list of inputs into a excel formula

The quick answer is yes. The longer part of the answer involves how you want
to provide the input parameters. I would assume that they need to be easily
altered so you can look at different results based on different inputs.

The easiest way is probably something like adding a sheet to the workbook
that you would use to enter the parameters and have your formulas pick up the
values from it.

Simple Example:
You have a formula somewhe =(5 + 4)^2
On your new sheet you put 5 in A1, 4 in B2 (and the sheet's name is Sheet2)
You could revise your formula to: =(Sheet2!A1 + Sheet2!B2)^2

Other alternatives would be retrieving the data items from a text file. I
work with some people who have laboratory test results that the test
equipment creates .txt files containing the test results and we just read
those right into Excel spreadsheets for analysis. Similarly you could
retrieve the parameters from other sources such as a relational database.

In the cases where you are retrieving the parameters from external sources
(.txt files, databases, etc) you would then have the code place the parameter
items into specific locations in your workbook and attack it like the simple
example above.

Hope this assists you in your search for an answer. Just remember that
pretty much anything you can do from the keyboard, you can do within a macro
although you may not always be able to record a macro to do it all. The
macro recorder is very literal minded and often custom modification or just
from the ground up building of custom code is needed to provide a solution to
a complex activity.


"JBollinger1234" wrote:

I have a detailed workbook in excel that is using a series of approximately
50 formulas and lookup tables to generate a result based on a few inputs that
are fed into the formulas. While I understand, and consider myself to be
proficient with macros, I was wondering if there is any way that I could
create a list of several hundred input parameters that would be fed into the
equations and have excel organize the answers that are generated.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I generate the excel chart with out opening the excel instance? ramkumar_cpt Charts and Charting in Excel 1 March 1st 06 05:22 PM
How do I create a List in Excel 2000 Watch Online Excel Worksheet Functions 1 January 31st 06 07:45 PM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
How do I view the actual numeric value of a formula in Excel 2002. Excel Function Help Excel Worksheet Functions 0 January 13th 05 10:07 PM
Excel 2003: Match one list against another and highlight differenc smithers2002 Excel Worksheet Functions 1 January 11th 05 03:22 PM


All times are GMT +1. The time now is 02:56 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"