How to count number of cells in a range

Hello, I have two questions about counting the number of cells in a range?

  1. How do I count all cells in a range, whether or not they have a value in them? COUNTM seems to exclude blanks.
  2. Can I do they same for a list that is not a range?

Thanks,

Suzanne

Best Answer

Answers

  • Hello Suzanne

    You can use the following formula to count all the cells whether they have any value or are blank:

    =COUNTIF([Column Name]1:[Column Name]10, OR(LEN(@cell) = 0, LEN(@cell) > 0))

    Please replace the column name and range according to your requirements.

    Hope this helps!

    Best

    Nasir (Zealvert)

  • Thank you!

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

    @SuzanneH Happy to help!

    SMARTSHEET EXPERT CONSULTANT & PARTNER

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

    W: www.workbold.com | E: [email protected] | P: +46 (0) - 72 - 510 99 35

    Feel free to contact me about help with Smartsheet, integrations, general workflow advice, or something else entirely.