Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 5
Default Calculate Days between 2 dates

Hiya,

I'm using the simple option =A1-A2 to calculate the days (in cell A3)
between 2 dates.
Now I want to do the same but if A2 is blank the cell A3 has to stay bank too.
How will I do this in a nice option?

  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 2,646
Default Calculate Days between 2 dates

=IF(ISBLANK(A2),"",A1-A2)
Regards,
Stefi


MR.WJCA ezt *rta:

Hiya,

I'm using the simple option =A1-A2 to calculate the days (in cell A3)
between 2 dates.
Now I want to do the same but if A2 is blank the cell A3 has to stay bank too.
How will I do this in a nice option?

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
How to Calculate No. of Days between two dates crimsonkng Excel Worksheet Functions 3 April 21st 07 02:17 AM
Automatically calculate days between dates JerryS Excel Worksheet Functions 3 February 10th 07 01:56 AM
Calculate days between dates sunita_shaw Excel Worksheet Functions 4 March 7th 06 07:28 PM
calculate number of days btw dates Nelson Excel Worksheet Functions 2 March 2nd 06 01:02 AM
how do I calculate the days between dates? stucklady! Excel Discussion (Misc queries) 7 February 12th 05 04:39 PM


All times are GMT +1. The time now is 08:34 AM.

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"