Hi Everyone. I am so glad I found this forum. It was really helpful.
In that case, I need help in creating a template using the attached data. If you are familiar about shrinkage and absenteeism report in a call center, that is what I would like to do.
However, I have no idea how to start. Can someone send help in creating a template for me? Appreciate your help. Thanks a lot@!
Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
MS-Off Ver
MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
Posts
80,929
Re: Call Center - Login Logout Report
Please add to the workbook a manual mock-up of what you would like the template to do - layout, manually calculated results, etc.
Ali Enthusiastic self-taught user of MS Excel who's always learning! Don't forget to say "thank you" in your thread to anyone who has offered you help.
You can reward them by clicking on * Add Reputation below their user name on the left, if you wish. Forum Rules (updated August 2023): please read them here.
In that template, one of the sheet in excel where I can say for example, a sheet which where I can copy and paste the data from "Agent Time card File" paste it to that sheet and when you click a button it will auto generate. and then a sheet where I can say, update or edit the status of the agent from unconfirmed to present, or late, or leave.
I need help instead of the one mentioned above. Is there a way to format the excel file attachment above to make it more simple? without blanks but data still on it.
There are multiple approaches to achieve the desired outcome, with one method utilizing helper columns. The resulting data is displayed in the 'After' sheet.
While it's feasible to accomplish the task without using helper columns, doing so often entails employing complex and resource-intensive formulas.
Alternatively, VBA (Visual Basic for Applications) could provide another avenue to accomplish the task.
I've provided a solution in the attachment, which utilizes formulas with helper columns. Please let me know if you prefer a VBA solution instead.
Thank you so much. This result is what I am looking for. Would mind if I can take a look on that VBA solution that you have mentioned? I just wanted to see what I can use and learn something from that.
Thats OK.
Create another sheet, name "Output" to store the result
Try below code
PHP Code:
Option Explicit Sub test() Dim lr&, i&, k&, rng, team$, agent$, st$, res() With Sheets("Data") lr = .Cells(Rows.Count, "F").End(xlUp).Row ' last used row rng = .Range("A2:F" & lr).Value ' copy value range value into array ReDim res(1 To UBound(rng), 1 To 6) For i = 1 To UBound(rng) If rng(i, 1) <> "" Then ' column A <>"" team = rng(i, 1) ElseIf rng(i, 2) <> "" Then ' column B <>"" agent = rng(i, 2) ElseIf rng(i, 5) <> "" Then ' copy row into result array k = k + 1: res(k, 1) = team: res(k, 2) = agent: res(k, 3) = rng(i, 3) res(k, 4) = rng(i, 4): res(k, 5) = rng(i, 5): res(k, 6) = rng(i, 6) End If Next End With Sheets("Output").Activate If k = 0 Then Exit Sub Range("A2:F10000").ClearContents Range("A2").Resize(k, 6).Value = res End Sub
I also would like to ask about the helper you have provided. whenever I paste another set of data, it won't show on the after sheet and it shows n/a. but i drop the formula as it is.
Make sure that you copy the formulas from the helper area on the right down, and you will see the results in the helper area.
If not, try to upload the new file with wrong result.
I tried adding 2 data. could you take a look on this? under the AFTER sheet. there are only 2 logins "Landayan" but supposed to have 3 based on the before sheet.
After receiving assistance, to grasp how to solve and address future arising issues, you should make an effort to understand how the formula works. The old VLOOKUP function at B2:
is there a way to simplify the formula in the helper? like using index match or vlookup? or any other formula that is simply to understand? or if not, can you explain this formula?
Another question. To be honest I am not good in formula especially if there are multiple conditions and I will be glad if I can learn something to all of you.
For example in this given phone number:
6592394592
6566817316304
what formula can I used? to get if the first number contains 65, it will remain as the same. but if the number contains 6566 or 6561 it will removed the "65" and retains the 61########.
Bookmarks