Forum Discussion

dtruhe's avatar
dtruhe
Copper Contributor
Dec 27, 2023

copying an absolute value of a formula to a separate cell?

I am trying to determine the number of items in a changing range that are between a changing high and low number. - I have a list of current POs that are actively being worked on and a list of POs that work has completed. I am trying to find a way to find the total number of POs (both active and completed) that are between the highest and lowest active PO numbers.

 

=MAX and =MIN works for the active list of POs

=COUNTIFS only seems to work if the criteria is a number not a nested formula

6 Replies

  • dtruhe 

     

    Can you provide a more specific description? COUNTIFS should work with expressions (formulas) in the criteria arguments too.

    • dtruhe's avatar
      dtruhe
      Copper Contributor

      HansVogelaar 

      Here is the formula that is not working. It returns a value of 0

       

      =COUNTIFS(WIP!C3:C183,">=(C37)",WIP!C3:C183,"<=(C36)")

      WIP is Work in Progress page in the same folder

      C37 and C36 are =MIN(WIP!C3:C48) and =MAX(WIP!C3:C48) which return the highest and lowest values of current work in progress

      I have tried putting the MIN MAX formulas in place of C37 and C36 and it still returns a value of 0

       

      Hans thank you in advance for your help with this.

      • dtruhe 

        Thanks! Try this version, with the cell references taken outside the quoted strings:

         

        =COUNTIFS(WIP!C3:C183,">="&C37,WIP!C3:C183,"<="&C36)

Resources