P
Peter Stone
Excel 2003
Novice
I wish to paste some numbers into column C, compare each number in column C
with a list in column A and replace each number in column C with the
corresponding number in column B.
I don't care if it's a macro or VB
I can't really program, but the logic is something like this:
If C1 = A1
Then Replace C1 with B1
If C1 = A2
Then replace C1 with B2
etc. to end of column A
If C2 = A1
Then replace C2 with B1
If C2 = A2
Then replace C2 with B2
etc. to end of column A
continue comparing and replacing to end of column C
Thank you
Peter
Novice
I wish to paste some numbers into column C, compare each number in column C
with a list in column A and replace each number in column C with the
corresponding number in column B.
I don't care if it's a macro or VB
I can't really program, but the logic is something like this:
If C1 = A1
Then Replace C1 with B1
If C1 = A2
Then replace C1 with B2
etc. to end of column A
If C2 = A1
Then replace C2 with B1
If C2 = A2
Then replace C2 with B2
etc. to end of column A
continue comparing and replacing to end of column C
Thank you
Peter