-
Notifications
You must be signed in to change notification settings - Fork 176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AwardTracker: Handling Empty Surnames #2429
Comments
I noticed that the formula in my 'date-type' column is: After looking up what _xfln means, apparently this is a formula that my version of Excel does note have (I am running Office 2016). If I unhide all of the sheets and replace "_xlfn.CONCAT" with "CONCATENATE" in the entire workbook, it seems to be working for me now. |
Concat is apparently Excel 2019+. I'll swap that one over first, then look into the key issue. Edit: where are you finding the use of a concatenate? |
Your campaign loads fine for me |
I think it is loading correctly for me as well after fixing the CONCAT error. I was noticing that not all of my forces were showing in the list, but after looking into it more, it seems like it leaves out units with no kills. |
I didn't find any Concatenates, I just replaced the concat with concatenate Of course, it goes back to concat every time I refresh the data... |
This is the first time opening Slack in almost a year (got a new time-consuming job), and out of curiosity I search "award" to see if there has been any chat of my contributions back in 47.6, and low & behold @BowtieBob was talking about it just 3 hours ago!
|
@BullseyeSmith I love the award tracker, it is much better than trying to count all the kills manually! I use Excel a LOT, and I've made some pretty elaborate spreadsheets, but this thing is impressive and I still haven't figured out how it actually works. Luckily, I am able to run it by swapping out the Concat formulas each time, so it's not that big of a deal. If it is problem to update the formulas to work with Concatenate instead, then I would recommend updating the AwardGuide.md to list Excel 2019 and newer as being required (it currently states 2016 and newer). |
That was my bad, I'll swap it over to say 2019 (mistake on reading the version 😅) As for surnames, this is a clan file so they would likely be a blank tag. Surnames can be blank, single word, or multi-word. |
In case you are interested, I made a macro enabled version of the AwardTracker that is compatible with Excel 2016. Basically, I just added a button that refreshes the data and replaces the CONCAT formulas with CONCATENATE. Since I am unable to update my version of Excel, this was a much better option that manually updating the formulas each time. |
|
I managed to update the formulas in the conditional formatting to remove the CONCAT errors, but for some reason it still isn't highlighting the rows correctly. |
It is probably because you only think you updated them. You can build the formula with CONCATENATE instead of CONCAT in a regular cell, and you can copy & paste that formula back into the conditional formatting, and it will let you hit Okay without giving any error message, but I bet a shiny nickel that if you go back to the conditional formatting formula, it reverted back to CONCAT because the additional 55 characters from adding the 11 "ENATE" pushed the conditional formatting beyond its max allowed length, and therefore didn't really save any change. |
Actually, I took out the CONCAT completely and replaced it with "&" between the variables. It evaluates correctly in a regular cell, and it isn't reverting to CONCAT in the conditional format. I need to play with it more though. I've never used conditional formatting with a pivot table before, so I might just be missing something. |
Ok, it looks like I got the conditional formatting working: For some reason the conditional formats didn't like the formulas that were being used, so I went in and massively simplified them to get the same effect. Basically instead of selecting all of the values and adding them together, it just looks for the value in the subtotal column. I also have another version that only shows the latest campaign: |
Environment
What version of MekHQ does your issue apply to? 0.47.17
What operating system are you using? Windows
What java version are you using? Java vendor AdoptOpenJDK 11.0.9.1
Description
While updating the AwardTracker with my campaign info, I get an error saying the 'date-type' column has duplicate entries. None of the dates/scenario names match.
Files
Attached zip contains my campaign file and award tracker file
AwardTracker.zip
customs.zip
The text was updated successfully, but these errors were encountered: