Issue using Offset to sort data

jamur87

New Member
Joined
Sep 1, 2021
Messages
2
Office Version
  1. 365
  2. 2019
  3. 2011
  4. 2010
Platform
  1. Windows
Hi Everyone,
I have a large amount of data imported into a spreadsheet. The eventual goal is to check if the number in the value column is between The Tol_HIGH and Tol_Low. I am trying to organize the data into a columns as shown below and then maybe use conditional formatting to find the values outside of the range. Every eighth column that starts with a time is a new data set and should be a new row.

TimestampBlockStepMnemonicValueTol_LowTol_High
23:03.5​
50​
1​
red
25​
55​
60​
23:03.5​
50​
1​
yellow
65​
37​
40​
23:03.5​
50​
1​
blue
18​
5​
30​
00:00.0​
50​
1​
orange
64​
53​
73​

I am using this offset function to transpose the values into columns.
=OFFSET(A$2,0,ROW()*(ROW()-1)+ROW()-2)

After the second iteration the values do not line up. The value in column 1 of the third data set seems skip the cell after cell with the value 30 in it. Can someone please explain why this is happening? Is there a more efficient way to compare the data or is what I'm doing ok (I can do the basics in excel and learning the more powerful function right now)?
23:03.5​
50​
1​
yellow
65​
37​
40​
23:03.5​
50​
1​
blue
18​
5​
30​
1​
orange
64​
53​
73​
23:03​
50​

thanks in advance
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
For 365, how about
+Fluff 1.xlsm
ABCDEFGHIJKLMNOPQRSTUVWXYZAAAB
1TimestampBlockStepMnemonicValueTol_LowTol_High
223:03.5501red25556023:03.5501yellow65374023:03.5501blue1853000:00.0501orange645373
3
423:03.5501red255560
523:03.5501yellow653740
623:03.5501blue18530
700:00.0501orange645373
8
9
01-Sep
Cell Formulas
RangeFormula
A4:G7A4=INDEX(A2:AB2,1,SEQUENCE(COLUMNS(A2:AB2)/7,,0,7)+SEQUENCE(,7))
Dynamic array formulas.
 
Upvote 0
For 365, how about
+Fluff 1.xlsm
ABCDEFGHIJKLMNOPQRSTUVWXYZAAAB
1TimestampBlockStepMnemonicValueTol_LowTol_High
223:03.5501red25556023:03.5501yellow65374023:03.5501blue1853000:00.0501orange645373
3
423:03.5501red255560
523:03.5501yellow653740
623:03.5501blue18530
700:00.0501orange645373
8
9
01-Sep
Cell Formulas
RangeFormula
A4:G7A4=INDEX(A2:AB2,1,SEQUENCE(COLUMNS(A2:AB2)/7,,0,7)+SEQUENCE(,7))
Dynamic array formulas.
Thank you. I can work with this as the data given to me in is in rows but some rows have more columns of data . I appreciate your help :)
 
Upvote 0
Is this what you want
+Fluff 1.xlsm
ABCDEFGHIJKLMNOPQRSTUVWXYZAAAB
1TimestampBlockStepMnemonicValueTol_LowTol_High
223:03.5501red25556023:03.5501yellow65374023:03.5501blue1853000:00.0501orange645373
323:03.5501red25556023:03.5501yellow65374023:03.5501blue18530
4
523:03.5501red255560
623:03.5501yellow653740
723:03.5501blue18530
800:00.0501orange645373
923:03.5501red255560
1023:03.5501yellow653740
1123:03.5501blue18530
12
01-Sep
Cell Formulas
RangeFormula
A5:G11A5=LET(Rng,A2:AB3,C,7,Cols,COLUMNS(Rng)/C,Qty,SEQUENCE(ROWS(Rng)*Cols,,0),Ary,INDEX(Rng,INT(Qty/Cols)+1,MOD(Qty,Cols)*C+SEQUENCE(,C)),FILTER(Ary,INDEX(Ary,,1)<>""))
Dynamic array formulas.
 
Upvote 0

Forum statistics

Threads
1,214,642
Messages
6,120,700
Members
448,979
Latest member
DET4492

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