Forum Discussion
Help checking and re-ordering columns
- Oct 27, 2022
There are 16384 columns in an Excel sheet. Column XFD is column number 16384 and that is the limitation for the formula.
The headers that I am actually using are things like
dvt_day_dept_fam_count
dvr_day_dept_fam
dvr_day_dept_fam_count
dvt_day_dept_count
dvx_day_family
- OliverScheurichOct 27, 2022Gold Contributor
=CELL("col",INDIRECT(LEFT(A1,3)&"1"))Do you want to return the column numbers for DVT, DVR and DVX?
- BDCanuckOct 28, 2022Copper Contributor
OliverScheurich Not really.
What I'd like is for it to compare the positions of each item in the two lists, and see how far away from each other they are. So if the string "dvr_day_dept_fam_count" is in row 7 on the first list, and row 67 on the second list, I want it to tell me to move that string by 60 positions "up".
These two column headers lists are just a transposed list of headers. So when it tells me to move the 60 positions, I'll go to my second spreadsheet and move the column 60 positions left, which in our worksheet looks like 60 positions up.
Does that make sense? Is this possible?
- OliverScheurichOct 28, 2022Gold Contributor