LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 60
Default Function to evaluate function as string

Hi all,

I have a dataset where for every row in one field (ie Column F) I need a
different function to be performed based on the entry in another column (B).

As such, I have been able to create a text string that represents the
correct function to be evaluated for each of the cells in this Column F. The
problem is I don't know how to convert this function as text to be a function
that is actually evaluated.

To give you an example, the cell F75 contains this formula:
=IF(VLOOKUP(D175,Translation!$A$2:$D$40,2,FALSE)=" ",B175,TRIM(SUBSTITUTE(VLOOKUP(D175,Translation!$A $2:$D$40,2,FALSE),"B1",CELL("address",B175))))

The output is this text string:
=RIGHT($B$175,LEN($B$175)-SEARCH(" ",$B$175))

What I need is the evaluation of the above.

Is there a function that will generate this evaluated output?

I really need to avoid using code as once completed, this workbook will need
to be dynamic and sent to people in different companies, hence I need to
avoid the macro security issues.

Many thanks,

Basil
 
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
Array Function to Evaluate Dates LarryP Excel Worksheet Functions 6 April 15th 08 02:58 PM
Evaluate function Stefi Excel Worksheet Functions 7 November 21st 07 12:50 PM
Evaluate text string as a function benb Excel Discussion (Misc queries) 3 July 19th 06 02:41 PM
Using AND function to evaluate cells murphyslaw18 Excel Worksheet Functions 1 January 13th 06 12:38 AM
EVALUATE Function Frank H. New Users to Excel 4 January 6th 05 02:34 AM


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