Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default gformula to find formulas

I need a formula that references another cell and tells me
whether that cell has a formula or a value in it.
Any ideas??
Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default gformula to find formulas

Hi
you may try the following UDF (put in a module of your workbook)

Function is_formula(rng As Range)
is_formula = rng.HasFormula
End Function

Now enter the following in A2 to check A1:
=IF(is_formula(A1),"A1 is a formula","A1 is a value")

--
Regards
Frank Kabel
Frankfurt, Germany

gary wrote:
I need a formula that references another cell and tells me
whether that cell has a formula or a value in it.
Any ideas??
Thanks.

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
Find Cells that do not have Formulas in them. Tony Excel Worksheet Functions 3 December 28th 07 02:04 PM
Can you please hel me to find the correct formulas george24 Excel Worksheet Functions 1 January 11th 07 11:38 AM
where can I find help with excel formulas? trying to learn Excel Discussion (Misc queries) 3 September 14th 06 08:23 AM
I NEED TO FIND TWO FORMULAS audi Excel Worksheet Functions 7 July 26th 05 08:36 PM
How find all formulas on tab? Ian Elliott[_3_] Excel Programming 4 January 15th 04 07:03 PM


All times are GMT +1. The time now is 06:09 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"