Kickingkangaroos
New Member
- Joined
- Sep 2, 2009
- Messages
- 46
Hi All,
I have been trying to do this for a while, and cannot for the life of me figure it out quickly, easily - would a macro be best?
I have a spreadsheet displaying a list of approx 300 names in Column A, then various information regarding each person in Columns B, C and D.
Columns E - N inclusive represent different products (there is a maximum of 10 products available: Ball; Boat; Car; Doll; House; Kite; Pencil; Plane; Train; Truck). If a person owns a particular product, the name of that product appears (as text) in one of the columns.
However, rather than the headings for the Columns E - N being the name of a specific product (meaning if a person owns that product it would only appear in a single Column) - they are all jumbled up - for example:
Columns = E | F | G| H | I | J | K | L | M | N
Row 1 = Car | House | Boat | [Blank] | Train | [Blank] | Plane | [Blank] | [Blank] | [Blank]
Row 2 = House | [Blank] | Car | Plane | Train | [Blank] | Ball | Boat | [Blank] | [Blank]
What I need is to sort this out so the products are listed by row in alphabetical order, BUT - if a particular row doesn't have a product which would appear next alphabetically, that it leave a gap, and only add a product that they do own, in the appropriate (alphabetical) Column.
i.e. for the above 2 examples, the Rows should appear:
Row 1 = [Blank] | Boat | Car | [Blank] | House | [Blank] | [Blank] | Plane | Train | [Blank]
Row 2 = Ball | Boat | Car | [Blank] | House | [Blank] | [Blank] | Plane | Train | [Blank]
I hope this makes sense - please let me know if you need more explanation.
Many thanks,
Andy
I have been trying to do this for a while, and cannot for the life of me figure it out quickly, easily - would a macro be best?
I have a spreadsheet displaying a list of approx 300 names in Column A, then various information regarding each person in Columns B, C and D.
Columns E - N inclusive represent different products (there is a maximum of 10 products available: Ball; Boat; Car; Doll; House; Kite; Pencil; Plane; Train; Truck). If a person owns a particular product, the name of that product appears (as text) in one of the columns.
However, rather than the headings for the Columns E - N being the name of a specific product (meaning if a person owns that product it would only appear in a single Column) - they are all jumbled up - for example:
Columns = E | F | G| H | I | J | K | L | M | N
Row 1 = Car | House | Boat | [Blank] | Train | [Blank] | Plane | [Blank] | [Blank] | [Blank]
Row 2 = House | [Blank] | Car | Plane | Train | [Blank] | Ball | Boat | [Blank] | [Blank]
What I need is to sort this out so the products are listed by row in alphabetical order, BUT - if a particular row doesn't have a product which would appear next alphabetically, that it leave a gap, and only add a product that they do own, in the appropriate (alphabetical) Column.
i.e. for the above 2 examples, the Rows should appear:
Row 1 = [Blank] | Boat | Car | [Blank] | House | [Blank] | [Blank] | Plane | Train | [Blank]
Row 2 = Ball | Boat | Car | [Blank] | House | [Blank] | [Blank] | Plane | Train | [Blank]
I hope this makes sense - please let me know if you need more explanation.
Many thanks,
Andy