Formulas and Functions

Formulas and Functions

Ask for help with your formula and find examples of how others use formulas and functions to solve a similar problem.

Report on tasks for the next 3 weeks

Hello,

I am trying to create a report view of my company's work schedule that only shows tasks happening over the next 3 weeks. I have tried using a combination of filtering by start and end dates in the next or last ____ days, however the problem is that it doesn't capture every task. For example, if there is a one-month long task that neither starts nor ends in a 3-week period, it will not meet those criteria, however the task will occur during that time.

The WEEKNUMBER function has similar constraints.

Is there any way around this?

Answers

  • ✭✭✭✭✭

    Hi, I just think you have your criteria confused right?

    You could use-

    Criteria 1: start date is before today AND end day is after today

    OR

    Criteria 2: start date is before today +21


    Does that work?

  • @BullandKhmer Hey, thanks! I fiddled around with the criteria you suggested and ended up using the combination in the screenshot attached, which works for the info on my sheet.


    By including anything with a start date in the past AND not marked 100% done, I'm able to see overdue tasks as well as tasks whose start and end date fall before and after the three week period. I'm also still able to filter out some tasks that I don't want to see, like tasks that are not assigned to a specific shop.


    .

  • ✭✭✭✭✭

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!

Trending in Formulas and Functions

  • I have a pretty basic sheet that I am using to develop a formula, and am encountering an issue I haven't seen before. The formula isn't including my second row for some reason. It isn't a huge issue f…
    User: "jjg279"
    Answered ✓
    9
    2
  • I'm sure that this is an easy fix but I've tried a bunch of different ways and can't get this to work. I need to get the max date from a sheet to feed it into my meta data sheet (dates are stored in d…
    User: "susanmgfin"
    Answered ✓
    8
    2
  • I need help to come up with the risk formula. I tried many different formulas and tried to modify it but just can't seem to have desired results. So these are the conditions I MUST meet: Program is a …
    User: "Ronak"
    Answered ✓
    29
    6