+ Reply to Thread
Results 1 to 5 of 5

Check if A1 equals the sum of A2+A3 display "correct" if not "Try again"

  1. #1
    Registered User
    Join Date
    07-17-2014
    Location
    home
    MS-Off Ver
    11
    Posts
    7

    Talking Check if A1 equals the sum of A2+A3 display "correct" if not "Try again"

    Two part question:

    Q1:

    if number in E57 plus number in E58 equals number in E59 than display "Complete"
    if number in E57 plus number in E58 do NOT equal number in E59 than display "Try Again"


    Q2:
    if sum of numbers in E2:E55 PLUS Sum of numbers F2:F55 is Equal to E59 than display "Complete"
    if sum of numbers in E2:E55 PLUS Sum of numbers F2:F55 is NOT Equal to E59 than display "Try again"


    Thanks!
    haven't used excel in years

    -EM

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,549

    Re: Check if A1 equals the sum of A2+A3 display "correct" if not "Try again"

    homework, I wonder?
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    07-17-2014
    Location
    home
    MS-Off Ver
    11
    Posts
    7

    Re: Check if A1 equals the sum of A2+A3 display "correct" if not "Try again"

    Quote Originally Posted by TMS View Post
    homework, I wonder?
    I am making test of sorts for my students in chem.

    I am trying also challenging myself with excel forms whenever possible, but this has me stumped.

    -teacher
    Last edited by eatmydust; 07-23-2014 at 06:44 AM. Reason: clarify

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,549

    Re: Check if A1 equals the sum of A2+A3 display "correct" if not "Try again"

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Formula: copy to clipboard
    Please Login or Register  to view this content.


    or maybe even:

    Formula: copy to clipboard
    Please Login or Register  to view this content.



    Regards, TMS

  5. #5
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP, 2007, 2024
    Posts
    16,460

    Re: Check if A1 equals the sum of A2+A3 display "correct" if not "Try again"

    You may also need to consider how many significant figures you expect your students to find in the answer. As written, Excel may expect your students to find all 15 digits that Excel's double precision calculates (that's what "exactly equal" means to Excel). If appropriate, you may want to test for abs(sum(values)-E59)<epsilon where epsilon is some "tolerance" value that represents how closely you expect your students to find the correct answer.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

+ 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: 5
    Last Post: 01-23-2014, 11:02 AM
  2. Replies: 4
    Last Post: 11-17-2013, 12:05 PM
  3. [SOLVED] How to USE """"" cells count """"" change font color
    By austin123456 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-09-2013, 06:14 AM
  4. [SOLVED] Formula needed to display "Pass" or "Fail" if a column contains any values other than "yes
    By andreindy in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-26-2013, 05:49 PM
  5. [SOLVED] create links to check boxes marked "good" fair"and "bad"
    By pjb in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-19-2006, 09:25 PM

Tags for this Thread

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