Offset query I think?

contactjohnpollard

New Member
Joined
Jun 18, 2017
Messages
14
Hi
I have data on a workbook that is in a row across the columns but missing every other column. I need to return these value to another sheet but filling down the column and skipping the blank columns on the other sheet.

Sheet 1 Data A1, C1, E1, G1

Sheet 2 results values form Sheet 1 go to A1, A2, A3, A4 etc.

Regards
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Welcome to the forum.

You could use something like:

=INDEX(Sheet1!$1:$1,1,(ROWS($B$1:$B1)-1)*2+1)
 
Upvote 0
That formula should work for the locations you described (although if the first sheet is called Data, use that rather than Sheet1). Where is the actual data located?
 
Upvote 0
Then just change the Sheet1!$1:$1 part to Sheet1!$2:$2

On an admin note, why do you appear to have two user accounts? We do not allow that, so which one do you want to keep?
 
Upvote 0
Then just change the Sheet1!$1:$1 part to Sheet1!$2:$2

On an admin note, why do you appear to have two user accounts? We do not allow that, so which one do you want to keep?

Rory Hi I did not know I had two accounts, I will keep this one thx.

BTW I got your formula to work thx. Can I ask 2 more enhancements

1. If I want to return values from a different row on sheet 1 which part of the formula do I change?
2. If I want to start returning values from same row but different starting column (say K) which part of the formula do i change?

TIA John
 
Upvote 0
1. Just change the row numbers in the Sheet1!$2:$2 part.
2. Simplest way is probably again just to alter the first range to something like Sheet1!$K$2:$IV$2 using whatever columns/row are appropriate.
 
Upvote 0

Forum statistics

Threads
1,214,983
Messages
6,122,588
Members
449,089
Latest member
Motoracer88

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