+ Reply to Thread
Results 1 to 4 of 4

how to put specific text when cell has a specific number

  1. #1
    Registered User
    Join Date
    04-17-2015
    Location
    kolkata
    MS-Off Ver
    2007
    Posts
    11

    how to put specific text when cell has a specific number

    Hi All,

    coming to this forum is actually always give me a relief, because i know i'm going to get the slolution.

    actully i've excell sheet,

    where column A has the names, columns B has the Number and Column C has the status.

    name number Status
    a 2 Pass
    b 0 fail

    and i've selected one cell where i'll put the formula and i'll get the name of Pass candidate.

    any idea Guys

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

    Re: how to put specific text when cell has a specific number

    Will there only be one Pass in list (I suspect not)?
    Do you want to return everyone who has a Pass?
    What's your output look like if returning everyone who has a Pass?
    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
    04-17-2015
    Location
    kolkata
    MS-Off Ver
    2007
    Posts
    11

    Re: how to put specific text when cell has a specific number

    Thanks K for taking your precious time on my issue

    you are right i have a huge list of pass and fail candidates.

    my main motto is to hide those columns only one cell be visible which will have the formula and that will fetch all the data( names of all) of pass candidates.

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

    Re: how to put specific text when cell has a specific number

    Try

    in D1
    =IFERROR(INDEX($A$1:$C$1000,SMALL((IF($C$1:$C$1000="Pass",ROW(INDIRECT("1:"&ROWS($A$1:$A$100))))),ROW(A1)),1),"")
    Array formula, use Ctrl-Shift-Enter

    and copy down the column

+ 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] VBA to Find Specific Text, then Copy range to next open cell under specific text
    By Remotruker in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-24-2015, 10:59 AM
  2. Replies: 2
    Last Post: 08-05-2013, 07:32 PM
  3. [SOLVED] how to stop Command button If specific number is entered in a specific cell range
    By sspreyer in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-26-2013, 05:10 AM
  4. Replies: 3
    Last Post: 06-20-2012, 07:16 AM
  5. Hide specific columns dependant on number in specific cell
    By ladbroke in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-13-2012, 04:46 PM

Tags for this Thread

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