+ Reply to Thread
Results 1 to 7 of 7

If cell a= 11 then cell 6= John

  1. #1
    Registered User
    Join Date
    05-06-2011
    Location
    Galway
    MS-Off Ver
    Excel 2003
    Posts
    8

    If cell a= 11 then cell 6= John

    How can I created a formula that will display a text output in cell 6 that is linked to a number in cell a.

    Thanks in advance.

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: If cell a= 11 then cell 6= John

    b6 = if(a6=11,"john","")
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Registered User
    Join Date
    05-06-2011
    Location
    Galway
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: If cell a= 11 then cell 6= John

    I got this to work but if

    =IF(H6= "11A","John") works fine
    I am using a drop down menu,
    When I change to =IF(H6= "11C","Dave") works fine

    When I reselect the drop down for 11A I get (false)

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,604

    Re: If cell a= 11 then cell 6= John

    The "" at the end of the formula that oeldere gave you will ensure that you get a blank rather than the word FALSE. However, it would be better if you set up a little table somewhere with all those values listed in one column and the names in an adjacent column, like this:

    11A ..... John
    11B ..... whoever
    11C ..... Dave

    and so on (suppose you do this in columns X and Y of the same sheet). Then you could just have this formula:

    =IFERROR(VLOOKUP(H6,$X:$Y,2,0),"")

    Hope this helps.

    Pete

  5. #5
    Registered User
    Join Date
    05-06-2011
    Location
    Galway
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: If cell a= 11 then cell 6= John

    Will try that will let you know how it goes. Thanks

  6. #6
    Registered User
    Join Date
    05-06-2011
    Location
    Galway
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: If cell a= 11 then cell 6= John

    Perfect thanks

  7. #7
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,604

    Re: If cell a= 11 then cell 6= John

    Well, that's good to hear - thanks for feeding back.

    If that takes care of your original question, please take a moment to select Thread Tools from the menu above your first post and mark this thread as SOLVED.

    Also, you might like to know that you can directly thank those who have helped you by clicking on the small "star" icon located in the lower left corner of a post that you have found to be helpful (not just in this thread - for any post that has helped you). This also adds to the reputation of the poster (the small green bars in the poster's profile).

    I see, in addition, that your profile states that you are using Excel 2003, although you must have upgraded because the function IFERROR was not available for that version - please update your profile on the User CP screen to show your current version (it can affect what functions can be used in a potential solution).

    Cheers,

    Pete

+ 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. Convert string in format "Smith, John" to "John Smith"
    By ks100 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-04-2015, 02:36 PM
  2. Convert string in format "Smith, John" to "John Smith"
    By ks100 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-03-2015, 12:00 PM
  3. Replies: 1
    Last Post: 07-16-2012, 08:04 PM
  4. Change JOHN HANDCOCK to John Handcock?
    By msy12 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-23-2009, 12:14 PM
  5. Change Smith, John to John Smith
    By Levi in forum Excel General
    Replies: 4
    Last Post: 05-03-2006, 11:00 AM
  6. I am trying to change Smith, John to John Smith
    By Levi in forum Excel General
    Replies: 3
    Last Post: 05-01-2006, 07:00 PM
  7. how to format Doe,John to Doe, John (space after a comma)
    By asuncionw in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 11-04-2005, 10:10 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