Calculate Answers from Form input

Options
MediaDes
MediaDes
edited 09/15/21 in Formulas and Functions

Hi I have a forms with 16 questions, the questions have one of four answers

A Rarely seen

B Occasionally seen

C Frequently seen

D Seen majority of the time

I want to calculate the total across the rows with a vaule for each of

A = 1 

B = 2

C = 3

D = 4 

Is there a formula that can do this? 

=IF(([Q1]1 = "A Rarely seen"), "1", 0)

=IF([Q1]1 = "B Occasionally seen", "2", "0")

=IF([Q1]1 = "C Frequently seen", "3", "0")

=IF([Q1]1 = "D Seen majority of the time", "4", "0")

But is it possible to combine these in a if or or to add a total across the row and down the column?

Tags:

Answers

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

    Hi @MediaDes

    I hope you're well and safe!

    Try something like this.

    =
    COUNTIFS([Q1]@row:[Q16]@row, "A Rarely seen") * 1 + 
    COUNTIFS([Q1]@row:[Q16]@row, "B Occasionally seen") * 2 + 
    COUNTIFS([Q1]@row:[Q16]@row, "C Frequently seen") * 3 + 
    COUNTIFS([Q1]@row:[Q16]@row, "D seen majority of the time") * 4
    

    Did that work/help?

    I hope that helps!

    Be safe and have a fantastic week!

    Best,

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

    Did my post(s) help or answer your question or solve your problem? Please support the Community by marking it Insightful/Vote Up or/and as the accepted answer. It will make it easier for others to find a solution or help to answer!

    SMARTSHEET EXPERT CONSULTANT & PARTNER

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

    W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35

    Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.

  • MediaDes
    Options

    Hi Andree

    I am will I hope you are too?

    Thank you for your prompt response much appreciated.

    Unfortunately it hasn't worked it says #UNPARSEABLE

    =COUNTIFS([Q1]@row:[Q16]@row, "A Rarely seen") * 1 + COUNTIFS([Q1]@row:[Q16]@row, "B Occasionally seen") * 2 + COUNTIFS([Q1]@row:[Q16]@row, "C Frequently seen") * 3 + COUNTIFS([Q1]@row:[Q16]@row, "D seen majority of the time") * 4

    I tried just a count on the =COUNTIFS([Q1]@row:[Q16]@row, "A Rarely seen") * 1 but this didn;t work either

    This gave the same error too.

    Regards

  • Andrée Starå
    Andrée Starå ✭✭✭✭✭✭
    edited 09/15/21
    Options

    @MediaDes

    Glad to hear you're well, and I am too!

    Happy to help!

    Strange!

    I'd be happy to take a quick look.

    Can you maybe share the sheet(s)/copies of the sheet(s)? (Delete/replace any confidential/sensitive information before sharing) That would make it easier to help. (share too, andree@workbold.com)

    SMARTSHEET EXPERT CONSULTANT & PARTNER

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

    W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35

    Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.

  • MediaDes
    Options

    Hi Andree

    I have shared the sheet with you and some explanation of what I am trying to do.

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

    @MediaDes

    Excellent!

    I've updated the formulas in your sheet.

    Remember! Did my post(s) help or answer your question or solve your problem? Please support the Community by marking it Insightful/Vote Up or/and as the accepted answer. It will make it easier for others to find a solution or help to answer!

    SMARTSHEET EXPERT CONSULTANT & PARTNER

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

    W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35

    Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!