select every other cell

deb

Active Member
Joined
Feb 1, 2003
Messages
400
How can I select every other cell in Row B, from row 2 thru row 250?

Thanks
 
deb

The code I posted in the duplicate thread, with the same title as this one, does select every other cell in the column.:)
 
Upvote 0

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
The code in the duplicat thread selects every other row and not every other cell.

The code for every other row works great. but I must be able to select the cell to move it. I cannot move the row.

How can I select every other CELL, without replacing the data or deleting the data?

Data looks like this...

Item1
price1
Item2
price2

I need...

Item1 price1
Item2 price2

so if I can select every other cell in the column, i can move them the correct column.


Thanks,

Hi deb:

If I have understood your need correctly, following is one formula based approach ...
Book1
ABCDEF
1Item1Item1Item2Item3Item4
2price1price1price2price3price4
3Item2
4price2
5Item3
6price3
7Item4
8price4
9
Sheet5


formula in cell C1 is ... =INDEX($A:$A,COLUMNS($A:A)*2-MOD(ROW(),2))

this is then copied to the right and down.

If this approach works for you, you may also optionally convert the formulas in cells C1:F4 to values and then also optionally delete columns A and B.

I hope this helps.
 
Upvote 0

Forum statistics

Threads
1,214,959
Messages
6,122,476
Members
449,087
Latest member
RExcelSearch

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