1 Attachment(s)
Select Column and Identify First and Last non blank cell value per segment (Range between Blanks)
I have a column which begins at A1 and continues through A65535, within this the sequence of numbers begins 1 through what ever the next highest number is, until a blank or dashes appears and then it continues on to the next available number. The blank or dash interval vary. I need a way to identify the 1st and last non-blank cell value between each segment or separate into new columns and the variable is either a blank or a dash example:
1
2
3
4
blank
blank
5
6
blank
blank
9
blank
10
11
12
the result should be either:
B1: 1-4
B2: 5-6
B3: 9
B4: 10-12
or
column B
1
2
3
4
column C
5
6
column D
9
column E
10
11
12
etc...
I would appreciate any assistance, I'm not an export, but can fumble through a formula or vba and/or a combination.