Constant Value at the Top of a Table

dlybb

New Member
Joined
Jun 1, 2009
Messages
13
Hey,

I have a table as follows:

Activity
Duration (days)
Date
Start Date
A
2
today()
today()
B
4
today()+previous
C
1
today()+previous
D
7
today()+previous

<tbody>
</tbody>

There are a number of activities that require a set amount of days to complete and a defined start date. I will filter the table so some activities will not be included, and I will rearrange the table so that the top cell is not constant (i.e. perhaps we will do activity B first).

Setting up the table so that each cell referenced the cell before is not a problem, BUT making it so that the top cell in the date column is always defined by a cell elsewhere in the sheet has me stumped.

Any ideas?
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
If you mean that you always want a formula to refer to B2 :

=OFFSET(B1,1,0)

Or

=INDIRECT("B2")
 
Upvote 0
The tricky part here is that I always want the first visible cell in the table to refer to cell B2. So if I filter so that the first row is hidden, I would like the next "B" to reference B2.
 
Upvote 0
The tricky part here is that I always want the first visible cell in the table to refer to cell B2. So if I filter so that the first row is hidden, I would like the next "B" to reference B2.

I would like the next "B" to reference B2
​Please explain with sample data/formulas.
 
Upvote 0
I would like the next "B" to reference B2
​Please explain with sample data/formulas.

I guess that was a little confusing.

In the tables below, the "Start Date" is a fixed input value, and the top row "Date" references that input value.

I would like it to work like this:

Table filtered in phase 1:
Activity
Duration (days)DateStart Date
A2today()
today()
B4
today()+previous
C1
today()+previous
D7today()+previous

<tbody>
</tbody>

Table filtered in phase 2:
ActivityDuration (days)DateStart Date
B
2today()
today()
D
4today()+previous
C
1today()+previous

<tbody>
</tbody>

Basically, no matter how the table is filtered or arranged, the upper most row in the "Date" column references the cell under "Start Date" and each cell below it adds the "Duration Row" on.

This would effectively give a start date for each activity and it would be modified relative to how the table is ordered/filtered.
 
Upvote 0
Sorry, Table 2 should have looked like this:
Table filtered in phase 2:
ActivityDuration (days)DateStart Date
B4
today()today()
D7
today()+previous
C1today()+previous

<tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,215,487
Messages
6,125,086
Members
449,206
Latest member
ralemanygarcia

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