Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
Pat Pat is offline
external usenet poster
 
Posts: 210
Default Count Days until Completion

Is there a way to count days (with a date enter in Start Column) until
"Completed" or "Cancel" is entered in my Status Column?

Right now, it is calculating on the Start and Completion Date. If the
completion date is blank - I receive wrong date in the duration column.

Start Date: 4/1/10
Completion Date: 4/5/10
Status: Completed
Duration: 4


--
pls
  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 563
Default Count Days until Completion

Let's say your stuff is in A1:B4 with labels in A;
In B4 to compute duration we could use any of these
A) =IF(B20, (B2-B1),"") or=IF(B2, (B2-B1),"") since a positive value in
B2 will be treated as TRUE
B) =IF(OR(B3="Completed",B3="Cancel"), B2-B1, "")
C) =IF(LEFT(B3)="C",B2-B1,"")
best wishes
--
Bernard Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme

"Pat" wrote in message
...
Is there a way to count days (with a date enter in Start Column) until
"Completed" or "Cancel" is entered in my Status Column?

Right now, it is calculating on the Start and Completion Date. If the
completion date is blank - I receive wrong date in the duration column.

Start Date: 4/1/10
Completion Date: 4/5/10
Status: Completed
Duration: 4


--
pls


  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 9
Default Count Days until Completion

Pat penned:
Is there a way to count days (with a date enter in Start Column) until
"Completed" or "Cancel" is entered in my Status Column?


Right now, it is calculating on the Start and Completion Date. If the
completion date is blank - I receive wrong date in the duration column.


Start Date: 4/1/10
Completion Date: 4/5/10
Status: Completed
Duration: 4



If the start date is in A1 the completed Dated in B1 in C1 put

=IF(OR(B1="",B1="cancel"),"",B1-A1)

and format C1 as a number

--
Steve

I think age is a very high price to pay for maturity.
- Tom Stoppard
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
Count distinct days from two groups of days Colin Excel Worksheet Functions 4 February 17th 10 07:14 PM
Count Days more than 180 days prior to today Gregory Day Excel Worksheet Functions 4 March 28th 08 10:16 PM
When word says Install I want it count the days for 3 days w.o wee CYNTHIA Excel Worksheet Functions 1 March 23rd 08 05:28 AM
COUNT how many ROWS ago out of 10 days that the highest high in 10 days was made rhhince Excel Worksheet Functions 1 January 14th 07 09:56 PM
Count of days Albert Excel Worksheet Functions 5 March 2nd 05 08:33 PM


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