Hey there, I am trying to find a formula to match a colored cell with value of the cell next to it and display that value in a separate cell (copy). Here is an example:
[TABLE="class: grid, width: 250"]
<tbody>[TR]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]1/14/2018[/TD]
[TD]6[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]1/15/2018[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]1/18/2018[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]1/19/2018[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
So if we have something like this (red texts are the the colored cells). Now, whats happening here is the dates are colored as days progress. Now in cell C, it should display whatever the last colored cell with the corresponding number next to it in A. So for today, it display 6 in C1, as days progress, it should display 7 in C1 as B4 becomes highlighted in red.
Here is how it would look like with the formula.
[TABLE="class: grid, width: 250"]
<tbody>[TR]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]1/14/2018[/TD]
[TD]7[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]1/15/2018[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]1/18/2018[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]1/19/2018[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="class: grid, width: 250"]
<tbody>[TR]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]1/14/2018[/TD]
[TD]6[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]1/15/2018[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]1/18/2018[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]1/19/2018[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
So if we have something like this (red texts are the the colored cells). Now, whats happening here is the dates are colored as days progress. Now in cell C, it should display whatever the last colored cell with the corresponding number next to it in A. So for today, it display 6 in C1, as days progress, it should display 7 in C1 as B4 becomes highlighted in red.
Here is how it would look like with the formula.
[TABLE="class: grid, width: 250"]
<tbody>[TR]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]1/14/2018[/TD]
[TD]7[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]1/15/2018[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]1/18/2018[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]1/19/2018[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]