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
 

pgc01

MrExcel MVP
Joined
Apr 25, 2006
Messages
19,749
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:

SUHASA SHETTY

New Member
Joined
Apr 17, 2014
Messages
10
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?
 

pgc01

MrExcel MVP
Joined
Apr 25, 2006
Messages
19,749
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.
 

Forum statistics

Threads
1,081,747
Messages
5,361,038
Members
400,610
Latest member
ebey

Some videos you may like

This Week's Hot Topics

  • populate from drop list with multiple tables
    Hi All, i have a drop list that displays data, what i want is when i select one of those from the list to populate text from different tables on...
  • Find list of words from sheet2 in sheet1 before a comma and extract text vba
    Hi Friends, Trying to find the solution on my task. But did not find suitable one to the need. Here is my query and sample file with details...
  • Dynamic Formula entry - VBA code sought
    Hello, really hope one of you experts can help with this - i've spent hours on this and getting no-where. .I have a set of data (more rows than...
  • Listbox Header
    Have a named range called "AccidentsHeader" Within my code I have: [CODE]Private Sub CommandButton1_Click() ListBox1.RowSource =...
  • Complex Heat Map using conditional formatting
    Good day excel world. I have a concern. Below link have a list of countries that carries each country unique data. [URL...
  • Conditional formatting
    Hi good morning, hope you can help me please, I have cells P4:P54 and if this cell is equal to 1 then i want row O to say "Fully Utilised" and to...
Top