davidmel20
New Member
- Joined
- Feb 28, 2020
- Messages
- 3
- Office Version
- 2016
- Platform
- Windows
Hi, I tried a lot of things for this but unfortunately I'm not well-versed enough in VBA to get what I need done and couldn't find any other related posts, so I'm coming to the experts!
I have a data set that includes 20 or so columns but I only need to reference three fields, "Agent", "ID #" and "Ticket Scheduled Date" (In the normal report, these will not be in columns A, B and C as they are in the example). There are a few things that I'm trying to make happen...
I've attached a few images of the data and what the end result would look like.
1) Based on the values that I put in sheet "Schedule", cells D1 and G1, create dates going across beginning in C5 until the date that's populated in G1.
2) Populate column B ("Agent Name") and the corresponding ID number relative to the scheduled date across the top. The data for this is in sheet "Data". If there is someone in the "Data" sheet that doesn't have a ticket scheduled within the dates that I've populated, I don't want them to show up. Some agents may have multiple ticket ID's for one day also.
3) Based on the value of the ID #, the color coding needs to change (over 600000 vs under 600000). I'm aware this can be done with conditional formatting but I'm not sure if it would be easier to just include in a macro.
I'm looking to make this as simple as possible, probably via a button or msg box, as it will be for entry-level employees to update the "Data" tab and then run the updates. Any help is greatly appreciated and thank you in advance.
I have a data set that includes 20 or so columns but I only need to reference three fields, "Agent", "ID #" and "Ticket Scheduled Date" (In the normal report, these will not be in columns A, B and C as they are in the example). There are a few things that I'm trying to make happen...
I've attached a few images of the data and what the end result would look like.
1) Based on the values that I put in sheet "Schedule", cells D1 and G1, create dates going across beginning in C5 until the date that's populated in G1.
2) Populate column B ("Agent Name") and the corresponding ID number relative to the scheduled date across the top. The data for this is in sheet "Data". If there is someone in the "Data" sheet that doesn't have a ticket scheduled within the dates that I've populated, I don't want them to show up. Some agents may have multiple ticket ID's for one day also.
3) Based on the value of the ID #, the color coding needs to change (over 600000 vs under 600000). I'm aware this can be done with conditional formatting but I'm not sure if it would be easier to just include in a macro.
I'm looking to make this as simple as possible, probably via a button or msg box, as it will be for entry-level employees to update the "Data" tab and then run the updates. Any help is greatly appreciated and thank you in advance.