+ Reply to Thread
Results 1 to 11 of 11

Text in cell which then gives a specific word in other cells in the same row

  1. #1
    Registered User
    Join Date
    09-24-2012
    Location
    Glasgow, Scotland
    MS-Off Ver
    Excel 2007
    Posts
    9

    Text in cell which then gives a specific word in other cells in the same row

    In cell A1 I have a word, say Apple in A1. Is it possible when this word is entered in cell A1 I can then have another word or words appear along that same row - for example, can the word "yes" or "no" appear in cells A4, A5 and A6.

    Thanks in advance.

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Text in cell which then gives a specific word in other cells in the same row

    in A4
    =IF(A$1="Apple","Yes","No")
    copy down to A5 and A6
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Registered User
    Join Date
    09-24-2012
    Location
    Glasgow, Scotland
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: Text in cell which then gives a specific word in other cells in the same row

    Thank you very much. That worked. Sticking with that answer, is it possible to put multiple words, say apple, banana, grape into a formula in 1 cell and have it give the answer either "yes" or "no" across that row in individual cells i.e. B1, C1, D1.

    Thanks

  4. #4
    Registered User
    Join Date
    09-24-2012
    Location
    Glasgow, Scotland
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: Text in cell which then gives a specific word in other cells in the same row

    Thank you very much. That worked. Sticking with that answer, is it possible to put multiple words, say apple, banana, grape into a formula in 1 cell and have it give the answer either "yes" or "no" across that row in individual cells i.e. B1, C1, D1.

    Thanks

  5. #5
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Text in cell which then gives a specific word in other cells in the same row

    Post a few rows worth of data and tell us what results you expect.

    Or, it may be better to post a SMALL sample file so we can see how your data is structured.

    SMALL = about 20 rows worth of data
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  6. #6
    Registered User
    Join Date
    09-24-2012
    Location
    Glasgow, Scotland
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: Text in cell which then gives a specific word in other cells in the same row

    Sorry, but I'm struggling to attach the file. If this explanation helps - When I type a word into a cell in Column A, i.e. Apple in cell A1 would return Yes in B1 and D1, and Banana in A2 would return yes in C2 and D2. I have particular headings in these columns and the Yes's will correspond with whichever word I type into column A when they meet the criteria of these headings. Basically, I need a formula which has multiple words and when a particular word is typed into a cell in column A, depending on what criteria is, it will select a "yes" into particular cells in these columns. Thanks for taking the time to help.
    Last edited by Henpest; 07-18-2013 at 03:54 PM.

  7. #7
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Text in cell which then gives a specific word in other cells in the same row

    Is this what you want:

    ...............Apple......Bananna......Grape
    Apple........Yes........No..............No
    Apple........Yes........No..............No
    Grape........No.........No..............Yes
    Apple........Yes........No..............No
    Apple........Yes........No..............No
    Bananna....No.........Yes.............No
    Last edited by Tony Valko; 07-18-2013 at 04:09 PM. Reason: I don't know how to spell

  8. #8
    Registered User
    Join Date
    09-24-2012
    Location
    Glasgow, Scotland
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: Text in cell which then gives a specific word in other cells in the same row

    Yes! Exactly like that.

  9. #9
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Text in cell which then gives a specific word in other cells in the same row

    With the column headers in B1:D1...

    Enter this formula in B2:

    =IF($A2=B$1,"Yes","No")

    Copy across to D2 then down as needed.

  10. #10
    Registered User
    Join Date
    09-24-2012
    Location
    Glasgow, Scotland
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: Text in cell which then gives a specific word in other cells in the same row

    That works. Thanks for your help. Until the next time. Cheers.

  11. #11
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Text in cell which then gives a specific word in other cells in the same row

    You're welcome. Thanks for the feedback!

+ 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: 07-16-2013, 06:47 AM
  2. Replies: 3
    Last Post: 07-12-2013, 09:17 AM
  3. [SOLVED] If text in cell contains specific word
    By shiftyspina in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-11-2013, 06:56 AM
  4. Replies: 16
    Last Post: 04-25-2013, 03:12 PM
  5. [SOLVED] IF number/text in a cell begins with specific letter, then return desired word
    By BPSJACK in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-28-2013, 06:02 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