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 / New Users / December 2007

Tip: Looking for answers? Try searching our database.

Need more help with formula

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
George - 19 Dec 2007 21:15 GMT
I posted the following the other day and received a few answers.

It appeared to be working but it is simply subtracting the two columns
rather then the different bewteen the two dates.

With the formula I was given if I enter in column C3   01/03/2008 and column
D3   01/04/2008 it gives me 1 day, should be 2 days.

Here is what I asked !

I need help with a formula for Cell E3 that will give me the total days
between cell C3 and D3 - Here's what I am trying to do.

Column C3 - Enter Deployment Start Date

Column D3 - Enter Deployment Return Date

Column E3 - Total Days Deployed

As of now I am using =SUM(D3-C3) but it does some strange things.
If only C3 or D3 are filled in it gives a bogus number until both cells are
filled
in. Also it always displays the number zero unless a value is entered - I
would rather the cell remain blank if cells C3 and D3 are blank.

Thanks
T. Valko - 19 Dec 2007 21:30 GMT
Try this:

=IF(COUNT(C3:D3)<2,"",D3-C3+1)

Signature

Biff
Microsoft Excel MVP

>I posted the following the other day and received a few answers.
>
[quoted text clipped - 24 lines]
>
> Thanks
Bob Phillips - 19 Dec 2007 21:33 GMT
=IF(OR(C3="",D3=""),"",D3-C3+1)

Signature

---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

>I posted the following the other day and received a few answers.
>
[quoted text clipped - 24 lines]
>
> Thanks
 
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.