Splitting semi-colon delineated integers across an array into a single column

EmLearnsMicrosoft

New Member
Joined
Jun 28, 2024
Messages
11
Office Version
  1. 365
Platform
  1. MacOS
Hello. I have data in a large array that I'd like to be extracted into a single column, with each unique value having its own cell. All of the data are 8-digit integers that appear throughout multiple columns and rows. Some of the cells contain multiple 8-digit integers, which are delineated by "; ". A large portion of the cells are empty, and I'd like those cells to be ignored. I need help writing a formula in Excel for Mac that can extract each unique 8-digit integer into its own cell in a single column. Please see my example below. (I have color-coordinated the cells and the text in the source cells as well as in the "Desired Output" column to make it easier to track where each output value came from in the source array.

Copy of JW_Univ Flu Vaccine.xlsx
ABCDEFGHIJ
1ExCol1ExCol2ExCol3ExCol4ExCol5ExCol6ExCol7ExCol8Desired Output
234209093; 33535408; 3315308934209093; 33535408; 3315308934209093; 3353540834209093
3346033333460333333535408
435914365; 34929590; 33603072; 32882637; 2910705835914365; 34929590; 33603072; 32882637; 291070581972635533153089
535788567; 35869290; 362817053578856733535408
6383281283832812834603333
737308364373083643678984935914365
836992230; 2606126536992230; 26061265; 663587219985640234929590
978510236; 11200659; 3000142578510236; 4006235833603072
1032882637
1129107058
1219726355
1335788567
1435869290
1536281705
1638328128
1737308364
1836789849
1936992230
2026061265
2166358721
2299856402
2378510236
2411200659
2530001425
2640062358
Sheet3
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
try

Excel Formula:
=TRIM(UNIQUE(TEXTSPLIT(TEXTJOIN(";",,TOCOL(A2:H9,3)),,";")))

1720759058356.png
 
Upvote 0

Forum statistics

Threads
1,220,965
Messages
6,157,120
Members
451,399
Latest member
alchavar

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