Dec 15 2022 07:24 AM
Hello Community, If you are up to a challenge and if it possible to accomplish with formulas or VBA I've got a challenge for you. I have 12 sheets in a workbook that look exactly the same. Each worksheet represents a month. So Jan, Feb, Mar and so on up thru Dec. Each sheet consists of 317 ROWS. Each ROW represents an individual building number. ie, 200, 210, 215, 218 and so on. Each month I have to physically go to 26 or 27 buildings and physically read the utility meters, Water, Gas & Electric and jot down the readings. I then enter these numbers (Readings) into the workbook and on the sheet for the month which the readings were obtained for. The task here is to obtain 100% of the meter reads over the course of 12 months by dividing the number of buildings by 12 to determine the number of reads necessary per month to obtain 100% by the end of the year. So, what I am trying to accomplish is the ability to enter a date against a building number, for example JAN, and have that date populate all the other cells for that building number across the months of FEB, MAR, APR and so on right on up into DEC. In essence showing that the meters for this building have already been read and thus locking those cells from having any additional entries being made into them. The only way to change the date would be to go back into the month the meters were originally read. Any change, if it were necessary would reflect/update all those other cells. Now lets say dates were entered into the FEB worksheet for which no dates were entered in the JAN Worksheet, the same thing would happen but the date entered in FEB would also reflect into JAN as well as MAR, APR, MAY and so on right on up into DEC. This process would continue all the way up into DEC. If a date was entered into DEC for a building that did not reflect as having its meters read, the DEC date would reflect all the way back into the JAN worksheet and populate all cells for that building number up thru Nov as DEC is the originating date entry. The idea here is to be in a current month and be able to look at the current month worksheet and be able to determine what buildings still need to have its meters read. So come DEC for instance, you should only see what buildings still remain to have its meters read. Again, the idea is to read a number of meters each month that would as evenly possible to obtain 100% reads by the end of the year. More or Less could be read each month but this method will always show which ones still need to be read.
So what do you think about this challenge??? This will probably keep you on your toes. Keep in mind, I have 12 worksheets, each having its own TAB within a workbook. And on each TAB I have a cell, within a column, for entering a date for Electric Read, one for Gas Read and one for Water Read. Anyone up to the challenge? More details can and will be provided upon request.
Jan 08 2023 07:44 PM
Jan 08 2023 07:51 PM
Jan 08 2023 08:00 PM
My biggest issue is understanding functions and formulas I’ve never seen before and understanding what they are doing. You know, trying to wrap my brain around what they are doing.
That makes all the sense in the world. I'm in the same position often. There are times when others here in this forum offer solutions that I don't understand at all. Sometimes I just shake my head in amazement. Other times I start playing with the function or the method in simpler ways with applications of my own, so as to get an understanding. Or I take a look at YouTube or a website like ExcelJet in order to get an explanation of the function from a more instructional perspective. In general, though, the best way to wrap our brains around a function we don't understand--but want to understand--is to start working with it (or playing with it) on some project that we care about.
There are hundreds of functions in Excel, covering all kinds of types of data and different types of analytical systems--engineering, finance, statistics, etc. This list is worth keeping handy when you are looking for how to accomplish something.
It’s super nice to know there are people out there that are willing to help. You are one of those people. The same with Matt. You guys seem to make a good team even it your not. Thank you for all you do.
Thanks for your kind words. Matt is far more knowledgeable than I, one thing I've realized. But he and I are only two of a number of people who are happy to help others learn the ins and outs of this marvelous tool. It's like a hobby for us, and always gratifying when somebody like you is helped.
Jan 08 2023 08:09 PM
I’m talking about your version that has the worksheet and tally. The one with True or false. That’s the one I really liked.
I had the impression you were still working with monthly sheets somehow. Is that not the case?
In the Tally sheet, there are only a few distinct formulas, and then conditional formatting that creates the colors for the TRUE and FALSE.
Other than sequencing the building numbers as you want them, which you could accomplish just be copying a list that IS in the sequence you desire, I think the formulas themselves--all of them--can just be copied down the rest of the sheet. It does occur to me that they may need modifications in order to take account of the entire set of raw data on the entry sheet. If you need help with those modifications, let me know.
Jan 09 2023 06:37 AM - edited Jan 09 2023 06:46 AM
@Carl_61 @mathetes First off, thank you for the kind words and I agree in spades about the kindness and generosity of the many contributors here and on other forums that both share their knowledge and lend aid to people of all skill levels. No we are not an official team but I have been on a number of posts with John and always appreciate his input as we so often agree on best practices and he often says what I would think.
What I wanted to add here was to comment on Carl's request for a red/green dot. Again, with the conditional formatting I already did with the whole line being green when all 3 are done, light blue for individual meter reads and white for undone reads, I think it is pretty clear.
(hmmm, might be nice if you extended that green onto the building number too. Simple change the 'Applied to' range of that conditional formatting to be $a:$J)
BUT you say you like the True/False column that John made which you should be able to copy over and you can then use conditional formatting to add a red/green dot. I think this could be a great exercise for you to learn more about conditional formatting. As shown in the picture below there are a number of options in the 'Icon Sets' for you to pick from and 'play' with to learn. Apply it to the true/false column you create and if you don't want to see the text there is an option to 'show icon only' or if you could always make the text 'white' to be not visible on the white background:
Jan 09 2023 07:32 AM
Just to be clear, I am speaking to the workbook attached and the Tally Sheet Tab Column "L" All Meters Read? column in regards to the True or False. I was just saying that instead of "True", True is represented by a Green Dot/Circle and instead of "False", False is represented by a Red Dot/Circle. I will try to make that happen but I just wanted to point out the Work Sheet & Tally Sheet I thought would be the most functional for me. Thank you to both of you and now I just have to figure out how to implement these 2 into the UMS Workbook and make them functional.
Jan 09 2023 07:50 AM
Jan 09 2023 08:09 AM
Jan 09 2023 08:33 AM
Jan 09 2023 08:53 AM
Jan 09 2023 08:57 AM
Jan 09 2023 09:18 AM
Jan 09 2023 10:01 AM
Jan 09 2023 11:02 AM
Jan 09 2023 11:11 AM
Jan 09 2023 11:32 AM
Jan 09 2023 12:15 PM
Jan 10 2023 07:39 AM
Jan 10 2023 07:42 AM
Jan 10 2023 07:43 AM - edited Jan 10 2023 07:44 AM
The "-" indicates it couldn't find that building # on that sheet while 0 means it found that bldg# but the rate value was 0 or blank
The gas (both) were processed in the testing I did