The starting data set is the standard output generated from an online application that cannot be altered.
[TABLE="width: 900"]
<tbody>[TR]
[TD][TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Start Date[/TD]
[TD]Qty[/TD]
[TD]Item[/TD]
[TD]First[/TD]
[TD]Last[/TD]
[TD]Email[/TD]
[TD]Comment[/TD]
[TD]Timestamp[/TD]
[TD]Phone #[/TD]
[TD]Phone Type[/TD]
[/TR]
[TR]
[TD]2/27/2014[/TD]
[TD]100[/TD]
[TD]Italian[/TD]
[TD]Jane[/TD]
[TD]Doe[/TD]
[TD]JD@.com[/TD]
[TD]Greg[/TD]
[TD]1/17/2014[/TD]
[TD]xxx-yyy-zzz[/TD]
[TD]M[/TD]
[/TR]
[TR]
[TD]2/27/2014[/TD]
[TD]27[/TD]
[TD]Turkey[/TD]
[TD]Jane[/TD]
[TD]Doe[/TD]
[TD]JD@.com[/TD]
[TD]Greg[/TD]
[TD]1/17/2014[/TD]
[TD]xxx-yyy-zzz[/TD]
[TD]M[/TD]
[/TR]
[TR]
[TD]2/27/2014[/TD]
[TD]33[/TD]
[TD]Turkey[/TD]
[TD]Sally[/TD]
[TD]Smit[/TD]
[TD]SS@.com[/TD]
[TD]Billy[/TD]
[TD]1/18/2014[/TD]
[TD]xxx-yyy-zzzz[/TD]
[TD]H[/TD]
[/TR]
[TR]
[TD]2/27/2014[/TD]
[TD]54[/TD]
[TD]Italian[/TD]
[TD]Sally[/TD]
[TD]Smit[/TD]
[TD]SS@.com[/TD]
[TD]Billy[/TD]
[TD]1/18/2014[/TD]
[TD]xxx-yyy-zzzz[/TD]
[TD]H[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
So if the same person orders 2 items (there are only 2 items available for people to choose from), the online application creates 2 rows, each with duplicate data other than the item and the quantity.
The output data set is desired to be on a new worksheet in the same workbook. the data should be sorted by last name, then first name and look as follows:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Last[/TD]
[TD]First[/TD]
[TD]Email[/TD]
[TD]Phone[/TD]
[TD]Italian[/TD]
[TD]Turkey[/TD]
[/TR]
[TR]
[TD]Doe[/TD]
[TD]Jane[/TD]
[TD]JD@.com[/TD]
[TD]xxx-yyy-zzzz[/TD]
[TD]100[/TD]
[TD]27[/TD]
[/TR]
[TR]
[TD]Smit[/TD]
[TD]Sally[/TD]
[TD]SS@.com[/TD]
[TD]xxx-yyy-zzzz[/TD]
[TD]54[/TD]
[TD]33[/TD]
[/TR]
</tbody>[/TABLE]
I have found many useful scripts / macros on MrExcel.com, but I do not have the skill level to modify them for this requirement. Your help is greatly appreciated. The solution needs to work in Excel 2010 and newer please.
I took a sample output from the web app and pasted it into Excel and then created the desired output on a second tab and manually manipulated the data. i put the file out on Dropbox in case it is of any use to better understand what I need to accomplish.
https://www.dropbox.com/s/2ig3jdd9n7p2h9w/Example.xlsx
[TABLE="width: 900"]
<tbody>[TR]
[TD][TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Start Date[/TD]
[TD]Qty[/TD]
[TD]Item[/TD]
[TD]First[/TD]
[TD]Last[/TD]
[TD]Email[/TD]
[TD]Comment[/TD]
[TD]Timestamp[/TD]
[TD]Phone #[/TD]
[TD]Phone Type[/TD]
[/TR]
[TR]
[TD]2/27/2014[/TD]
[TD]100[/TD]
[TD]Italian[/TD]
[TD]Jane[/TD]
[TD]Doe[/TD]
[TD]JD@.com[/TD]
[TD]Greg[/TD]
[TD]1/17/2014[/TD]
[TD]xxx-yyy-zzz[/TD]
[TD]M[/TD]
[/TR]
[TR]
[TD]2/27/2014[/TD]
[TD]27[/TD]
[TD]Turkey[/TD]
[TD]Jane[/TD]
[TD]Doe[/TD]
[TD]JD@.com[/TD]
[TD]Greg[/TD]
[TD]1/17/2014[/TD]
[TD]xxx-yyy-zzz[/TD]
[TD]M[/TD]
[/TR]
[TR]
[TD]2/27/2014[/TD]
[TD]33[/TD]
[TD]Turkey[/TD]
[TD]Sally[/TD]
[TD]Smit[/TD]
[TD]SS@.com[/TD]
[TD]Billy[/TD]
[TD]1/18/2014[/TD]
[TD]xxx-yyy-zzzz[/TD]
[TD]H[/TD]
[/TR]
[TR]
[TD]2/27/2014[/TD]
[TD]54[/TD]
[TD]Italian[/TD]
[TD]Sally[/TD]
[TD]Smit[/TD]
[TD]SS@.com[/TD]
[TD]Billy[/TD]
[TD]1/18/2014[/TD]
[TD]xxx-yyy-zzzz[/TD]
[TD]H[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
So if the same person orders 2 items (there are only 2 items available for people to choose from), the online application creates 2 rows, each with duplicate data other than the item and the quantity.
The output data set is desired to be on a new worksheet in the same workbook. the data should be sorted by last name, then first name and look as follows:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Last[/TD]
[TD]First[/TD]
[TD]Email[/TD]
[TD]Phone[/TD]
[TD]Italian[/TD]
[TD]Turkey[/TD]
[/TR]
[TR]
[TD]Doe[/TD]
[TD]Jane[/TD]
[TD]JD@.com[/TD]
[TD]xxx-yyy-zzzz[/TD]
[TD]100[/TD]
[TD]27[/TD]
[/TR]
[TR]
[TD]Smit[/TD]
[TD]Sally[/TD]
[TD]SS@.com[/TD]
[TD]xxx-yyy-zzzz[/TD]
[TD]54[/TD]
[TD]33[/TD]
[/TR]
</tbody>[/TABLE]
I have found many useful scripts / macros on MrExcel.com, but I do not have the skill level to modify them for this requirement. Your help is greatly appreciated. The solution needs to work in Excel 2010 and newer please.
I took a sample output from the web app and pasted it into Excel and then created the desired output on a second tab and manually manipulated the data. i put the file out on Dropbox in case it is of any use to better understand what I need to accomplish.
https://www.dropbox.com/s/2ig3jdd9n7p2h9w/Example.xlsx