Copy and pasting formula to capture only every OTHER cell

DayTraderKevin

New Member
Joined
Dec 23, 2022
Messages
35
Office Version
  1. 365
Platform
  1. Windows
Column's C-G are capturing data every minute. I'm trying to also capture what is happening every two minutes, starting at column I. When I try to copy/paste the formula started in column's I & J, Excel does not see that I'm trying to only capture every OTHER cell from the table on the left.

In reality I'm trying to capture every two and five minutes; hundreds of columns from market open to market close.

Is there a way to continue the formula in column's I & J, to column K and further?

ABCDEFGHIJK
1Time6:006:016:026:036:046:006:026:04
2Stock 1$12$13$11$16$13=C2=E2
3Stock 2$17$22$13$12$18=C3=E3
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
Hi,
In cell I2, you can test
VBA Code:
=OFFSET($C$2,ROW()-2,(COLUMN()-9)*2)
 
Upvote 0
What Not quite means ...???
It works in the example table I created, but it doesn't work when I try to use it in the real, much larger table.

1675370868131.png


1675370780086.png
 
Upvote 0
You have added the formula in cell PG2 ... Not in cell I2 ....
...minor detail ....
9 is Column I and 423 is Column PG ....
VBA Code:
=OFFSET($C$2,ROW()-2,(COLUMN()-423)*2)
 
Upvote 1
Solution
Glad to hear you have managed to sort it out
 
Upvote 0

Forum statistics

Threads
1,214,979
Messages
6,122,551
Members
449,088
Latest member
davidcom

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