wesleyterrill
New Member
- Joined
- Feb 9, 2016
- Messages
- 15
Hey guys! Basically, I have some bulk data in Excel and I need help sorting/filtering the data into a more usable format (it will eventually be saved at a CSV). The sheet that I'm referencing has 25 or so columns of data, most of it is useless. I've simplified it into the table below to show what I'm looking to do.
[TABLE="width: 500"]
<tbody>[TR]
[TD]First Name[/TD]
[TD]Last Name[/TD]
[TD]Title[/TD]
[TD]Company[/TD]
[TD]Personal #[/TD]
[TD]Company #[/TD]
[TD]Personal City[/TD]
[TD]Company City[/TD]
[/TR]
[TR]
[TD]John[/TD]
[TD]Adams[/TD]
[TD]Director[/TD]
[TD]Flow Inc[/TD]
[TD]555-0000[/TD]
[TD]555-1099[/TD]
[TD]Dallas[/TD]
[TD]Seattle[/TD]
[/TR]
[TR]
[TD]Courtney[/TD]
[TD]Merrill[/TD]
[TD]Sales Manager[/TD]
[TD]Flow Inc[/TD]
[TD]555-1111[/TD]
[TD]555-1099[/TD]
[TD]Seattle[/TD]
[TD]Seattle[/TD]
[/TR]
[TR]
[TD]Jameson[/TD]
[TD]Brown[/TD]
[TD]VP of Sales[/TD]
[TD]Stark Industries[/TD]
[TD]555-2222[/TD]
[TD]555-8800[/TD]
[TD]Eugene[/TD]
[TD]Portland[/TD]
[/TR]
[TR]
[TD]Mary[/TD]
[TD]Parker[/TD]
[TD]Inside Sales[/TD]
[TD]Flow Inc[/TD]
[TD]555-3333[/TD]
[TD]555-1099[/TD]
[TD]Tacoma[/TD]
[TD]Seattle[/TD]
[/TR]
[TR]
[TD]Cindy[/TD]
[TD]Wurth[/TD]
[TD]Director[/TD]
[TD]ABC Co.[/TD]
[TD]555-4444[/TD]
[TD]555-2626[/TD]
[TD]Sacramento[/TD]
[TD]Los Angeles[/TD]
[/TR]
[TR]
[TD]Todd[/TD]
[TD]Baker[/TD]
[TD]HR Manager[/TD]
[TD]Stark Industries[/TD]
[TD]555-5555[/TD]
[TD]555-8800[/TD]
[TD]Bend[/TD]
[TD]Portland[/TD]
[/TR]
</tbody>[/TABLE]
What I'd like to do on the next sheet is sort each individual person by company BUT I'd like the first row of each group to represent the company only. To put it simply, I will be creating an Account record for the company and an Individual record for each person (ideally, the system we use will make a link between Account and Individual). I'm imagining the 2nd sheet to look something like this:
[TABLE="width: 500"]
<tbody>[TR]
[TD]Account Name[/TD]
[TD]First Name[/TD]
[TD]Last Name[/TD]
[TD]Title[/TD]
[TD]Phone #[/TD]
[TD]City[/TD]
[/TR]
[TR]
[TD]Flow Inc[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]555-1099[/TD]
[TD]Seattle[/TD]
[/TR]
[TR]
[TD]Flow Inc[/TD]
[TD]John[/TD]
[TD]Adams[/TD]
[TD]Director[/TD]
[TD]555-0000[/TD]
[TD]Dallas[/TD]
[/TR]
[TR]
[TD]Flow Inc[/TD]
[TD]Courtney[/TD]
[TD]Merrill[/TD]
[TD]Sales Manager[/TD]
[TD]555-1111[/TD]
[TD]Seattle[/TD]
[/TR]
[TR]
[TD]Flow Inc[/TD]
[TD]Mary[/TD]
[TD]Parker[/TD]
[TD]Inside Sales[/TD]
[TD]555-3333[/TD]
[TD]Tacoma[/TD]
[/TR]
[TR]
[TD]Stark Industries[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]555-8800[/TD]
[TD]Portland[/TD]
[/TR]
[TR]
[TD]Stark Industries[/TD]
[TD]Jameson[/TD]
[TD]Brown[/TD]
[TD]VP of Sales[/TD]
[TD]555-2222[/TD]
[TD]Eugene[/TD]
[/TR]
[TR]
[TD]Stark Industries[/TD]
[TD]Todd[/TD]
[TD]Baker[/TD]
[TD]HR Manager[/TD]
[TD]555-5555[/TD]
[TD]Bend[/TD]
[/TR]
[TR]
[TD]ABC Co.[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]555-2626[/TD]
[TD]Los Angeles[/TD]
[/TR]
[TR]
[TD]ABC Co.[/TD]
[TD]Cindy[/TD]
[TD]Wurth[/TD]
[TD]Director[/TD]
[TD]555-4444[/TD]
[TD]Sacramento[/TD]
[/TR]
</tbody>[/TABLE]
I'm sure there are many ways to approach this, does anybody have any suggestions? I'm playing around with IF formulas right now, but that's about as complex of a formula that I can handle! Keep in mind that the data I'm filtering will have hundreds/thousands of rows of data and there will be a minimum of 50 different companies. I don't think it will be a simple Index or cell reference since the data I'm filtering will be different every time. Let me know if you have any ideas! I appreciate the help, thank you!
[TABLE="width: 500"]
<tbody>[TR]
[TD]First Name[/TD]
[TD]Last Name[/TD]
[TD]Title[/TD]
[TD]Company[/TD]
[TD]Personal #[/TD]
[TD]Company #[/TD]
[TD]Personal City[/TD]
[TD]Company City[/TD]
[/TR]
[TR]
[TD]John[/TD]
[TD]Adams[/TD]
[TD]Director[/TD]
[TD]Flow Inc[/TD]
[TD]555-0000[/TD]
[TD]555-1099[/TD]
[TD]Dallas[/TD]
[TD]Seattle[/TD]
[/TR]
[TR]
[TD]Courtney[/TD]
[TD]Merrill[/TD]
[TD]Sales Manager[/TD]
[TD]Flow Inc[/TD]
[TD]555-1111[/TD]
[TD]555-1099[/TD]
[TD]Seattle[/TD]
[TD]Seattle[/TD]
[/TR]
[TR]
[TD]Jameson[/TD]
[TD]Brown[/TD]
[TD]VP of Sales[/TD]
[TD]Stark Industries[/TD]
[TD]555-2222[/TD]
[TD]555-8800[/TD]
[TD]Eugene[/TD]
[TD]Portland[/TD]
[/TR]
[TR]
[TD]Mary[/TD]
[TD]Parker[/TD]
[TD]Inside Sales[/TD]
[TD]Flow Inc[/TD]
[TD]555-3333[/TD]
[TD]555-1099[/TD]
[TD]Tacoma[/TD]
[TD]Seattle[/TD]
[/TR]
[TR]
[TD]Cindy[/TD]
[TD]Wurth[/TD]
[TD]Director[/TD]
[TD]ABC Co.[/TD]
[TD]555-4444[/TD]
[TD]555-2626[/TD]
[TD]Sacramento[/TD]
[TD]Los Angeles[/TD]
[/TR]
[TR]
[TD]Todd[/TD]
[TD]Baker[/TD]
[TD]HR Manager[/TD]
[TD]Stark Industries[/TD]
[TD]555-5555[/TD]
[TD]555-8800[/TD]
[TD]Bend[/TD]
[TD]Portland[/TD]
[/TR]
</tbody>[/TABLE]
What I'd like to do on the next sheet is sort each individual person by company BUT I'd like the first row of each group to represent the company only. To put it simply, I will be creating an Account record for the company and an Individual record for each person (ideally, the system we use will make a link between Account and Individual). I'm imagining the 2nd sheet to look something like this:
[TABLE="width: 500"]
<tbody>[TR]
[TD]Account Name[/TD]
[TD]First Name[/TD]
[TD]Last Name[/TD]
[TD]Title[/TD]
[TD]Phone #[/TD]
[TD]City[/TD]
[/TR]
[TR]
[TD]Flow Inc[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]555-1099[/TD]
[TD]Seattle[/TD]
[/TR]
[TR]
[TD]Flow Inc[/TD]
[TD]John[/TD]
[TD]Adams[/TD]
[TD]Director[/TD]
[TD]555-0000[/TD]
[TD]Dallas[/TD]
[/TR]
[TR]
[TD]Flow Inc[/TD]
[TD]Courtney[/TD]
[TD]Merrill[/TD]
[TD]Sales Manager[/TD]
[TD]555-1111[/TD]
[TD]Seattle[/TD]
[/TR]
[TR]
[TD]Flow Inc[/TD]
[TD]Mary[/TD]
[TD]Parker[/TD]
[TD]Inside Sales[/TD]
[TD]555-3333[/TD]
[TD]Tacoma[/TD]
[/TR]
[TR]
[TD]Stark Industries[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]555-8800[/TD]
[TD]Portland[/TD]
[/TR]
[TR]
[TD]Stark Industries[/TD]
[TD]Jameson[/TD]
[TD]Brown[/TD]
[TD]VP of Sales[/TD]
[TD]555-2222[/TD]
[TD]Eugene[/TD]
[/TR]
[TR]
[TD]Stark Industries[/TD]
[TD]Todd[/TD]
[TD]Baker[/TD]
[TD]HR Manager[/TD]
[TD]555-5555[/TD]
[TD]Bend[/TD]
[/TR]
[TR]
[TD]ABC Co.[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]555-2626[/TD]
[TD]Los Angeles[/TD]
[/TR]
[TR]
[TD]ABC Co.[/TD]
[TD]Cindy[/TD]
[TD]Wurth[/TD]
[TD]Director[/TD]
[TD]555-4444[/TD]
[TD]Sacramento[/TD]
[/TR]
</tbody>[/TABLE]
I'm sure there are many ways to approach this, does anybody have any suggestions? I'm playing around with IF formulas right now, but that's about as complex of a formula that I can handle! Keep in mind that the data I'm filtering will have hundreds/thousands of rows of data and there will be a minimum of 50 different companies. I don't think it will be a simple Index or cell reference since the data I'm filtering will be different every time. Let me know if you have any ideas! I appreciate the help, thank you!