Forum Discussion

patel_dipesh's avatar
patel_dipesh
Copper Contributor
Dec 13, 2022
Solved

in column there are number and i want to total them in cell

33

33

30

29

15

12

i want to total number occurrences below 32 how to calculate include repeted numbers

 

  • patel_dipesh's avatar
    patel_dipesh
    Dec 13, 2022
    but it except the same numer as 15 ,15 it count 1 number only

4 Replies

  • Hi patel_dipesh 

     

    You would use countif function, the following formula will count the cell in the range A1:A5 that its value less than 32.

     

    =COUNTIF(A1:A5,"<32")

    • patel_dipesh's avatar
      patel_dipesh
      Copper Contributor
      but it except the same numer as 15 ,15 it count 1 number only
      • Patrick2788's avatar
        Patrick2788
        Silver Contributor

        patel_dipesh 

        Let's say the numbers are in A1:A10.  You could use:

        =LET(a,A1:A10,filtered,FILTER(a,a<32),COUNT(UNIQUE(filtered)))

         

Resources