+ Reply to Thread
Results 1 to 8 of 8

Show a Text on a Column based on the values in Two separate columns

  1. #1
    Registered User
    Join Date
    07-31-2017
    Location
    Sri Lanka
    MS-Off Ver
    Excel 2013
    Posts
    4

    Show a Text on a Column based on the values in Two separate columns

    Hi,

    I want to do this in Excel.

    Check this image.
    http://img.sceper.ws/images/guZT.png

    If the number is equal or above 39 in Columns M1 and M3
    AND
    number is equal or above 2 in Column B
    I want to show text "Pass" in a blank column.

    If not (that means if above values are less), it should show text "Fail".

    Please help me with this.

    Thanks

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    HOME: Excel 2007 - WORK: Excel 2013
    Posts
    7,007

    Re: Show a Text on a Column based on the values in Two separate columns

    With "Name" in cell A2

    IF(AND(B3>=39,D3>=39,F3>=2),"Pass","Fail")
    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
    07-31-2017
    Location
    Sri Lanka
    MS-Off Ver
    Excel 2013
    Posts
    4

    Re: Show a Text on a Column based on the values in Two separate columns

    Tried Special-K suggestion. Not working for me mate. I replaced relevant column values.
    Thanks

  4. #4
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    HOME: Excel 2007 - WORK: Excel 2013
    Posts
    7,007

    Re: Show a Text on a Column based on the values in Two separate columns

    What cell is "Name" in ?

    BTW: "Mathamatics 32" should be "Mathematics 32"
    and it looks like you have "Fass - 1" rather than "Pass - 1"

  5. #5
    Registered User
    Join Date
    07-31-2017
    Location
    Sri Lanka
    MS-Off Ver
    Excel 2013
    Posts
    4

    Re: Show a Text on a Column based on the values in Two separate columns

    Name is in cell "C"
    Thanks

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    MS 365 Business (Win 10 - Work) & MS 365 Subscription Insider (Win 10 - Home)
    Posts
    42,100

    Re: Show a Text on a Column based on the values in Two separate columns

    Just adapt the formula:

    =IF(AND(C3>=39,E3>=39,G3>=2),"Pass","Fail")
    Last edited by AliGW; 07-31-2017 at 09:58 AM.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!

    Forum Rules (updated September 2018): please read them here.
    How to use the Power Query code you've been given: help here. More about the Power suite here.
    Don't forget to say "thank you" to those who have helped you in your thread. If you wish, you can also reward them by clicking on their reputation star bottom left.

  7. #7
    Registered User
    Join Date
    07-31-2017
    Location
    Sri Lanka
    MS-Off Ver
    Excel 2013
    Posts
    4

    Re: Show a Text on a Column based on the values in Two separate columns

    I forgot to enter "=" at the beginning. Its working now. Thank you both for helping me.

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    MS 365 Business (Win 10 - Work) & MS 365 Subscription Insider (Win 10 - Home)
    Posts
    42,100

    Re: Show a Text on a Column based on the values in Two separate columns

    Yes, that would help!!!

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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. Assign values to categories of values based on separate column attribute.
    By jenbot83 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-06-2017, 02:17 PM
  2. [SOLVED] Excel2010 IF Formula to return value based on a separate date and two separate text values
    By jakecutler in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-12-2015, 03:24 AM
  3. Replies: 17
    Last Post: 02-11-2014, 10:00 AM
  4. Find duplicate values based on 2 separate columns
    By dreich in forum Excel General
    Replies: 1
    Last Post: 01-30-2013, 01:41 AM
  5. Replies: 6
    Last Post: 01-09-2012, 03:34 PM
  6. Replies: 4
    Last Post: 07-20-2011, 09:20 AM
  7. need to separate values from one column to two columns, is that possible?
    By Aquamath in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-17-2011, 08:40 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