Copy paste

Kim B

Board Regular
Joined
Jun 16, 2008
Messages
221
Office Version
  1. 365
Hi all. I have a workbook with 2 sheets. Sheet1 has data, sheet 2 is a simple sum formula adding two cells together. I want to copy the formula in Sheet 2 across and down. There is a formula in every 3rd column so when try and copy the formula across, it skips rows.

Sheet 1
1701715452583.png


Sheet 2

1701715401882.png
 

Attachments

  • 1701715270886.png
    1701715270886.png
    1.8 KB · Views: 7

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
It looks like every third column on sheet1 has a formula summing the previous two columns? If so, try pasting this in cell a1 on sheet 2, and copying across:

Excel Formula:
=OFFSET(Sheet1!$A$1,0,(COLUMN(A1)*3)-1)
 
Upvote 0
What version of Excel are you using?

I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
 
Upvote 0
This tab is called deli
1701970174378.png
deli
This is called Forecast


1701970201712.png
forecast
The offset formula you provided (tweaked for the cell references) works for the first cell reference but then jumps columns. The cells in the forecast sheet need to reference the cells in deli sheet but the forecast sheet has third column to every two days for a variance. So 12/31 and 1/4 ae ok, but then 1/2 jumps to 1/3
 

Attachments

  • 1701969821682.png
    1701969821682.png
    8.3 KB · Views: 1
  • 1701969854740.png
    1701969854740.png
    11.3 KB · Views: 2
Upvote 0
How about
Excel Formula:
=INDEX(deli!C4:AJ100,XMATCH(B4,deli!B4:B100),XMATCH(C2,deli!C2:AJ2))
 
Upvote 0

Forum statistics

Threads
1,215,069
Messages
6,122,959
Members
449,096
Latest member
Anshu121

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