Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

10
  • 1
    Can your data ever contain a future date? Also, col B appears to be text, so it isn't clear what's going on in your SUMPRODUCT. And what's in A1?
    – fixer1234
    Commented Aug 18, 2019 at 20:15
  • 1
    Without trying to unravel your formulas, if col A contains the dates, include a condition `(A1:A100>TODAY()-91). That assumes there can't be future dates in the data. BTW, if you will be copying the formula to populate other cells, you probably want absolute addressing in the range references.
    – fixer1234
    Commented Aug 18, 2019 at 20:23
  • 1
    You'd basically do it the same way as your name condition. It looks like col L contains the values you're summing? If so, multiply that by this condition, like (L1:L100)*(A1:A100>TODAY()-91). The date test will evaluate to 1 for qualifying dates, or 0 for non-qualifying, so only values associated with qualifying dates will return a value. Actually, you could just make it another argument in the SUMTOTAL: ...(L1:L100),(A1:A100>TODAY()-91)
    – fixer1234
    Commented Aug 18, 2019 at 20:45
  • 1
    This is going to be hard for people to figure out without knowing what's in the referenced cells. A couple of things to double-check: make sure you don't have circular references. It looks like your data starts in row 3 and you have a reference to A6. It isn't clear what's going on with the $A$1+2 that becomes part of a cell reference in INDIRECT (what's in A1?). I would try testing SUMPRODUCT with each argument separately to see what it's doing.
    – fixer1234
    Commented Aug 18, 2019 at 21:28
  • 1
    BTW, LO Calc can be set to use Excel-style addressing (which includes, among other things, sheetname!range rather than sheetname.range. That will make it easier to get support on SU (unless you have always used LO and that would confuse you at this point, or it would mess up support for a lot of legacy spreadsheets). The site has a lot of Excel pros but far fewer LO pros, and the native LO addressing confuses the hell out of Excel pros who aren't familiar with it. :-)
    – fixer1234
    Commented Aug 18, 2019 at 21:31