Sort exported csv based on combination of column B & E values

gint32

Board Regular
Joined
Oct 8, 2014
Messages
139
Apologies, but I have no idea how to paste a copy of my excel sheets into this post (other than uploading).
I see that you can add blank columns/rows but I don't see the value of this since you can' then paste into.

Could some one point me in the correct direction with attempting to achieve the following results from an Exported CSV file:
one instance of each VTR_Name
with All of the following instances of "V-Who" that the VTR_Name is coming into Speak with.
then an Additional 5 X Blank Spaces for each record (visitor) this is in-case this changes on the day, to allow for adding to additional "V_Who"/s

As shown below more than one "VTR_Name"(ie-person) may be coming in to speak with the following " V_who"/s

Note:

I don't know if this will help or not but the

the "ZZZZZZZZ" in Column B are always the "V_who"/s
"ZZZZZZZZ" in Column E are always the "V_Names"/s

Ie: Tonia smiley, Andy McGinty & Fred West are all seeing (X7) "V_Who"/s


Arv_TmeVtr_NameVtr_TypeV_LocV_WhoU_SectionW_Where
08:30-11:30mary SmithBuyerO/V
John Smith0413N/A
08:30-11:30Tony StarkSTAFFO/V
John Smith043N/A
John Smith0514SMSDN
08:30-11:30Fiona JonesSalesO/V
John Smith056VBNM
08:30-11:30Tonia smileySales_ExtO/V
08:30-11:30Andy McGintySales_Ext1O/V
08:30-11:30Fred WestSales_Ext8O/V
John Smith053N/A
Rita Smith063N/A
Marie Smith0713KKLS
Freddie Smith0814CBDS
Tonia clark091RLMN
Tiger Woods 0072DFGE
Teresa Green111PPTF
08:30-11:30WHIte, MarySTAFFO/V
John Smith1114JMPD
John Smith122PTRA
John Smith1312N/A
08:30-11:30Jimmy smithSERVERO/V
08:30-11:30Tony StarkieSERVERO/V
John Smith1113RAC
11:30-13:30Jimmy johnstonunkownO/V
11:30-13:30STUART, andyunkownO/V
John Smith1113CNC
13:30-15:30murrey, TINARegSalesO/V
Bruce Lee14VGA
13:30-15:30HOLLY, oaksmanagerO/V
John Smith111414
13:30-15:30SWAN, maryAVSnon O/V
John Smith0073NOT
13:30-15:30WILLIAM, tonyunkownO/V
John B Good 222F/T
Andy B Good 235DVDS
Mary B Good 245VDVD
13:30-15:30BBBB, Jamesregional managerO/V
Harry Enfield2N/A
13:30-15:30Tom JonesAVSO/V
Robert lee3N/A
Mary Smith1514F/T
13:30-15:30Nash, RickyCBDO/V
Any Jones3ADFE
Freddie Merc5VBPD
13:30-15:30WILLIAM, RBSDO/V
Adam Smith2ASM
14:00-15:00TURNER, TinaASPnon O/V
Jimmy Clark1SUPS
11:30-13:30BBBB, Jamesreg_mngrO/V
Mary Jones2N/A
14:00-15:00

<tbody>
</tbody>
Tony HansonAVSO/V
Gerry Devino3N/A

<tbody>
</tbody>


From the following raw csv :

Arv_TmeVtr_NameVtr_TypeV_LocV_WhoU_SectionW_Where
08:30-11:30mary SmithBuyerO/VZZZZZZZZ
08:30-11:30ZZZZZZZZJohn Smith0413N/A
08:30-11:30Tony StarkSTAFFO/VZZZZZZZZ
08:30-11:30Tony StarkSTAFFO/VZZZZZZZZ
08:30-11:30ZZZZZZZZJohn Smith043N/A
08:30-11:30ZZZZZZZZJohn Smith0514SMSDN
08:30-11:30Fiona JonesSalesO/VZZZZZZZZ
08:30-11:30ZZZZZZZZJohn Smith056VBNM
08:30-11:30Tonia smileySales_ExtO/VZZZZZZZZ
08:30-11:30Tonia smileySales_ExtO/VZZZZZZZZ
08:30-11:30Tonia smileySales_ExtO/VZZZZZZZZ
08:30-11:30Tonia smileySales_ExtO/VZZZZZZZZ
08:30-11:30Tonia smileySales_ExtO/VZZZZZZZZ
08:30-11:30Tonia smileySales_ExtO/VZZZZZZZZ
08:30-11:30Tonia smileySales_ExtO/VZZZZZZZZ
08:30-11:30Andy McGintySales_Ext1O/VZZZZZZZZ
08:30-11:30Andy McGintySales_Ext1O/VZZZZZZZZ
08:30-11:30Andy McGintySales_Ext1O/VZZZZZZZZ
08:30-11:30Andy McGintySales_Ext1O/VZZZZZZZZ
08:30-11:30Andy McGintySales_Ext1O/VZZZZZZZZ
08:30-11:30Andy McGintySales_Ext1O/VZZZZZZZZ
08:30-11:30Andy McGintySales_Ext1O/VZZZZZZZZ
08:30-11:30Fred WestSales_Ext8O/VZZZZZZZZ
08:30-11:30ZZZZZZZZJohn Smith053N/A
08:30-11:30ZZZZZZZZRita Smith063N/A
08:30-11:30ZZZZZZZZMarie Smith0713KKLS
08:30-11:30ZZZZZZZZFreddie Smith0814CBDS
08:30-11:30ZZZZZZZZTonia clark091RLMN
08:30-11:30ZZZZZZZZTiger Woods 0072DFGE
08:30-11:30ZZZZZZZZTeresa Green111PPTF
08:30-11:30WHIte, MarySTAFFO/VZZZZZZZZ
08:30-11:30WHIte, MarySTAFFO/VZZZZZZZZ
08:30-11:30WHIte, MarySTAFFO/VZZZZZZZZ
08:30-11:30ZZZZZZZZJohn Smith1114JMPD
08:30-11:30ZZZZZZZZJohn Smith122PTRA
08:30-11:30ZZZZZZZZJohn Smith1312N/A
08:30-11:30jimmy smithSERVERO/VZZZZZZZZ
08:30-11:30Tony feloneySERVERO/VZZZZZZZZ
08:30-11:30ZZZZZZZZJohn Smith1113RAC
11:30-13:30Jimmy johnstonunkownO/VZZZZZZZZ
11:30-13:30STUART, andyunkownO/VZZZZZZZZ
11:30-13:30ZZZZZZZZJohn Smith1113CNC
13:30-15:30murrey, TINARegSalesO/VZZZZZZZZ
13:30-15:30ZZZZZZZZJohn Smith1114VGA
13:30-15:30HOLLY, oaksmanagerO/VZZZZZZZZ
13:30-15:30ZZZZZZZZJohn Smith111414
13:30-15:30SWAN, maryAVSnon O/VZZZZZZZZ
13:30-15:30ZZZZZZZZJohn Smith0073NOT
13:30-15:30WILLIAM, tonyunkownO/VZZZZZZZZ
13:30-15:30WILLIAM, tonyunkownO/VZZZZZZZZ
13:30-15:30WILLIAM, tonyunkownO/VZZZZZZZZ
13:30-15:30ZZZZZZZZJohn B Good 222F/T
13:30-15:30ZZZZZZZZJohn B Good 235DVDS
13:30-15:30ZZZZZZZZJohn B Good 245VDVD
13:30-15:30BBBB, Jamesregional managerO/VZZZZZZZZ
13:30-15:30ZZZZZZZZHarry Enfield2N/A
13:30-15:30Tom JonesAVSO/VZZZZZZZZ
13:30-15:30Tom JonesAVSO/VZZZZZZZZ
13:30-15:30ZZZZZZZZRobert lee3N/A
13:30-15:30ZZZZZZZZMary Smith1514F/T
13:30-15:30Nash, RickyCBDO/VZZZZZZZZ
13:30-15:30Nash, RickyCBDO/VZZZZZZZZ
13:30-15:30ZZZZZZZZAny Jones3ADFE
13:30-15:30ZZZZZZZZFreddie Merc5VBPD
13:30-15:30WILLIAM, RBSDO/VZZZZZZZZ
13:30-15:30ZZZZZZZZAdam Smith2ASM
14:00-15:00TURNER, TinaASPnon O/VZZZZZZZZ
14:00-15:00ZZZZZZZZJimmy Clark1SUPS
11:30-13:30BBBB, Jamesreg_mngrO/VZZZZZZZZ
11:30-13:30ZZZZZZZZMary Jones2N/A
14:00-15:00Tony HansonAVSO/VZZZZZZZZ
14:00-15:00ZZZZZZZZGerry Devino3N/A

<tbody>
</tbody>
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
wanted to add/Edit but the sytem wouldn't let me as i took to long(over 10mins)
Apologies, but I have no idea how to paste a copy of my excel sheets into this post (other than uploading).
I see that you can add blank columns/rows but I don't see the value of this since you can' then paste into.

Could some one point me in the correct direction with attempting to achieve the following results from an Exported CSV file:
what I need to do is have only one instance of each "VTR_Name"/s with then all of the following instances of the next imidiate rows of "V-Who"/s that the "VTR_Name"/s are coming into Speak chat with.

Then, if possible add an Additional 5 X Blank Spaces after the "V_Who"/s for eah record (visitor) this is in-case this changes on the day after printing, to allow for adding to additional "V_Who"/s ,they may request to see.

As shown below their may be more than one "VTR_Name"/s (ie-persons) coming in to chat with the following " V_who"/s

Note:

I don't know if this will help or not with the VBA if there are "ZZZZZZZZ" in Column B then they are always the "V_who"/s ,
same goes for the "ZZZZZZZZ" in Column E these are always the "V_Names"/s (whos coming in to see the "V_Whos")

Ie: Tonia smiley, Andy McGinty & Fred West are all seeing (X7) "V_Who"/s

Hope this makes sense, many thanks in advance for your suggestions
 
Upvote 0

Forum statistics

Threads
1,214,585
Messages
6,120,394
Members
448,957
Latest member
Hat4Life

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top