Cycle Trough Table move contents to adjacent cells

kpasa

Board Regular
Joined
Nov 20, 2015
Messages
82
For sake of example, I have a table like this:

HTML:
NameCheckPoint 1CheckPoint 2CheckPoint 3Ricky   Bobby Text #2Text #1Joey Text #2Text #1Matt   Thomas Text #2Text #1

I need to cycle through each row and if there are contents in CheckPoint 2 column, run a macro I have already set up and then move the contents to Checkpoint 3, which out deleting the contents of the checkpoint 3 column. So the end result should be this:
HTML:
NameCheckPoint 1CheckPoint 2CheckPoint 3Ricky   Bobby  Text #2 Text #1Joey  Text #2 Text #1Matt   Thomas  Text #2 Text #1

I know it will use the "For Each, next" syntax, but i'm not advanced enough to write it myself. I can read it, understand it, adapt it, etc. but I need help building it from scratch.
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
The HTML Table didnt post so here's the post again but formatted slightly better:
For sake of example, I have a table like this:
Name, Column1, Column2
name, textnum1, textnum2


I need to cycle through each row and if there are contents in column1, run a macro I have already set up and then move the contents to Colum2, which out deleting the contents of the column1. So the end result should be this:
Name, Column1, Column2
name, , textnum1 textnum2


I know it will use the "For Each, next" syntax, but i'm not advanced enough to write it myself. I can read it, understand it, adapt it, etc. but I need help building it from scratch.
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,289
Members
452,631
Latest member
a_potato

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top