Identifying tasks based on the value of preceding tasksede them

Innoguide

Board Regular
Joined
Sep 13, 2011
Messages
159
I have a project network spreadsheet shown below and in column BT I need to identify each non-critical path task (value in column BS is "N") that has a critical path task (value in column BS is "Y") as one of it's immediate predecessors. Predecessor tasks are listed with commas separating them in column G. They are also separated out into columns H through Q for another function in the spreadsheet if that helps.

Note: Task ID's can be numeric or text

Thanks in advance for any help
Excel Workbook
BGBSBT
11Task IDPreceding Tasks * * * * * *(comma seperated)CP?*
12Start*Y*
13aStartY*
14baY*
15dbY*
16ebNX
17cbNX
18fcN*
19g*N*
20h*N*
21ihN*
22je,d,i,g,fY*
23kjY*
24Finishk**
250***
Sheet
 
Last edited:

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
Sorry - I'm still learning to use HTML genie
Excel Workbook
BGBSBT
11Task IDPreceding Tasks (comma seperated)CP?
12StartY
13aStartY
14baY
15dbY
16ebNX
17cbNX
18fcN
19gN
20hN
21ihN
22je,d,i,g,fY
23kjY
24Finishk
250
Sheet
 
Last edited:
Upvote 0
Maybe this array-formula in BT2

=IF($BS2="Y","",IF(ISNUMBER(IF($G2<>"",MATCH("*"&$G2&"*",IF($BS$2:$BS$13="Y",$G$2:$G$13),0),"")),"X",""))

Ctrl+Shift+Enter

copy down

M.
 
Upvote 0
I hadnt seen your last post, but i think the formula still works. Checking

M.
 
Upvote 0
I think (hope ;) ) this is correct

BT12
=IF(OR($G12="",$BS12="Y"),"",IF(MAX(IFERROR(MATCH("*"&IF($BS$12:$BS$23="Y",$B$12:$B$23)&"*",$G12,0),""))>0,"X",""))

Ctrl+Shift+Enter

copy down

M.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,565
Messages
6,125,583
Members
449,237
Latest member
Chase S

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top