+ Reply to Thread
Results 1 to 7 of 7

Formula required to meet returned Yes/No conditions

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    06-25-2011
    Location
    Sydney
    MS-Off Ver
    Excel 2016
    Posts
    615

    Formula required to meet returned Yes/No conditions

    Hi Folks

    In the attached worksheet I have set up Col D to return Yes/No

    Where Col D does return "Yes" I want Cell C5 etc to return the value corresponding to the name from Cols E & F.

    So RADISH returns "Yes" I now need the value (2) to appear in Col C in line with RADISH.

    Where PUMPKIN returns "No" I want C6 to return blank.

    Cheers
    Hammer
    Attached Files Attached Files

  2. #2
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Formula required to meet returned Yes/No conditions

    Try this:

    =IFERROR(VLOOKUP(A5,$E$5:$F$8,2,0),"")
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,051

    Re: Formula required to meet returned Yes/No conditions

    You were a little unclear as to whether you wanted both cell contents returned?

    If so, try this, copied down...
    =IF(D5="Yes",E5&" "&F5,"")
    If you just want 1 of the cells, adjust it to...
    =IF(D5="Yes",E5,"")
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Forum Contributor
    Join Date
    06-25-2011
    Location
    Sydney
    MS-Off Ver
    Excel 2016
    Posts
    615

    Re: Formula required to meet returned Yes/No conditions

    What a great Forum!
    Thank you folks.

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,051

    Re: Formula required to meet returned Yes/No conditions

    Happy to help and thanks for the feedback

    Just curious, which suggestion worked for you, because they were both different interpretations of your question, with *almost* completely different answers

  6. #6
    Forum Contributor
    Join Date
    06-25-2011
    Location
    Sydney
    MS-Off Ver
    Excel 2016
    Posts
    615

    Re: Formula required to meet returned Yes/No conditions

    The first one thanks FDibbins.
    Apologies for not making things as clear as they should be. I know what I want but am never able to express it clearly enough in writing (I plead old age)

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,051

    Re: Formula required to meet returned Yes/No conditions

    Thanks for the update, and dont worry, even with sometimes detailed descriptions, different members will read it different ways, hence why I asked (I use that excuse too by the way lol)

+ 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. if formula to meet multiple conditions
    By a2424 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-02-2013, 02:54 AM
  2. if formula to meet several conditions
    By a2424 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-21-2013, 06:24 PM
  3. Replies: 2
    Last Post: 11-06-2012, 10:49 PM
  4. [SOLVED] Formula help required to enable conditional formatting of cells that meet multiple con
    By Barbara Excel in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-14-2012, 10:10 AM
  5. [SOLVED] Formula help required to enable conditional formatting of cells that meet multiple cond.
    By Barbara Excel in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-30-2012, 01:34 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