+ Reply to Thread
Results 1 to 4 of 4

Adding together IF Cells

  1. #1
    Registered User
    Join Date
    09-18-2020
    Location
    Conwy, Wales
    MS-Off Ver
    365 ProPlus
    Posts
    2

    Adding together IF Cells

    Hi,

    I'm trying to put together a spreadsheet for a learning styles questionnaire. There are a list of questions of which the answers can either be 'often' (5 points), 'sometimes' (3 points) or 'seldom'(1 point), with each question being related to a different type of learning style.

    I'm trying to set it up so that the user can just put an x in the column for their answer and the spreadsheet will calculate the result for them. So far I've used a formula for each question (e.g. =IF(D2="x", "5", "0") and so on, which works to show the correct score for each question. What I then wanted to do was select each appropriate question result row for each learning style and add them to give the final result for each style. The results in the IF formula columns aren't adding together though- is there a way to make that work?

    I hope the above makes sense, it's a bit difficult to explain.
    Attached Files Attached Files

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,724

    Re: Adding together IF Cells

    Don't use quotes around the numbers 5 and 0 in your formula - those will turn the numbers into a text value.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    09-18-2020
    Location
    Conwy, Wales
    MS-Off Ver
    365 ProPlus
    Posts
    2

    Re: Adding together IF Cells

    That worked! Thank you

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,724

    Re: Adding together IF Cells

    You're welcome - glad to help.

    If that takes care of your original question, please take a moment to select Thread Tools from the menu above and to the right of your first post in this thread, and mark the thread as SOLVED.

    Also, since you are relatively new to the forum, you might like to know that you can directly thank those who have helped you by clicking on the small "star" icon located in the lower left corner of a post that you have found to be helpful (not just in this thread - for any post that has helped you). This also adds to the reputation of the poster (the small green bars in the poster's profile).

    Pete

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 13
    Last Post: 07-16-2016, 10:53 PM
  2. [SOLVED] Adding specific text to cells based on another cells data criteria
    By JohnnyBoyxxx in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-26-2015, 02:08 PM
  3. Replies: 3
    Last Post: 07-14-2013, 03:00 PM
  4. [SOLVED] Adding two cells containing SUM function adding up to zero
    By ra3940 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-18-2012, 01:28 PM
  5. Replies: 4
    Last Post: 04-22-2012, 07:55 AM
  6. Adding values in cells (stops adding after row 14)
    By Rick_Stanich in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-02-2009, 09:43 AM
  7. Adding Time: Adding individual cells works, but SUM doesn't
    By fredmeister in forum Excel General
    Replies: 17
    Last Post: 04-11-2008, 10:40 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1