Hi guys!
I am pretty good with excel but not code. I think my issue is going to need code as I dont think this is possible with if/then. The master excel sheet is constantly added to, so I cant use a manual filter/copy/paste approach. I cant add an image so I put the column names below.
What I need is something to search columns 'Agent1' 'Agent2' 'Agent3' for names. If the name of the agent comes up, then the row needs to be copy/pasted into a separate sheet under their name. I.e Agent1 can be Justin, Agent2 can be Ben, and Agent3 column blank. I will need the row to copy/paste into separate sheets one for Justin and one for Ben. Another example- Vikram as Agent1 and Agent2 and 3 blank. The row will need to copy/paste into Vikram's sheet.
The purpose of this is so I can have a master sheet but individual sheets for further calculation purposes. It is too big/complicating to all do on the same sheet. Any help will be greatly appreciated! Excel 2016 on a PC.
[TABLE="width: 1538"]
<colgroup><col width="395"><col width="56"><col width="54"><col width="56"><col width="88"><col width="113"><col width="84"><col width="95"><col width="118"><col width="84"><col width="118"><col width="76"><col width="118"><col width="83"></colgroup><tbody>[TR]
[TD="class: xl65, width: 395"]Client/Property Address
[/TD]
[TD="class: xl66, width: 56"]Buyer[/TD]
[TD="class: xl66, width: 54"]Seller[/TD]
[TD="class: xl66, width: 56"]Status[/TD]
[TD="class: xl66, width: 88"]close date[/TD]
[TD="class: xl66, width: 113"]Price[/TD]
[TD="class: xl66, width: 84"]%[/TD]
[TD="class: xl66, width: 95"]GCI total
[/TD]
[TD="class: xl66, width: 118"]Agent1
[/TD]
[TD="class: xl66, width: 84"]GCI Agent1[/TD]
[TD="class: xl66, width: 118"] Agent2
[/TD]
[TD="class: xl66, width: 76"]GCI Agent2[/TD]
[TD="class: xl66, width: 118"] Agent3
[/TD]
[TD="class: xl66, width: 83"]GCI Agent3[/TD]
[/TR]
</tbody>[/TABLE]
I am pretty good with excel but not code. I think my issue is going to need code as I dont think this is possible with if/then. The master excel sheet is constantly added to, so I cant use a manual filter/copy/paste approach. I cant add an image so I put the column names below.
What I need is something to search columns 'Agent1' 'Agent2' 'Agent3' for names. If the name of the agent comes up, then the row needs to be copy/pasted into a separate sheet under their name. I.e Agent1 can be Justin, Agent2 can be Ben, and Agent3 column blank. I will need the row to copy/paste into separate sheets one for Justin and one for Ben. Another example- Vikram as Agent1 and Agent2 and 3 blank. The row will need to copy/paste into Vikram's sheet.
The purpose of this is so I can have a master sheet but individual sheets for further calculation purposes. It is too big/complicating to all do on the same sheet. Any help will be greatly appreciated! Excel 2016 on a PC.
[TABLE="width: 1538"]
<colgroup><col width="395"><col width="56"><col width="54"><col width="56"><col width="88"><col width="113"><col width="84"><col width="95"><col width="118"><col width="84"><col width="118"><col width="76"><col width="118"><col width="83"></colgroup><tbody>[TR]
[TD="class: xl65, width: 395"]Client/Property Address
[/TD]
[TD="class: xl66, width: 56"]Buyer[/TD]
[TD="class: xl66, width: 54"]Seller[/TD]
[TD="class: xl66, width: 56"]Status[/TD]
[TD="class: xl66, width: 88"]close date[/TD]
[TD="class: xl66, width: 113"]Price[/TD]
[TD="class: xl66, width: 84"]%[/TD]
[TD="class: xl66, width: 95"]GCI total
[/TD]
[TD="class: xl66, width: 118"]Agent1
[/TD]
[TD="class: xl66, width: 84"]GCI Agent1[/TD]
[TD="class: xl66, width: 118"] Agent2
[/TD]
[TD="class: xl66, width: 76"]GCI Agent2[/TD]
[TD="class: xl66, width: 118"] Agent3
[/TD]
[TD="class: xl66, width: 83"]GCI Agent3[/TD]
[/TR]
</tbody>[/TABLE]