So I'm trying to return a cell value from a table, relating to a text based cell as the searching tool. It's actually part of a larger formula, but the rest is straight forward.
I am trying to return a result where if the day of the week changes in A2, it changes what cell I use in a formula in C2. So in this example, I am adding C6 (Tuesdays total) to B2 (Wednesdays so far). However, what I want to do is if I change the value of A2 to Thursday, then it automatically changes C6 to C7 in the formula in C2.
So I've used VLookups, but not sure how to vlookup for, say, Wednesday, but return the Tuesday total in C6 for the formula to work.
I am trying to return a result where if the day of the week changes in A2, it changes what cell I use in a formula in C2. So in this example, I am adding C6 (Tuesdays total) to B2 (Wednesdays so far). However, what I want to do is if I change the value of A2 to Thursday, then it automatically changes C6 to C7 in the formula in C2.
So I've used VLookups, but not sure how to vlookup for, say, Wednesday, but return the Tuesday total in C6 for the formula to work.
A | B | C | |
1 | Today | People Today So Far | Expected Total People |
2 | Wednesday | 5 | FORMULA |
3 | |||
4 | Days | Regular People | Total People |
5 | Monday | 2 | 2 |
6 | Tuesday | 6 | 8 |
7 | Wednesday | 7 | 15 |
8 | Thursday | 4 | 19 |
9 | Friday | 3 | 21 |