In my Excel sheet, I want Excel to automatically fill in a column value based on the value from the same column in previous rows.
Specifically, consider the following example data:
A | B | C | |
---|---|---|---|
1 | abcd | 56.1 | 25 |
2 | bcde | 20.0 | 96 |
3 | abcd | 75.4 | 25 |
The value in column C
of the current row should be automatically filled in with the value from column C
in a previous row where the column A
values match.
Using the example data above, where the current row is row 3
, then C3
should be populated with the value from C1
(25) because A3
matches A1
.
Notes
- I may overwrite the formula in some rows;
- There may be multiple matches;
- In the case of multiple matches, the match with the highest row number should be returned;
Is there a way to configure Excel such that it auto-fills column C
based on matching the value in column A
to prior rows?