+ Reply to Thread
Results 1 to 3 of 3

Formula that mimics Ctrl+F

  1. #1
    Registered User
    Join Date
    10-24-2007
    Posts
    1

    Formula that mimics Ctrl+F

    I am looking for a way to find data in a spreadsheet the way Control F does.

    Would like to be able to have a cell where users will type the 6 digit schedule # and have the spreadsheet go right to the first occorance of this Number.

    Any help?

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Maybe this link about a event macro would help you

    http://www.excelforum.com/showthread.php?t=594168

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  3. #3
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Formula that mimics Ctrl+F

    This is a bit messy, but it works without macros:

    With your list of Sched_Nums is in A1:A20

    And....
    D1: (a Sched_Num input by a user)

    Then....try this:
    E1: =HYPERLINK("file://"&SUBSTITUTE(LEFT(CELL("filename"),FIND("]",CELL("filename"))-1),"[","")&"#"&CELL("address",INDEX(A1:A20,MATCH(D1,A1:A20,0))),"Enter Sched_Num__then click here")

    That cell will display: "Enter Sched_Num__then click here"
    and it will also be a dynamic hyperlink to the referenced Sched_Num.

    The user enters a Sched_Num in cell D1 then clicks on E1.

    Note: if the list is on another sheet...
    The INDEX function must refer to that list
    AND...
    The sheet name must be entered after the # in the formula, followed by an exclamation mark, then the cell address:

    Example:
    If the list is in a sheet named: SchedSheet
    then:
    "#SchedSheet!"&CELL...etc
    Is that something you can work with?
    Last edited by Ron Coderre; 10-24-2007 at 03:19 PM.
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

+ 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