+ Reply to Thread
Results 1 to 4 of 4

IF statement that selects answer based on 2 different cell values

  1. #1
    Registered User
    Join Date
    09-12-2014
    Location
    Exton, PA
    MS-Off Ver
    2007
    Posts
    5

    IF statement that selects answer based on 2 different cell values

    I am having trouble with an "IF" statement. I would a cell to say "CORRECT" or "INCORRECT" depending on where you place an "X". Once the cell displays either you will link to the second question. I used this statement [=IF(J23="X",HYPERLINK("#J35","CORRECT!"),HYPERLINK("#F1",""))] that works to have cell J35 display correct. This is the statement that is giving me errors [IF((J23="X",HYPERLINK("#J35","CORRECT!"))OR(O23="X",HYPERLINK("#J35","INCORRECT!"))),HYPERLINK("#F1",""))]. Any ideas??

  2. #2
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: IF statement that selects answer based on 2 different cell values

    this is untested....but it might get you closer...

    Please Login or Register  to view this content.
    EDIT: some of the () maybe off....
    Last edited by judgeh59; 09-17-2014 at 02:58 PM.
    Ernest

    Please consider adding a * if I helped

    Nothing drives me crazy - I'm always close enough to walk....

  3. #3
    Registered User
    Join Date
    09-12-2014
    Location
    Exton, PA
    MS-Off Ver
    2007
    Posts
    5

    Re: IF statement that selects answer based on 2 different cell values

    Thanks! I received an error stating that there are too many arguments.

  4. #4
    Forum Expert judgeh59's Avatar
    Join Date
    02-07-2013
    Location
    Boise, Idaho
    MS-Off Ver
    Excel 2016
    Posts
    2,310

    Re: IF statement that selects answer based on 2 different cell values

    that's strange....I'm not receiving any errors...did you type it in or copy paste?

+ 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: 7
    Last Post: 06-07-2014, 06:35 PM
  2. [SOLVED] Populating a cell based on what the user selects from a drop down
    By Chuck_N in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-07-2014, 12:54 PM
  3. Date-based VBA macro selects wrong cell.
    By Dralky in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-12-2013, 06:38 PM
  4. Enter text value into next availble cell in range if user selects correct answer
    By jerbaldw in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-18-2012, 10:24 AM
  5. If statement based on two cell values
    By jpruffle in forum Excel General
    Replies: 3
    Last Post: 03-28-2009, 01:13 PM

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