Hi.........
Somehow or other, you're gonna have to come up with a column that defines
the mode of transportation that you wish to categorize......Air, Land, and
Sea.........in your sample data you want "truck" to be assigned the "Land"
category.........we don't know how many other combinations might be on your
real data, such as boat=sea, ship=sea, rail=land, train=land, plane=air, etc
etc........
The words in the "Reason" column can be easily broken into separate columns
with the Data > Text to columns, using space as a delimiter
feature...........but you need to define a list of what=what for your
separations.........then someone can write the formulas to create the
columns you're looking for.........
hth
Vaya con Dios,
Chuck, CABGx3
> Hello,
>
> I am looking for some help with a spreadsheet that was given to me, that needs to be reformatted based on the occurence of a substring within a cell.
>
> Actually, the substring will be a keyword within a comments cell within a row. Unfortunately the comments are arbitrarily entered. But based on the
occurence of the substring (e.g. truck, air, sea), the new report with cost
associated figures that are part of the same row.
> An abbreviated sample follows:
>
[quoted text clipped - 23 lines]
>
> Sonny