Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
ViMuTo
 
Posts: n/a
Default lookup on named formula


I have 2 columns:
col A contains unique codes
col B contains the names of named formulas

TTT name1
TTF name2
TFT name3
TFF name4

Is there a way to do a lookup or index/match or whatever to find the
appropriate code in column A and perform the corresponding named
formula in column B?


--
ViMuTo
------------------------------------------------------------------------
ViMuTo's Profile: http://www.excelforum.com/member.php...o&userid=32125
View this thread: http://www.excelforum.com/showthread...hreadid=520138

  #2   Report Post  
Posted to microsoft.public.excel.misc
ViMuTo
 
Posts: n/a
Default lookup on named formula


Ooops. Accidentally duplicated. Sorry!


--
ViMuTo
------------------------------------------------------------------------
ViMuTo's Profile: http://www.excelforum.com/member.php...o&userid=32125
View this thread: http://www.excelforum.com/showthread...hreadid=520138

  #3   Report Post  
Posted to microsoft.public.excel.misc
Miguel Zapico
 
Posts: n/a
Default lookup on named formula

You can use evaluate(), but not directly. Here is an example:
http://www.ozgrid.com/News/excel-eva...ormula-VBA.htm
--
It is nice to be important, but it is more important to be nice


"ViMuTo" wrote:


I have 2 columns:
col A contains unique codes
col B contains the names of named formulas

TTT name1
TTF name2
TFT name3
TFF name4

Is there a way to do a lookup or index/match or whatever to find the
appropriate code in column A and perform the corresponding named
formula in column B?


--
ViMuTo
------------------------------------------------------------------------
ViMuTo's Profile: http://www.excelforum.com/member.php...o&userid=32125
View this thread: http://www.excelforum.com/showthread...hreadid=520138


  #4   Report Post  
Posted to microsoft.public.excel.misc
Herbert Seidenberg
 
Posts: n/a
Default lookup on named formula

Assuming your data looks like this:
The constants a
An Bn
8 2
The four named operation formulas a
Op1 Op2 Op3 Op4
=An*Bn =An/Bn =An+Bn =An-Bn
16 4 10 6

Here is the lookup table with headers:
code op_name
TTT op1
TTF op2
TFT op3
TFF op4

Here is the user interface:
input output
TFF 6

Type in the code you are searching into the input cell.
The output cell formula is:
=CHOOSE(MATCH(input,code,0),Op1,Op2,Op3,Op4)

  #5   Report Post  
Posted to microsoft.public.excel.misc
ViMuTo
 
Posts: n/a
Default lookup on named formula


Miguel and Herbert, thank you very much for your suggestions!

In this situation, I believe the information that Herbert provided is
going to work out in the way that I need it to. Thank you very much for
your wonderfully clear instructions! I greatly appreciate it!!!


--
ViMuTo
------------------------------------------------------------------------
ViMuTo's Profile: http://www.excelforum.com/member.php...o&userid=32125
View this thread: http://www.excelforum.com/showthread...hreadid=520138

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
LOOKUP FORMULA INTERSECTION OF A COLUMN AND (TWO) VALUES IN A ROW SID Excel Worksheet Functions 1 February 10th 06 09:37 PM
Using a formula to create named range reference [email protected] Excel Worksheet Functions 4 June 29th 05 08:03 PM
Lookup Formula - but have a formula if it can't find/match a value Stephen Excel Worksheet Functions 11 June 14th 05 05:32 AM
referencing named formula using INDIRECT function [email protected] Excel Worksheet Functions 19 May 11th 05 09:48 AM
Excel2K: Is it possible to use dynamic named ranges in custom data validation formula? Arvi Laanemets Excel Discussion (Misc queries) 0 December 2nd 04 11:29 AM


All times are GMT +1. The time now is 04:06 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"