Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 122
Default Formula contains "" but cell still shows a value

I've "inherited" a workbook, and it contains the formula
=IF(A13<"",NETWORKDAYS(B13,G13,Holidays!$B$1:$B$2 8),"")

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
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Formula contains "" but cell still shows a value

Maybe

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

Mike

"Glenn" wrote:

I've "inherited" a workbook, and it contains the formula
=IF(A13<"",NETWORKDAYS(B13,G13,Holidays!$B$1:$B$2 8),"")

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

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 122
Default Formula contains "" but cell still shows a value

That's fantastic Mike! Thank you for the quick and correct solution.

"Mike H" wrote:

Maybe

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

Mike

"Glenn" wrote:

I've "inherited" a workbook, and it contains the formula
=IF(A13<"",NETWORKDAYS(B13,G13,Holidays!$B$1:$B$2 8),"")

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

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Formula contains "" but cell still shows a value

Your welcome and thanks for the feedback

"Glenn" wrote:

That's fantastic Mike! Thank you for the quick and correct solution.

"Mike H" wrote:

Maybe

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

Mike

"Glenn" wrote:

I've "inherited" a workbook, and it contains the formula
=IF(A13<"",NETWORKDAYS(B13,G13,Holidays!$B$1:$B$2 8),"")

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

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 14
Default Formula contains "" but cell still shows a value

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


==========

"Mike H" wrote:

Your welcome and thanks for the feedback

"Glenn" wrote:

That's fantastic Mike! Thank you for the quick and correct solution.

"Mike H" wrote:

Maybe

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

Mike

"Glenn" wrote:

I've "inherited" a workbook, and it contains the formula
=IF(A13<"",NETWORKDAYS(B13,G13,Holidays!$B$1:$B$2 8),"")

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

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
Cell Reference Shows "0" Dale[_3_] Excel Discussion (Misc queries) 1 January 22nd 08 06:36 AM
Sum formula result shows "#N/A" Dinesh Excel Worksheet Functions 3 August 19th 06 04:03 PM
When I type "13" the spreadsheet shows "14." Possibilities? Absolutely Stumped Excel Discussion (Misc queries) 7 May 30th 06 10:19 PM
In Excel a cell formatted "currency" shows "######" help! llveda Excel Worksheet Functions 2 April 7th 06 09:39 PM
Complex if test program possible? If "value" "value", paste "value" in another cell? jseabold Excel Discussion (Misc queries) 1 January 30th 06 10:01 PM


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