Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 989
Default Evaluating a start and an end date

I have a spreadsheet that emulates Microsoft Project where the first column
has the activities and the hours go across in the columns, by month. The
engineers have already time phased each line item activity and now I need to
calculate the start date and the end date for each activity based on where
the time phased hours are placed (in what month). I'm assuming that all
activities that have hours are contiguous hours.

Start End Apr-08 May-08 Jun-08
Activity A ???? ??? 150hrs 120hrs 10hrs
Activity B€¦.


If at all possible, Id like to resolve this without VB€¦.but lets see what
you folks can come up with. Thanks in advance€¦..

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,441
Default Evaluating a start and an end date

Mark,

Array enter (enter using Ctrl-Shift-Enter)

=INDEX($1:$1,1,MIN(IF(NOT(ISBLANK(B2:IV2)),COLUMN( B2:IV2),1000)))
=INDEX($1:$1,1,MAX(IF(NOT(ISBLANK(B2:IV2)),COLUMN( B2:IV2))))

Assumes your dates are in row 1, labels in column A, and any "non-hour" cells are blank.

HTH,
Bernie
MS Excel MVP


"Mark" wrote in message
...
I have a spreadsheet that emulates Microsoft Project where the first column
has the activities and the hours go across in the columns, by month. The
engineers have already time phased each line item activity and now I need to
calculate the start date and the end date for each activity based on where
the time phased hours are placed (in what month). I'm assuming that all
activities that have hours are contiguous hours.

Start End Apr-08 May-08 Jun-08
Activity A ???? ??? 150hrs 120hrs 10hrs
Activity B..


If at all possible, I'd like to resolve this without VB..but let's see what
you folks can come up with. Thanks in advance...



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 989
Default Evaluating a start and an end date

Thanks......

I did a mock up and the End date worked, but the Start result was just the
text string "Start".

Here is the result....

Start End Apr-08 May-08 Jun-08 Jul-08
Activity A Start May-08 160 160
Activity B Start Jul-08 160 160
Activity C Start Jun-08 50 50



"Bernie Deitrick" wrote:

Mark,

Array enter (enter using Ctrl-Shift-Enter)

=INDEX($1:$1,1,MIN(IF(NOT(ISBLANK(B2:IV2)),COLUMN( B2:IV2),1000)))
=INDEX($1:$1,1,MAX(IF(NOT(ISBLANK(B2:IV2)),COLUMN( B2:IV2))))

Assumes your dates are in row 1, labels in column A, and any "non-hour" cells are blank.

HTH,
Bernie
MS Excel MVP


"Mark" wrote in message
...
I have a spreadsheet that emulates Microsoft Project where the first column
has the activities and the hours go across in the columns, by month. The
engineers have already time phased each line item activity and now I need to
calculate the start date and the end date for each activity based on where
the time phased hours are placed (in what month). I'm assuming that all
activities that have hours are contiguous hours.

Start End Apr-08 May-08 Jun-08
Activity A ???? ??? 150hrs 120hrs 10hrs
Activity B..


If at all possible, I'd like to resolve this without VB..but let's see what
you folks can come up with. Thanks in advance...




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,441
Default Evaluating a start and an end date

Mark,

Change the B in both of the the B2:IV2 addresses to the letter of the first column of -possibly-
entered hours. If column F is the first, then use F2:IV2.....

HTH,
Bernie
MS Excel MVP


"Mark" wrote in message
...
Thanks......

I did a mock up and the End date worked, but the Start result was just the
text string "Start".

Here is the result....

Start End Apr-08 May-08 Jun-08 Jul-08
Activity A Start May-08 160 160
Activity B Start Jul-08 160 160
Activity C Start Jun-08 50 50



"Bernie Deitrick" wrote:

Mark,

Array enter (enter using Ctrl-Shift-Enter)

=INDEX($1:$1,1,MIN(IF(NOT(ISBLANK(B2:IV2)),COLUMN( B2:IV2),1000)))
=INDEX($1:$1,1,MAX(IF(NOT(ISBLANK(B2:IV2)),COLUMN( B2:IV2))))

Assumes your dates are in row 1, labels in column A, and any "non-hour" cells are blank.

HTH,
Bernie
MS Excel MVP


"Mark" wrote in message
...
I have a spreadsheet that emulates Microsoft Project where the first column
has the activities and the hours go across in the columns, by month. The
engineers have already time phased each line item activity and now I need to
calculate the start date and the end date for each activity based on where
the time phased hours are placed (in what month). I'm assuming that all
activities that have hours are contiguous hours.

Start End Apr-08 May-08 Jun-08
Activity A ???? ??? 150hrs 120hrs 10hrs
Activity B..


If at all possible, I'd like to resolve this without VB..but let's see what
you folks can come up with. Thanks in advance...






  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 989
Default Evaluating a start and an end date

Works great...THANKS !!!!



"Bernie Deitrick" wrote:

Mark,

Change the B in both of the the B2:IV2 addresses to the letter of the first column of -possibly-
entered hours. If column F is the first, then use F2:IV2.....

HTH,
Bernie
MS Excel MVP


"Mark" wrote in message
...
Thanks......

I did a mock up and the End date worked, but the Start result was just the
text string "Start".

Here is the result....

Start End Apr-08 May-08 Jun-08 Jul-08
Activity A Start May-08 160 160
Activity B Start Jul-08 160 160
Activity C Start Jun-08 50 50



"Bernie Deitrick" wrote:

Mark,

Array enter (enter using Ctrl-Shift-Enter)

=INDEX($1:$1,1,MIN(IF(NOT(ISBLANK(B2:IV2)),COLUMN( B2:IV2),1000)))
=INDEX($1:$1,1,MAX(IF(NOT(ISBLANK(B2:IV2)),COLUMN( B2:IV2))))

Assumes your dates are in row 1, labels in column A, and any "non-hour" cells are blank.

HTH,
Bernie
MS Excel MVP


"Mark" wrote in message
...
I have a spreadsheet that emulates Microsoft Project where the first column
has the activities and the hours go across in the columns, by month. The
engineers have already time phased each line item activity and now I need to
calculate the start date and the end date for each activity based on where
the time phased hours are placed (in what month). I'm assuming that all
activities that have hours are contiguous hours.

Start End Apr-08 May-08 Jun-08
Activity A ???? ??? 150hrs 120hrs 10hrs
Activity B..


If at all possible, I'd like to resolve this without VB..but let's see what
you folks can come up with. Thanks in advance...







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
Determining an annual review date from an employee start date Phrank Excel Worksheet Functions 3 November 29th 07 06:37 AM
How to programatically determine the start date and end date of a graph [email protected] Charts and Charting in Excel 1 November 7th 07 09:56 PM
Minimum Date Greater Than Observation Start Date vito Excel Discussion (Misc queries) 2 August 14th 07 03:02 PM
Calculating Difference Between Start Date & Time And End Date & Ti Samwar Excel Discussion (Misc queries) 2 December 19th 05 12:42 PM
how do I do a Planned vs Actual start date & end date graph chivy76 Charts and Charting in Excel 0 September 26th 05 07:47 AM


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