Reputation: 33
Could anyone tell me how to extract a list of numbers from a field in an MS Excel Spreadsheet in to separate cells please? The numbers are delimited by commas. EG 506, 507, 508, 509
Thanks
Upvotes: 2
Views: 151
Reputation: 96753
With data in A1, in B1 enter:
=IFERROR(--TRIM(MID(SUBSTITUTE($A1,",",REPT(" ",999)),COLUMNS($A:A)*999-998,999)),"")
and copy across.
Upvotes: 2
Reputation: 1970
Ready!
Upvotes: 0