Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Jack
 
Posts: n/a
Default Determine number of days

In a chart, column G and L represent the entry and exit dates with the total
weeks of enrololment (difference) reflected in column S. I used the formula
=(L-G)/7 in column S. That determines the difference when columns G and L
contain dates. If G and L are empty cells, I get the VALVE error message.
How do I revise the formula to reflect a zero when column G and/or L do not
contain a date? Many thanks for the help.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Niek Otten
 
Posts: n/a
Default Determine number of days

Probably L and/or G is not empty; it may contain a space.
If they're empty, your formula will result in zero.

--
Kind regards,

Niek Otten

"Jack" wrote in message
...
In a chart, column G and L represent the entry and exit dates with the
total
weeks of enrololment (difference) reflected in column S. I used the
formula
=(L-G)/7 in column S. That determines the difference when columns G and L
contain dates. If G and L are empty cells, I get the VALVE error message.
How do I revise the formula to reflect a zero when column G and/or L do
not
contain a date? Many thanks for the help.



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
need help with formula Bryan J Bloom Excel Discussion (Misc queries) 11 October 31st 05 10:52 PM
How do I determine the number of cell formats in this workbook tucsonmissiledude Excel Discussion (Misc queries) 2 October 28th 05 05:59 AM
convert dates to number of days milk0s Excel Worksheet Functions 2 September 28th 05 01:31 PM
Where is DateDiff function in Excel 2002 ? Nigel Welch Excel Worksheet Functions 4 March 4th 05 03:18 PM
Calculating interest on number of days in the period Ron Excel Worksheet Functions 0 January 18th 05 12:59 AM


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