Hello, I have dataset example illustrated below: row# YEAR SEX CITY STATISTICS VALUE 1 2021 . . 1 500 2 2021 1 1 1 0 3 2021 2 1 1 499 4 2021 . 1 2 750 5 2021 1 1 2 0 6 2021 2 1 2 750 7 2021 . 2 1 300 8 2021 1 2 1 150 9 2021 2 2 1 150 10 2021 . 2 2 550 11 2021 1 2 2 549 12 2021 2 2 2 0 '.' refers to the total I would like to replace the value from row 3 to match with the row 1 value (500) in order to keep consistency on the total. Also, I would like to replace the value row 11 to match it with the row 10 value (550). Is there any code rather than inputting manually to replace values in this situation? Thank you,
... View more