+ Reply to Thread
Results 1 to 4 of 4

how to find a value in a column

  1. #1
    Registered User
    Join Date
    01-19-2011
    Location
    london
    MS-Off Ver
    Excel 2007
    Posts
    76

    how to find a value in a column

    Hi all,

    I have an excel file that I want to find a value at a column if has so return 1 and else 0.
    Please help to make it.
    Thank you so much
    Attached Files Attached Files

  2. #2
    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,946

    Re: how to find a value in a column

    Try this, copied down...
    =--(COUNTIF($B$2:$B$8,"*"&A2&"*")>0)
    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

  3. #3
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: how to find a value in a column

    Try this.

    =--NOT(ISNA(MATCH("*"&A2&"*",$B$2:$B$8,0)))
    If posting code please use code tags, see here.

  4. #4
    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,946

    Re: how to find a value in a column

    Thanks for the rep, if that answers your question, please mark your thread as SOLVED using Thread Tools (located above your first post).
    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. Find keyword in column B and print vaue of column E to column G not working
    By moorea21 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-30-2017, 04:58 AM
  2. Replies: 2
    Last Post: 05-23-2017, 08:28 AM
  3. Loop through column to find EID then find date and paste corresponding data
    By CieloSalas in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-01-2017, 06:33 PM
  4. Replies: 3
    Last Post: 11-25-2014, 06:08 AM
  5. Replies: 3
    Last Post: 05-28-2014, 12:01 PM
  6. Replies: 2
    Last Post: 04-26-2013, 01:16 PM
  7. Range.Find to find column and place value in next available cell in one line
    By davegugg in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-02-2011, 10:41 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