Example in attached
If C contains specific STRING Switch Column A value with Column B Else Do nothing
Example in attached
If C contains specific STRING Switch Column A value with Column B Else Do nothing
You cannot switch (by formula) unless cells in A and B are themelves assigned from other cells: so VBA is the only option
e.g
A2=H2 without Switch
B2=K2 without Switch
in A2
=IF(C2="Switch", K2,H2)
in B2
If)C"="Switch",H2,K2)
Edited
I agree with John Topley about need for VBA. If A and B are assigned different cells this formula also works. In A8 then fill down and across to B11 this also works.Formula:Please Login or Register to view this content.
A B C 1 A-Apples B-Bells C-Comments 2 Granny Smith Church 3 Alarm Gala Switch 4 Fuji Bicycle 5 Class Braeburn Switch 6 7 8 Granny Smith Church 9 Gala Alarm 10 Fuji Bicycle 11 Braeburn Class
Dave
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks