This request may be a bit of a doozy...
I have the following data:
A B C D E F G H I 1 Raid Week Date Hrs Raided Guild Max Attendees 2 1 5/13/2013 15 25 Ariston Veev Muffin Value 3 1 5/19/2013 10 25 Veev Value 4 2 5/20/2013 4 4 Veev Puddin 5 4 6/3/2013 2 2 Veev Ariston Ariston 6 5 6/12/2013 30 35 Veev Value Puddin Veev Veev 7 5 6/13/2013 5 35 Value
I currently have the following formula:
Formula:Please Login or Register to view this content.
Which attempts to determine if the name "Veev" is present on any given row, and add up the "Hrs Raided" column for each row that it is present. It works fine if there is only one occurrence of the name, but it will give credit for multiple occurrences, which I don't want it to do. I tried to fix that by changing it to:
Formula:Please Login or Register to view this content.
Which correctly removed duplicate credit, but then it started giving credit for rows where the name wasn't present. To get this formula working as intended, it should be outputting 61, but it is currently outputting 66.
Then, I want to complicate things a little further... as you can see in the column A, there are 4 unique raid weeks. I want each raid week to yield a maximum value of 20, and I would like for that user's credit to be their attendance for that raid week (while considering the 20 max). E.g., raid week 1 has 25 hours. Veev was present for 25 out of (20) hours and receives max credit of 100%. Ariston was present for 15 out of (20) hours and receives 75% credit.
I really have no idea how to go about doing this. I was thinking to generate a list of unique raid weeks, and to combine that in a SUMPRODUCT along with the names... e.g., min( SUMPRODUCT(1,"Veev",*Hrs Raided) , 20) / min(20,Guild Max) That's not the proper syntax obviously, but hopefully explains my logic behind it. Only, I would like for this to support an infinite amount of raid weeks, and I'm not sure how I would just combine them in the above scenario.
Since this is all a bit confusing, let me give a few examples of how I would like to data to finally be outputted:
Veev = 20/20 + 4/4 + 2/2 + 20/20 = 4.00
Ariston = 15/20 + 0/4 + 2/2 + 0/20 = 1.75
Muffin = 15/20 + 0/4 + 0/2 + 0/20 = 0.75
Value = 20/20 + 0/4 + 0/2 + 20/20 = 2.00
Puddin = 0/20 + 4/4 + 0/2 + 20/20 = 2.00
I hope that makes sense... essentially, I want to award every name with their % attendance for the raid week, while only tracking up to a maximum of 20 hours in a given week, and only giving them up to 100% attendance. Is this doable without macros/VB? I'm attaching the actual spreadsheet since it will undoubtedly be easier to play around with there. Would really appreciate any help.
Voodoo-WildStar-DKP.xlsm
Bookmarks