+ Reply to Thread
Results 1 to 10 of 10

Need a formula that returns a the content from a cell if another cell equals yes

  1. #1
    Registered User
    Join Date
    09-20-2013
    Location
    USA
    MS-Off Ver
    2007
    Posts
    4

    Question Need a formula that returns a the content from a cell if another cell equals yes

    I need a formula that returns the content of a cell if another cell equals yes if possible

    So if Cell H1 = yes then I want it to return the Contents of D1.

  2. #2
    Forum Contributor
    Join Date
    05-29-2013
    Location
    MD
    MS-Off Ver
    Excel 365
    Posts
    148

    Re: Need a formula that returns a the content from a cell if another cell equals yes

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


    Hope that helps.

    Thanks,
    Duncan

    If this solves your problem, please click on the star, and mark the thread solved.

  3. #3
    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,509

    Re: Need a formula that returns a the content from a cell if another cell equals yes

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



    Regards, TMS


    Edit: corrected as per post #4 from duncandhu
    Last edited by TMS; 09-20-2013 at 03:34 PM.
    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


  4. #4
    Forum Contributor
    Join Date
    05-29-2013
    Location
    MD
    MS-Off Ver
    Excel 365
    Posts
    148

    Re: Need a formula that returns a the content from a cell if another cell equals yes

    Quote Originally Posted by TMShucks View Post
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    This returns an error due to the single quote marks.

  5. #5
    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,509

    Re: Need a formula that returns a the content from a cell if another cell equals yes

    Apologies ... you are correct ... what comes of typing on an iPad (and not thinking).

    Mea culpa, mea culpa, mea maxima culpa

  6. #6
    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,509

    Re: Need a formula that returns a the content from a cell if another cell equals yes

    And, you know what, I actually compared our solutions as you'd beaten me to it! Just goes to show, you see what you expect to see.

    Regards, TMS

  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,049

    Re: Need a formula that returns a the content from a cell if another cell equals yes

    self-fulfilling prophecy
    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

  8. #8
    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,509

    Re: Need a formula that returns a the content from a cell if another cell equals yes

    @FD: what is?

  9. #9
    Forum Contributor
    Join Date
    05-29-2013
    Location
    MD
    MS-Off Ver
    Excel 365
    Posts
    148

    Re: Need a formula that returns a the content from a cell if another cell equals yes

    Quote Originally Posted by TMShucks View Post
    Apologies ... you are correct ... what comes of typing on an iPad (and not thinking).

    Mea culpa, mea culpa, mea maxima culpa
    Easy mistake to make! Don't be so hard on yourself!

  10. #10
    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,049

    Re: Need a formula that returns a the content from a cell if another cell equals yes

    What you said earlier...
    Quote Originally Posted by TMShucks View Post
    And, you know what, I actually compared our solutions as you'd beaten me to it! Just goes to show, you see what you expect to see.

    Regards, TMS

+ 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. [SOLVED] formula equals cell directly above
    By Lynne...... in forum Excel General
    Replies: 3
    Last Post: 12-12-2014, 03:00 PM
  2. Replies: 3
    Last Post: 11-06-2012, 03:19 PM
  3. [SOLVED] If cell X's content in Sheet A equals to cell Y's content in Sheet B, Then copy some data.
    By sunheroj in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 08-09-2012, 09:25 AM
  4. Replies: 6
    Last Post: 08-16-2011, 07:45 PM
  5. [SOLVED] Cell Formula reference to cell Based On third Cell Content
    By Gabriel in forum Excel General
    Replies: 0
    Last Post: 02-11-2005, 02:06 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