Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 32
Default Info function which identfies a formula

I have long columns consisting of numbers, formulas, and blanks. I need an
info type function that returns true for a cell containing a formula. Does
that exist, or is there a way to do this?

Thanks,
Art
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Info function which identfies a formula

Press F5 Special Check Formulas OK
will select all cells with formulas in the sheet

You could then format to taste at one go, etc
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:19,500 Files:362 Subscribers:62
xdemechanik
---
"ArthurJ" wrote:
I have long columns consisting of numbers, formulas, and blanks. I need an
info type function that returns true for a cell containing a formula. Does
that exist, or is there a way to do this?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default Info function which identfies a formula

Hi Art:

Here is a User Defined Function that you can try:

Function isformula(r As Range) As Boolean
isformula = r.HasFormula
End Function


UDFs are very easy to install and use:

1. ALT-F11 brings up the VBE window
2. ALT-I
ALT-M opens a fresh module
3. paste the stuff in and close the VBE window

If you save the workbook, the UDF will be saved with it.

To use the UDF from the normal Excel window, just enter it like a normal
Excel Function

To remove the UDF:

1. bring up the VBE window as above
2. clear the code out
3. close the VBE window

To learn more about UDFs, see:

http://www.cpearson.com/excel/Writin...ionsInVBA.aspx

--
Gary''s Student - gsnu200809


"ArthurJ" wrote:

I have long columns consisting of numbers, formulas, and blanks. I need an
info type function that returns true for a cell containing a formula. Does
that exist, or is there a way to do this?

Thanks,
Art

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
FUNCTION that reads 7 worksheets and brings info into another work jcheko Excel Worksheet Functions 0 February 19th 08 07:22 PM
What function-bring me the info in the next column-same row? jeel Excel Worksheet Functions 9 January 26th 08 10:43 PM
IF function? Moving the same info from one worksheet to another. Naomi Excel Worksheet Functions 3 October 26th 06 07:46 PM
lookup function bringing in wrong info Julieeeee Excel Worksheet Functions 8 August 24th 05 03:53 PM
Is there a function that will return info of the cursor location? cbre_bryork Excel Worksheet Functions 3 May 15th 05 02:02 AM


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