LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 39
Default Retrieve formula instead of value

I suspect you need a customs VBA function:


Function celFormula(C As Range) As String
celFormula = Cell.Formula
End Function




willemeulen wrote in
:


Does anyone know if it is possible to retrieve a fromula instead of a
value from another cell.

Now I have a huge lookup table where I use match/index function to
retrieve formula's result. For each cell I have all possible results
calculated (+/- 360 rows by 40 columns), depending on the code
(columns=formula) it returns the value. But I'm wondering if excel
does have any function/command to retrieve a formula while looking up
and not the result. This would do away with my huge lookup table,
instead I would have only a small lookup table with formula's and only
use a vlookup to retrieve the formula (40 rows by 2 columns). Problems
would be that the formula must overwrite the vlookup funcion or write
the formula in another cell.

Thanks,

W





--
 
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
Is there a function/formula to retrieve the weeknumber? Marijke Excel Worksheet Functions 1 October 5th 07 11:36 AM
How to retrieve the value from formula? Eric Excel Worksheet Functions 4 June 21st 07 02:39 PM
Need formula to retrieve last non-blank cell in range Eric Excel Discussion (Misc queries) 7 July 20th 06 01:29 PM
Formula to retrieve range of dates from a worksheet to calculate d accented Excel Worksheet Functions 0 January 10th 06 09:52 PM
retrieve cell formatting with IF(HLOOKUP) formula useR Excel Worksheet Functions 2 August 3rd 05 06:55 PM


All times are GMT +1. The time now is 02:28 AM.

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"