J
JimFor
Hi,
I am downloading from a mainframe and convert the file to an Excel file.
Eventually I sort the data. If I have a date field and I sort by date, Excel
keeps everything which appears on the same line the date appeared on. My data,
however, has multiple lines of text between dates. The extra data contains
things like order details. Sometimes I need that info and have to go back
to the unsorted file and type it into the sorted list. Is there anyway I can
highlight the cells with the text data, merge them so that Excel views them as
being on the same line as the date, and thus be able to keep the entire text
message in a sort? Right now the way I sort, text which appears on lines below
a date line drop out of the sort.
For example, suppose I have dates in col A. And I will sort by date. Several
lines of text appear in col B. The first date appears in row 1 col A. The
text associated with that date appear in rows 1 through 5 col B. The second
date appears in row 6, col A. The text associated with that date appears in
col B, row 6 through 11. After a sort by date, the text in rows 2 through 5
and below row 6 drop out. Can I highlight, say, cells B1-B5 and merge them so
the text all appears to be in the first row thus keeping the complete text in
the sort? Hope this is clear.
Thanks
I am downloading from a mainframe and convert the file to an Excel file.
Eventually I sort the data. If I have a date field and I sort by date, Excel
keeps everything which appears on the same line the date appeared on. My data,
however, has multiple lines of text between dates. The extra data contains
things like order details. Sometimes I need that info and have to go back
to the unsorted file and type it into the sorted list. Is there anyway I can
highlight the cells with the text data, merge them so that Excel views them as
being on the same line as the date, and thus be able to keep the entire text
message in a sort? Right now the way I sort, text which appears on lines below
a date line drop out of the sort.
For example, suppose I have dates in col A. And I will sort by date. Several
lines of text appear in col B. The first date appears in row 1 col A. The
text associated with that date appear in rows 1 through 5 col B. The second
date appears in row 6, col A. The text associated with that date appears in
col B, row 6 through 11. After a sort by date, the text in rows 2 through 5
and below row 6 drop out. Can I highlight, say, cells B1-B5 and merge them so
the text all appears to be in the first row thus keeping the complete text in
the sort? Hope this is clear.
Thanks