Sign in to join the conversation:
I am trying to write a date range formula with an IF AND statement (I think).
I need to check a box if [Previous date] is in a specific date range.
It should look something like this:
=IF(AND([Previous date]@row <= DATE(2019, 1, 31), [Previous date]@row >= DATE(2019, 1, 1)), 1, 0)
This one will flag all dates in January 2019. You'll need to adjust the dates manually. The 1 and 0 at the end of the formula turn the checkbox on and off.
When you only have two results (checked or unchecked), you really only need to specify what changes the default of unchecked to checked. You could leave the 0 off of the end of the formula and it will still work the same way. (Just FYI).
.
A few additional things to keep in mind that may or may not make things a little easier for you...
To help with having to manually adjust dates within a formula (if you're anything like me you stand a good chance of a typo or fat fingering something haha), you could reference 3 (or 6) different cells depending on the type of breakdown you are looking for. Something along the lines of (column headers are bold)...
Helper Start End
Year
Month
Day
You could then use (assuming the Year row is row 1)
=DATE(Start$1, Start$2, Start$3)
This gives you the ability to edit your dates without having to edit your formula. If you are looking for weekly, monthly or yearly counts you could use
=IF(WEEKNUMBER([Previous Date]@row) = *********, 1)
In the section of ********* you have a few options. You could enter a specific number, WEEKNUMBER(a cell reference that would contain a number), or WEEKNUMBER(a date using the DATE function which could also be manual entry or cell references).
=IF(MONTH([Previous Date]@row) = ************, 1)
=IF(YEAR([Previous Date]@row) = ***********, 1)
=IF(AND(YEAR([Previous Date]@row) = **********, MONTH([Previous Date]@row) = **********), 1)
Hello. I need to send a sheet to multiple different people and I want them to only be able to interact with their specific row. Is this possible? eg: 10 rows(person A, comment) I want Row 1 to go to person A and for them to only see their row and only comment in their specific section, Row 2 → person B, etc, etc. Any help…
I have a Resource Table with… Resource ID Name DailyRate ValidFrom R01 Resource X $1,500 3/8/25 R01 Resource X $2,000 9/1/25 R01 Resource X $2,200 9/31/25 I also have a Week by Resource Table with… WeekID ResourceID WCDate ValidRatePerWeek W01 R01 3/2/25 auto-pop $1,500 W02 to W26 R01 All the dates for W02 to W26 auto-pop…
I've got a sheet set up with multiple tasks assigned to different people. When printing the sheet the comments are all listed at the bottom of the sheet rather than under the relevant tasks. Is there a setting that allows the comments to be printed under each task ?