Hello everyone,
I have a list where I need to replace the values from one cell based on a search of a different cell, let me explain.
I have my data like:
Column B
(B1) Bill
(B2) Dave
(B3) Bob
Column C would have different data, like a date.
Column D
(D1) In
(D2) In
(D3) Out
So I want to know if there's a way, surely using a macro, where I can enter in cell A1 the name "Bob", match the position for "Bob" in Column B (B3) and replace the value in Column D next to Bob (D3) from "Out" to "In".
Initially, the idea would be to have only unique values in Column B so that the matching can always work and replace the contents in Column D and to always replace it with the same word.
Eventually, I would like to try if I can do the same but by matching more values from different cells, but if I can go with one for now it would be great!
I have a list where I need to replace the values from one cell based on a search of a different cell, let me explain.
I have my data like:
Column B
(B1) Bill
(B2) Dave
(B3) Bob
Column C would have different data, like a date.
Column D
(D1) In
(D2) In
(D3) Out
So I want to know if there's a way, surely using a macro, where I can enter in cell A1 the name "Bob", match the position for "Bob" in Column B (B3) and replace the value in Column D next to Bob (D3) from "Out" to "In".
Initially, the idea would be to have only unique values in Column B so that the matching can always work and replace the contents in Column D and to always replace it with the same word.
Eventually, I would like to try if I can do the same but by matching more values from different cells, but if I can go with one for now it would be great!