Forum Discussion

AidonOlligschla's avatar
AidonOlligschla
Qrew Cadet
2 years ago

Need Formula to Count Amount of Items

Good Afternoon All,

My company is conducting a baggage survey where we must record all types and weights of baggage during the operation.  My form is set up as items 1-20, as well as weights 1-20.  I had no problem creating a total weight field, but I need a formula field that counts the amount of items.  The item field has words instead of numbers (such as personal bag, checked bag, crew bag, etc.), so I need a formula that will count any of these as 1 and then total it up.

Appreciate any help you can offer!
Aidon

------------------------------
Aidon Olligschlager
------------------------------

2 Replies

  • MarkShnier__You's avatar
    MarkShnier__You
    Qrew #1 Challenger
    Try this

    Count(
    [Bag Type 1] <> "",
    [Bag Type 2] <> "",
    etc
    [Bag Type 20] <> "")


    ------------------------------
    Mark Shnier (Your Quickbase Coach)
    mark.shnier@gmail.com
    ------------------------------
    • AidonOlligschla's avatar
      AidonOlligschla
      Qrew Cadet
      Yes, Mark!  Worked perfect.

      Thanks,

      ------------------------------
      Aidon Olligschlager
      ------------------------------