+ Reply to Thread
Results 1 to 6 of 6

Depending on the value of 3 cells (Y,Y,Y;Y,N,Y; etc) display an answer

  1. #1
    Registered User
    Join Date
    05-14-2018
    Location
    Leeds, England
    MS-Off Ver
    o365
    Posts
    5

    Depending on the value of 3 cells (Y,Y,Y;Y,N,Y; etc) display an answer

    Hi

    Wonder if anyone can help please, this is my first post so thanks in advance.

    I have asked 3 questions for which there are several possible answers and depending on which combination, i need a single cell to display an answer

    The table below shows the possible answer combinations and the what result i would like to display

    Q1 Q2 Q3 ANSWER
    Y Y Y 1
    Y N Y 2
    Y N N 3
    N N N 4
    N N Y 5
    N Y Y 6


    Any ideas please? My VBA isnt great so if possible a forumla?

    THANK YOU in advance

  2. #2
    Forum Expert Roel Jongman's Avatar
    Join Date
    03-28-2015
    Location
    Netherlands
    MS-Off Ver
    Office 365
    Posts
    1,495

    Re: Depending on the value of 3 cells (Y,Y,Y;Y,N,Y; etc) display an answer

    With a small reference table for all the possible combinations and scores

    you can build a vlookup formula to find the value for the combination of answers on that line..
    see attachement please.

  3. #3
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,525

    Re: Depending on the value of 3 cells (Y,Y,Y;Y,N,Y; etc) display an answer

    Would there also be another combination?

    YYN
    NYN

  4. #4
    Registered User
    Join Date
    05-14-2018
    Location
    Leeds, England
    MS-Off Ver
    o365
    Posts
    5

    Re: Depending on the value of 3 cells (Y,Y,Y;Y,N,Y; etc) display an answer

    Thanks very much - will give this a go

    appreciate your help

  5. #5
    Registered User
    Join Date
    05-14-2018
    Location
    Leeds, England
    MS-Off Ver
    o365
    Posts
    5

    Re: Depending on the value of 3 cells (Y,Y,Y;Y,N,Y; etc) display an answer

    More than likely - thanks, i will add to my lookup reference table

    appreciate your help

  6. #6
    Registered User
    Join Date
    05-14-2018
    Location
    Leeds, England
    MS-Off Ver
    o365
    Posts
    5

    Re: Depending on the value of 3 cells (Y,Y,Y;Y,N,Y; etc) display an answer

    Quote Originally Posted by roel jongman View Post
    with a small reference table for all the possible combinations and scores

    you can build a vlookup formula to find the value for the combination of answers on that line..
    See attachement please.
    spot on - thanks again!!

+ 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. Formula checks multiple cells for words and outputs answer depending on cells
    By keez1993 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-15-2015, 09:18 AM
  2. Replies: 2
    Last Post: 05-14-2015, 03:19 PM
  3. adding cells depending on answer
    By jgomez in forum Excel General
    Replies: 1
    Last Post: 01-26-2011, 11:17 PM
  4. Moving to the next cell depending on the answer
    By up_and_under in forum Excel General
    Replies: 1
    Last Post: 07-23-2010, 10:01 AM
  5. Run Macro depending Upon Answer.
    By Craig2097 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-20-2010, 11:27 AM
  6. Display R, A or G depending on text in 2 other cells
    By raehippychick in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-15-2009, 08:10 AM
  7. Display text depending on values of 3 different cells?
    By henrat in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-22-2005, 02:09 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