Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Check for References to Blank Cells

Behavior for some functions is different when used as a function in a cell -
Special cells for one. Find in xl2000 and earlier (doesn't work). This is
one of them. I can't say why.

As you have stated, precedents and directprecedents and dependents and
directdependents do not work off sheet. The workaround is to use the Excel4
macro approach of follow arrows I believe. Stephen Bullen uses that
technique in his utility to find circular errors.

http://www.oaltd.co.uk/Excel/Default.htm

--
Regards,
Tom Ogilvy

"scattered" wrote in message
oups.com...


Tom Ogilvy wrote:
Note that this function will not return correct results if used in a
worksheet cell such as

=RefersToBlanks(B10)

(snip)
Regards,
Tom Ogilvy



Thanks for pointing this out.

Why doesn't the function work in a worksheet cell? I know that you
can't put functions with side effects (like message boxes) in a cell,
but I don't see any side effects in my function. Is the problem with
recursion as such?

Another problem with my function is that it doesn't work with
precedents in another sheet. Is there any work around? (The approach
using Precedents instead of DirectPrecedents has the same problem)

Have a good day

-John Coleman



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
Check for Non Blank and Blank Cells Before Save igbert Excel Discussion (Misc queries) 2 July 2nd 09 08:36 PM
How to check for blank cells with formula Bob Flanagan[_2_] Excel Discussion (Misc queries) 3 January 7th 09 04:12 AM
Using Vlookup and IF statements to check for blank cells Koomba Excel Worksheet Functions 4 September 27th 08 03:54 PM
check for two blank cells before populating a 3rd. slinger Excel Worksheet Functions 6 October 25th 06 08:14 PM
References to Blank Cells turn into Zeros statusquo Excel Worksheet Functions 3 December 13th 05 02:44 AM


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