pls help sourcing info in formula from cell

sleepers

Board Regular
Joined
May 26, 2004
Messages
203
=IF(ISERROR(J2(INDIRECT($M$13),B7)),"",(J2(INDIRECT($M$13),B7)))

i have 3 scripts in modules.

on my output page i want to be able to select which script sets the page by typing either 1,2,3 in cell J2 and then the formula above will put in either

1=Concatsetdays
2=Concatsetdays2
3=Concatmth

if i type 1 then the first function will fill the page formula in J2 area of formula above

----------------------------------

someone just posted to this and i got an email telling me but when i go to view it - it sais it does not exist. could the person please post response again??
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.

PaddyD

MrExcel MVP
Joined
May 1, 2002
Messages
14,234
40 or so views of your post & no replies - I conclude that we can't quite decipher what you mean.

Let me try & guess - are you saying that you;ve got 3 sheets in your file:

Concatsetdays
Concatsetdays2
Concatmth

...that yoiu want to be variables in your formula?

Please post again with a more detailed example.
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,056
Messages
5,835,158
Members
430,342
Latest member
Sailingexcel

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
Top