Multiple formulae in one cell (vague title, sorry)

swelldandy

New Member
Joined
Feb 27, 2019
Messages
2
I have to create a work plan spreadsheet that tracks tasks, which have steps.

[TABLE="class: outer_border, width: 500"]
<tbody>[TR]
[TD]Task X [/TD]
[TD]Status[/TD]
[/TR]
[TR]
[TD]Step 1[/TD]
[TD]1. Status 1[/TD]
[/TR]
[TR]
[TD]Step 2[/TD]
[TD]2. Status 2[/TD]
[/TR]
[TR]
[TD]Step 3[/TD]
[TD]3. Status 3[/TD]
[/TR]
[TR]
[TD]Step 4[/TD]
[TD]4. Status 4[/TD]
[/TR]
[TR]
[TD]Step 5[/TD]
[TD]5. Status 5[/TD]
[/TR]
[TR]
[TD]Step 6[/TD]
[TD]6. Status 6[/TD]
[/TR]
</tbody>[/TABLE]

As each staff member completes the step, they will update the status line, for example "DoF approval received 01/01/2019"

From there, I would like to have a sheet where each task was condensed down into the task and the latest status. For example:

[TABLE="class: outer_border, width: 500"]
<tbody>[TR]
[TD]Task [/TD]
[TD]Status[/TD]
[/TR]
[TR]
[TD]Task 1 [/TD]
[TD]4. DoF approval received 01/01/2019[/TD]
[/TR]
[TR]
[TD]Task 2[/TD]
[TD]3. Approval requested by DoF [/TD]
[/TR]
</tbody>[/TABLE]

Is it possible to ask Excel to look at line 6 (in table 1), and if blank, look at line 5 so on and so forth until it finds text at which point it copies the status? Or is there a better way to do it? Or can it not be done at all?

Thanks for your time.
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
Hi,

This formula will return the Last Text entry in your range:


Book1
AB
1Task 1Status
2Step 11. Status 1
3Step 22. Status 2
4Step 33. Status 3
5Step 44. DoF approval received 01/01/2019
6Step 5
7Step 6
8
9
10TaskStatus
11Task 14. DoF approval received 01/01/2019
Sheet617
Cell Formulas
RangeFormula
B11=LOOKUP("zzz",B2:B7)
 
Upvote 0
Hi,

This formula will return the Last Text entry in your range:

AB
Task 1Status
Step 11. Status 1
Step 22. Status 2
Step 33. Status 3
Step 44. DoF approval received 01/01/2019
Step 5
Step 6
Task Status
Task 14. DoF approval received 01/01/2019

<colgroup><col style="width: 25pxpx"><col><col></colgroup><thead>
</thead><tbody>
[TD="align: center"]1[/TD]

[TD="align: center"]2[/TD]

[TD="align: center"]3[/TD]

[TD="align: center"]4[/TD]

[TD="align: center"]5[/TD]

[TD="align: center"]6[/TD]

[TD="align: right"][/TD]

[TD="align: center"]7[/TD]

[TD="align: right"][/TD]

[TD="align: center"]8[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]9[/TD]
[TD="align: right"][/TD]
[TD="align: right"][/TD]

[TD="align: center"]10[/TD]

[TD="align: center"]11[/TD]

</tbody>
Sheet617

[TABLE="width: 85%"]
<tbody>[TR]
[TD]Worksheet Formulas[TABLE="width: 100%"]
<thead>[TR="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DAE7F5]#DAE7F5[/URL] "]
[TH="width: 10px"]Cell[/TH]
[TH="align: left"]Formula[/TH]
[/TR]
</thead><tbody>[TR]
[TH="width: 10px, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DAE7F5]#DAE7F5[/URL] "]B11[/TH]
[TD="align: left"]=LOOKUP("zzz",B2:B7)[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]

Thank you so much, that's perfect :)
 
Upvote 0
You're welcome, welcome to the forum.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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