Can anyone recommend a easy way to change a date range in a SUMIFS function?

I have a SHEET where the columns need to reference a progressing month date range in a SUMIFS function. Is there an easier way to use a function other than referencing two specific date ranges in a different sheet? My formula is the following:

=SUMIFS({450 - INVOICE ENTRY SHEET Range 1}, {450 - INVOICE ENTRY SHEET Range 2}, <={425 - CASH FLOW META DATA Range 1}, {450 - INVOICE ENTRY SHEET Range 2}, >={425 - CASH FLOW META DATA Range 2}, {450 - INVOICE ENTRY SHEET Range 3}, =$[COST CODE LEVEL]@row)

For every new column I add, I have to manually change the references to the date range. Is there a method to progressively index a month range?

Answers

  • Paul Newcome
    Paul Newcome ✭✭✭✭✭✭

    Are you able to provide some screenshots for context?

    Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!

    CERTIFIED SMARTSHEET PLATINUM PARTNER

    10xViz.com

  • I have attached an image of a part of the SHEET. The months carry out about 100 more. The column with "ACTUAL" has the formula that needs to be specific to the month of that column. I currently have to manually change every columns reference to another sheet with a start and end day for each month.

    Thank you for your support.


  • Sheet that is being reference for the date values

  • Andrée Starå
    Andrée Starå ✭✭✭✭✭✭

    Hi @franklingreen

    I hope you're well and safe!

    Would something like this work, and would you update your formula to check the Year, Month, and so on in the main sheet instead?

    • I recommend adding a Sheet Summary Field with the Year and referencing it in the formula.
    • What I usually do in my client solutions, which have Year, Months, Days, or similar, is to add so-called helper rows somewhere in the sheet (usually at the top) with the YYear in each cell, Month#, and so on, and I would still put the Year in the Sheet Summary and reference it in the Year row at the top)

    Make sense?

    Would any of those options work/help?

    I hope that helps!

    Be safe, and have a fantastic weekend!

    Best,

    Andrée Starå | Workflow Consultant / CEO @ WORK BOLD

    Did my post(s) help or answer your question or solve your problem? Please support the Community by marking it Insightful/Vote Up, Awesome, or/and as the accepted answer. It will make it easier for others to find a solution or help to answer!

    SMARTSHEET EXPERT CONSULTANT & PARTNER

    Andrée Starå | Workflow Consultant / CEO @ WORK BOLD

    W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35

    Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!