+ Reply to Thread
Results 1 to 3 of 3

Find column number that has a specific value

  1. #1
    Forum Contributor
    Join Date
    02-20-2009
    Location
    bristol
    MS-Off Ver
    Excel 2003
    Posts
    882

    Find column number that has a specific value

    Hi guys

    In the excelsheet, I want to find a value(07:00) in a row from columns A to AB. Suppose the rownum=20 then how can I find a column that has the value 07:00 in rownum 20.

    Can anyone please tell me the code to find a column number that has the desired value corresponding to a specific rownum.

    Thanks

  2. #2
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Find column number that has a specific value

    Hi aman1234

    I keep this code snippet in my toolbox; change the cell references as required and check your formatting
    Please Login or Register  to view this content.
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

  3. #3
    Valued Forum Contributor
    Join Date
    06-19-2010
    Location
    Holywell, N Wales, UK
    MS-Off Ver
    Excel 2013
    Posts
    470

    Re: Find column number that has a specific value

    With acknowledgements to jaslake who got there first ...

    and to specify the desired search row

    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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