Call instance of Excel worksheets

davidcormie

New Member
Joined
Jul 13, 2011
Messages
4
Is there any way of calling an instance of a worksheet or range of cells? What I mean is that I have a complicated spreadsheet that is doing successive numerical integration operations based on input data supplied by the user. The output calculated by the spreadsheet varies depending on some boundary conditions to the problem (set in Cell A1 using a flag 1, 2, 3 and 4). For subsequent calculations I want to use the output returned in the range R2257:T2257.

Is there any way writing a formula that returns the values in the range R2257:T2257 assuming A1=1, 2, 3 or 4 for use in my subsequent calcs? My problem is that I need to combine the values from each case. I am aware I could return the values using a macro which sets A1=1, A1=2 etc, but for various reasons I need the calculations to be open rather than being coded. For efficiency and ease of auditing/editing the formulae I would rather not replicate the spreadsheet four times hard-coding the different values of A1 just so that all the values are available as direct results.

Any comments/ideas would be welcome.

David
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
I hadn't, but it seems this runs some what-if analysis and produces an offline report. What I need is similar but giving live/online what-if results calculated automatically and updated automatically if the data input is changed.
 
Upvote 0
Andrew,
Sorry - what I mean is that, in the MS example linked from your post above, if (say) the base unit price is changed, the user needs to run the reporting again to evaluate the what-if analysis. I'm looking for a way of coding the spreadsheet so that the results given in the what-if table are automatically updated if the unit price is changed.
 
Upvote 0

Forum statistics

Threads
1,224,599
Messages
6,179,831
Members
452,946
Latest member
JoseDavid

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top