Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Column D consists of cells with one or more entries (alphanumeric), and
sometimes no entries. I need help in writing a macro that examines each cell in column D, and if it contains only one entry, copies it to column H. If a cell contains more than one entry (each separated by one or more spaces), the macro would copy each entry into a separate cell in column H. If a cell in column D is blank, the macro would skip it and move down to the next cell. When the macro encounters two consecutive empty cells in column D, the macro would stop (that's how you know you are at the end of the list). It is important that all the entries copied to column H are contiguous (i.e., no blank cells). Any help would be greatly appreciated. Thanks, Bob |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Extracting unique entries | Excel Worksheet Functions | |||
MULTIPLE ENTRIES IN ONE CELL | Excel Discussion (Misc queries) | |||
Extracting Info from within a cell multiple times | Excel Worksheet Functions | |||
Extracting multiple entries in a cell into their component pieces | Excel Worksheet Functions | |||
Extracting from 1 cell and placing extractions in multiple cells | Excel Programming |