+ Reply to Thread
Results 1 to 8 of 8

How to find a Text exists in a column or not

  1. #1
    Forum Contributor
    Join Date
    12-17-2014
    Location
    Charlotte
    MS-Off Ver
    2013
    Posts
    137

    How to find a Text exists in a column or not

    Hi Team,

    Please suggest the function for the below requirement please.

    I have 6 Columns

    First 4 Columns will be given by the Client

    1) Column A - Table Names
    2) Column B - FAIL Count
    3) Column C - PASS Count
    4) Column D - Table which we need to Check

    Requirement: 5th and 6th need to be Populated based on Excel Function. We need to Check Column D Table Check with Column A and pick the related the Counts and show it in E and F Columns

    Please find the Worksheet attached.

    Thanks!
    Kiran
    Attached Files Attached Files
    Last edited by Kandavalli.Kiran; 01-11-2015 at 07:59 PM.

  2. #2
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: How to find a Text exists in a column or not

    As long as there are no duplicate entries in the Table Name column enter this in cell E2 and fill down and across to F16:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Does this do what you want?

    Edit: By the way some of the entries in the Table Name column have a trailing space. If the entries in the Table Check column aren't exactly the same this formula is not going to detect it. Consider cleaning the data in column A.
    Last edited by FlameRetired; 01-11-2015 at 09:08 PM.

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

    Re: How to find a Text exists in a column or not

    Or this 1...
    =IFERROR(INDEX(B$2:B$16,MATCH($D2,$A$2:$A$16,0)),"")
    Last edited by FDibbins; 01-11-2015 at 09:39 PM.
    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

  4. #4
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: How to find a Text exists in a column or not

    Quote Originally Posted by FDibbins View Post
    Or rgis 1...
    =IFERROR(INDEX(B$2:B$16,MATCH($D2,$A$2:$A$16,0)),"")
    Yeah...that's a better solution.

  5. #5
    Forum Contributor
    Join Date
    12-17-2014
    Location
    Charlotte
    MS-Off Ver
    2013
    Posts
    137

    Re: How to find a Text exists in a column or not

    Thanks Both! The logic is working

  6. #6
    Registered User
    Join Date
    01-12-2015
    Location
    ajmer,rajasthan
    MS-Off Ver
    10
    Posts
    2

    Post Re: How to find a Text exists in a column or not

    =vlookup(d2,a1:c16,2,false)

  7. #7
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: How to find a Text exists in a column or not

    Quote Originally Posted by Kandavalli.Kiran View Post
    Thanks Both! The logic is working
    You're welcome. Thanks for the rep!

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

    Re: How to find a Text exists in a column or not

    Happy to help, 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. [SOLVED] Search a column for a value and if it exists copy text from corresponding cell in column A
    By badlydrunkboy in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-02-2014, 06:13 AM
  2. Search For Word in One Column, If Exists Put Text In Another Column
    By biohazard35 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-20-2012, 05:33 PM
  3. How we can find that whether a particular column exists in the Excel file or not
    By Progress2007 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-05-2008, 12:01 PM
  4. lookup text in a column and say if it exists
    By dandenson in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-29-2008, 01:57 PM
  5. [SOLVED] Find if value in column A exists in Column B
    By Bzzer in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-12-2005, 11:06 PM

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