Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 1
Default Find first cell in row with an "x" in

Hi,

I've created a rudimentary Gantt chart.

Days are listed along row 2 in the form DD-MMM-YY
and Task are listed down column A.

I've marked with an "x" the cells which represent the days activity is happening as part of each task.

I want to create a Start date column and an end date column.

The start date column should read along the row left to right, when it encounters the first "x", return the date listed in row 2.

The End date column should read along right to left, when it encounters the first "x", return the date listed in row 2.

The first dates start in column F and finish in column BN

Collumn B will be for the start date, C for end Date (D has the resource initials)

Thanks for your help, I'm a newb!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 153
Default Find first cell in row with an "x" in

I've created a rudimentary Gantt chart.

Days are listed along row 2 in the form DD-MMM-YY
and Task are listed down column A.

I've marked with an "x" the cells which represent the
days activity is happening as part of each task.

I want to create a Start date column and an end date column.


Here's one way, with Gantt data in row 3.

Start date:
=INDEX($F$2:$BN$2,1,MATCH("x",F3:BN3,0))

End date:
=INDEX($F$2:$BN$2,1,MATCH("x",F3:BN3,0)+COUNTIF(F3 :BN3,"x")-1)

Copy down for subsequent rows.

Hope this helps getting started.
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
Whats wrong with this? MyWBAccRep.Sheets("Volumes").Cells.Find("latest").Copy.Offset(0, Simon[_2_] Excel Programming 2 August 11th 08 01:29 PM
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell Steve Kay Excel Discussion (Misc queries) 2 August 8th 08 01:54 AM
keyboard shortcut to return to previous cell after "find" or "got. Nadavb New Users to Excel 1 May 25th 08 01:39 AM
HELP on "left","right","find","len","substitute" functions serene83 Excel Discussion (Misc queries) 5 June 27th 06 02:23 AM


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