Dynamic use of named formula

SUHASA SHETTY

New Member
Joined
Apr 17, 2014
Messages
10
Hi..
We can use INDIRECT function for dynamic selection of cell reference or named range or range linking to cell, it is not working for named formula.

Eg..
ABC, ACB, BAC are a named formulae..
The cell A3 is having dropdown list with texts "ABC","ACB","BAC".
My requirement is that B3 shall provide the result based on the selection from the dropdown list.
What formula i have to write in cell B3 to get the values i.e., =ABC or =ACB or =BAC.
Is there any solution in excel. Can INDIRECT function be used.
Thanks
Suhas
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
Hi

Indirect works with named ranges, not aleays with named formulas.

1 - Can you post for ex. the definition of the named formula ABC?

2 - do you need this just for B3 or do you have the dropdown in more cells in column A and want this for the corresponding cells to the right, in column B?
 
Last edited:
Upvote 0
1. ABC is a named reference for a formula, Say ABC=Formula 1 based on some criteria, ACB is formula based on other criteria....

2. It may be anywhere in worksheet, any number of times

This can be done using "IF" function.

For name or range or cell, we can use Indirect function, eg. =INDIRECT("$A$"&ROW()). It will not work for formula that is named.. answer will be a reference error..


Hi

Indirect works with named ranges, not aleays with named formulas.

1 - Can you post for ex. the definition of the named formula ABC?

2 - do you need this just for B3 or do you have the dropdown in more cells in column A and want this for the corresponding cells to the right, in column B?
 
Upvote 0
Hi

Well, since you did not post any formula I cannot be sure if this is an adequate solution to your problem, but ...

this is usually solved by adding a name that evaluates the cell to the left.

This would be

- Select B3
- Create a name
Name: EvalLeft
Refers to: =EVALUATE(A3)

Then in B3:

=EvalLeft

You can use this name in any cell and it will evaluate the cell to the left.
 
Upvote 0

Forum statistics

Threads
1,214,593
Messages
6,120,434
Members
448,961
Latest member
nzskater

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