Creating Complex Report

2»

Answers

  • Debbie Sawyer
    Debbie Sawyer ✭✭✭✭✭✭

    @Paul Newcome

    Yes - that does doesn't it! When I wrote the function last night I was working from the report screen grab not the sheet screen grab so I didn't know the columns were adjacent!

    All good advice for you @Randy Van Winkle

  • Debbie's formula worked like a charm! I will try Paul's as well. Is there any benefit to using either one over the other?

    Subsequent question, any idea why "< 2 Week Supply" wouldn't work in a COUNTIFS formula? Seems like the < symbol is throwing it off.

  • Paul Newcome
    Paul Newcome ✭✭✭✭✭✭
    Answer ✓

    The benefit would be that one requires much less typing which in turn is less likely to break due to typos, and would be much easier to update if anything needs to be tweaked in the future.


    I did some testing for your other question...

    Using a COUNTIFS and directly referencing data that includes "<" such as "< 2 Week Supply" doesn't work. Odd, but...

    FIND and CONTAINS can both register the "<" just fine.

    So instead of

    =COUNTIFS({Range}, "< 2 Week Supply")

    try this

    =COUNTIFS({Range}, CONTAINS("< 2 Week Supply", @cell))


    That should get you your counts.

  • Countifs formula worked great as well. Thanks for both of your help. This sheet has been a great help to my organization.