Horkenheimer
New Member
- Joined
- Feb 13, 2020
- Messages
- 16
- Office Version
- 2019
- Platform
- MacOS
Hi there,
Thanks to Fazza, I am going to start again with a clear description of my intended goal and the size of the project. I need to select some key information and combine two enormous worksheets of 100,000 plus rows and 15 plus columns.
1) The first task is the following. On one worksheet I need to keep column A and B. I need to then align the first large number in one column (highlighted in yellow) and the second large numbers in the next column, etc. Every row has at least one large number. (One row has 30 large numbers, so I will need a total of 30 columns of large numbers). This number is a reference number. Everything else will be erased.
I was kindly offered the formula =IFERROR(INDEX($F142:$AH142,0,SMALL(IF(LEN($F142:$AH142)>3,COLUMN($F142:$AH142)),COLUMNS($AI142:AO142))-COLUMN($F142)+1),"") (see column AP in the .xltm below) for the above task and it worked perfectly. But I had to fill 30 columns and 100,000 rows with the formula, which made the worksheet extremely heavy and it keeps crashing the program every time I attempt to clean up the file by clearing the seemingly blank cells (in which the formula evaluates to "") and switching the other cells to values.
2) The next large task is to connect each reference number (highlighted) with an associated code which is located on another sheet. Ultimately, the hope is to have each large number have an adjacent column with the code number. I have started this task in the second .xltm, as you can see.
For this task I used: =VLOOKUP(AI1,'/Users/kedrickjames/Desktop/dict 2/[data_data_connected.xls]data'!$A:$B,2)
The target lookup sheet has 82221 rows. Each large number has an associated code in column B that I need, as you can see below:
3. ULTIMATELY, I will end up with column A & B (from the first graph) then 30 columns containing only the codes (in the end I won't need the large reference numbers)...
Does this make sense? Any guidance on this project would be extremely helpful. The problem is the files are so big they keep crashing my BRAND NEW desktop Mac... So maybe I need to start again and approach this differently?
Thanks in advance!!!!
Thanks to Fazza, I am going to start again with a clear description of my intended goal and the size of the project. I need to select some key information and combine two enormous worksheets of 100,000 plus rows and 15 plus columns.
1) The first task is the following. On one worksheet I need to keep column A and B. I need to then align the first large number in one column (highlighted in yellow) and the second large numbers in the next column, etc. Every row has at least one large number. (One row has 30 large numbers, so I will need a total of 30 columns of large numbers). This number is a reference number. Everything else will be erased.
index_nouns_V1.1.xltm | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | |||
140 | a | n | #s | #p | %p | ; | 7 | 1 | 13679721 | 15114370 | 14853735 | 14731050 | 13658855 | 6844227 | 5408203 | ||
141 | a'man | n | 0 | 8363213 | |||||||||||||
142 | a-bomb | n | 1 | 0 | 2756049 | ||||||||||||
143 | a-horizon | n | 0 | 8676100 | |||||||||||||
144 | a-line | n | 2700080 | ||||||||||||||
index |
I was kindly offered the formula =IFERROR(INDEX($F142:$AH142,0,SMALL(IF(LEN($F142:$AH142)>3,COLUMN($F142:$AH142)),COLUMNS($AI142:AO142))-COLUMN($F142)+1),"") (see column AP in the .xltm below) for the above task and it worked perfectly. But I had to fill 30 columns and 100,000 rows with the formula, which made the worksheet extremely heavy and it keeps crashing the program every time I attempt to clean up the file by clearing the seemingly blank cells (in which the formula evaluates to "") and switching the other cells to values.
2) The next large task is to connect each reference number (highlighted) with an associated code which is located on another sheet. Ultimately, the hope is to have each large number have an adjacent column with the code number. I have started this task in the second .xltm, as you can see.
For this task I used: =VLOOKUP(AI1,'/Users/kedrickjames/Desktop/dict 2/[data_data_connected.xls]data'!$A:$B,2)
Index_nouns_V3.xlsx | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
AI | AJ | AK | AL | AM | AN | AO | AP | |||
142 | 13679721 | 23 | 15114370 | 14853735 | 14731050 | 13658855 | 6844227 | 5408203 | ||
143 | 8363213 | 14 | ||||||||
index_organized |
Cell Formulas | ||
---|---|---|
Range | Formula | |
AJ142:AJ143 | AJ142 | =VLOOKUP(AI142,'/Users/kedrickjames/Desktop/dict 2/[data_data_connected.xls]data'!$A:$B,2) |
AP142:AP143 | AP142 | =IFERROR(INDEX($F142:$AH142,0,SMALL(IF(LEN($F142:$AH142)>3,COLUMN($F142:$AH142)),COLUMNS($AI142:AO142))-COLUMN($F142)+1),"") |
Press CTRL+SHIFT+ENTER to enter array formulas surrounded with curly braces. |
The target lookup sheet has 82221 rows. Each large number has an associated code in column B that I need, as you can see below:
data_nounsV1.1.txt | ||||
---|---|---|---|---|
A | B | |||
25 | 21007 | 3 | ||
26 | 21445 | 3 | ||
27 | 21914 | 3 | ||
28 | 22119 | 3 | ||
29 | 23083 | 3 | ||
30 | 23280 | 3 | ||
31 | 23451 | 3 | ||
32 | 23953 | 3 | ||
33 | 24444 | 3 | ||
34 | 24900 | 3 | ||
35 | 26390 | 3 | ||
36 | 27365 | 3 | ||
37 | 28005 | 3 | ||
data_nounsV1.1 |
3. ULTIMATELY, I will end up with column A & B (from the first graph) then 30 columns containing only the codes (in the end I won't need the large reference numbers)...
Does this make sense? Any guidance on this project would be extremely helpful. The problem is the files are so big they keep crashing my BRAND NEW desktop Mac... So maybe I need to start again and approach this differently?
Thanks in advance!!!!