Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / March 2008

Tip: Looking for answers? Try searching our database.

Formula contains "" but cell still shows a value

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Glenn - 12 Mar 2008 13:18 GMT
I've "inherited" a workbook, and it contains the formula
=IF(A13<>"",NETWORKDAYS(B13,G13,Holidays!$B$1:$B$28),"")

The problem is that G13 has no value but the results cell has a value of
-28053 which makes no sense.  A13 has a value.

Can someone tell me how to have the cell be blank when no value is in G13?

Thank you
Mike H - 12 Mar 2008 13:27 GMT
Maybe

=IF(AND(A13<>"",G13<>""),NETWORKDAYS(B13,G13,Holidays!$B$1:$B$28),"")

Mike

> I've "inherited" a workbook, and it contains the formula
> =IF(A13<>"",NETWORKDAYS(B13,G13,Holidays!$B$1:$B$28),"")
[quoted text clipped - 5 lines]
>
> Thank you
Glenn - 12 Mar 2008 13:43 GMT
That's fantastic Mike!  Thank you for the quick and correct solution.

> Maybe
>
[quoted text clipped - 11 lines]
> >
> > Thank you
Mike H - 12 Mar 2008 13:55 GMT
Your welcome and thanks for the feedback

> That's fantastic Mike!  Thank you for the quick and correct solution.
>
[quoted text clipped - 13 lines]
> > >
> > > Thank you
Keith Howard - 13 Mar 2008 22:25 GMT
I think I have a closely related question (maybe I would rewrite my title to
be "Cell appears to contain no value but Excel thinks the cell is not blank":

In a given column of, say, 100 rows, only a few rows have data that is
visible. These are not adjacent rows. Normally, you can press End Down to get
to the next row containing data.

But in my column, the empty rows have data even though they appear empty, i.e.
ISBLANK(A1) = False and Len(A1) = 0...but I cannot see any data in A1.
A1 should be read as a proxy for any cell in that column.

I am trying to purge the apprently but not actually empty cells, so that I
can use End Down as I describe above.

Does that make any sense?

Regards,

Keith

==========

> Your welcome and thanks for the feedback
>
[quoted text clipped - 15 lines]
> > > >
> > > > Thank you
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.