Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   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 06:26 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"