Forum Discussion
Compare Columns of Dates In A Formula
I understand the idea and started implementing that into my worksheet. The formula I wrote in a Date (Hidden) column is
=IF([@[ Date (Buy)]]="","",IF('Buying Checklist'!E28>[@[ Date (Buy)]],"",[@[ Date (Buy)]]))
Then I would have an IF before the SUMIF check for a value in these columns. However, how would I account for transactions not placed in the Buying Checklist. By doing this everything I ever purchased would also have to be put into the buying checklist. My goal is to be able to delete information from the checklist after it is entirely completed.
The values for the original total amounts are still there in the original range. (AB). You can use the total sum in AB and use the qualified sum in the new range where needed. Simple math will also give you the difference. Aside from this, I will need a better understanding. My original goal was to help you to sum your range with only the dates that met the criteria.
- Compl9xAug 11, 2020Copper ContributorI only plan on using the Checklist for say 50% of my purchases. With that being said, for it to work with the current solution, wouldn’t I have to input everything I bought? Besides from only counting the data after a specific date, I want to be able to delete data after it reaches 100% completion or just never have some info inserted at all. The entry pages were designed to have all the specifics. The checklist is temporarily to help get me there.
- SqueakySneakersAug 11, 2020Brass Contributor
Since I cannot see your spreadsheet and reference it against what you are saying, being specific gets more difficult. Correct my thinking: Your original sumif formula calculated the total for a given product with regards to what was entered on the other tabs, correct? Your new => date formula filtered out those entries that did not meet the date criteria so what was left to add was only the entered information that met the date criteria, then filtered by the sumif equation adjusted to use the new range. If my remark is correct, I do not understand why everything is needed to be input. With regards to your 100% completion, do you have markers that denote an item is 100% complete so you can use that as a TRUE/FALSE marker in an equation that can set the value to $0, or do you delete it manually?
- Compl9xAug 11, 2020Copper Contributor
You are completely correct about the SUMIF formula. However, either yourself or I am confused on how the date portion is going to work. I will attach a version of my spreadsheet without the hidden columns below in case I messed anything up.
But I'll try to re-explain my goal of this sheet. When I buy something, I detail all the information of the buy into the Skins/Consumables tabs. The buying checklist would be used to plan SOME of my buying choices. Not everything I buy will be planned/listed in the Buying checklist tab. I believe this is the issue for me. Something in the Skins/Consumables may be skipped over and I don't think I'm correctly writing that in Excel. Instead of skipping over a row, my dates are being compared incorrectly.
When I mentioned I wanted to delete info in the Checklist I meant the following: I manually type how many I want. Excel would tell me how many I bought so far. There is a remaining amount which does the subtraction. Finally the far left will show a check mark when remaining equals 0. I would love the option to manually delete a row of my inputs if I decided to. Say I buy all the items, well they aren't needed to be bought anymore, so I can remove them from the checklist but leave there entries on the correct page.
You should be able to access/download it here: https://drive.google.com/file/d/19CTtqmPoTHZsfokLAzaQIZ2bPeEPLDli/view?usp=sharing