Bass71
MIS
- Jun 21, 2001
- 79
Is there a function that succintly swaps the values of two cells. For example:
cell D1 has a value of 34 and E1 has a value of 50...all I want to do is swap those two cell values, such that E1 now equals 34 and D1 equals 50.
I've got code that, when a condition is met, cuts from one, then temporarily pastes it in an empty column and then cuts and pastes the other and so on...but that's way too cumbersome.
cell D1 has a value of 34 and E1 has a value of 50...all I want to do is swap those two cell values, such that E1 now equals 34 and D1 equals 50.
I've got code that, when a condition is met, cuts from one, then temporarily pastes it in an empty column and then cuts and pastes the other and so on...but that's way too cumbersome.