Excel not recognizing pattern // create formula to skip rows

pmf13

New Member
Joined
Jul 6, 2017
Messages
1
Hi there,

I have read several threads on the topic but haven't been able to figure out this issue so far:

I am trying to reference cells from one sheet to another, with the following pattern:

A1
A2
A4
A5
A7
A8

I.e., read 2 rows, skip one, read 2 rows, skip one...and so forth.

I am new to excel, and haven't been able to figure out how to use the OFFSET formula to achieve this. Can anyone help me?

Thank you!!
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
Let's say your data is in column A, then in C1 enter ... =INDIRECT("A"&IF(MOD(ROW()-1,2)=0,OFFSET(A1,INT((ROW()-1)/2),0),OFFSET(A1,INT((ROW()-1)/2),0,))) ... and drag down

Kind regards,

Chris
 
Upvote 0
Use this in the results Sheet:

=INDEX(Sheet1!$A$1:$A$200,ROUNDUP(ROW(A1)/2,0)-1+ROW(A1))

Sheet1
is the name of the data sheet
$A$1:$A$200is the range where data is allocated
A1 is a row reference that has to coincide with the first value you want.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,182
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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