Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 18
Default Replace the Find Function with a formula

Is it possible to create a formula that is like the find function. I would
like the user to be able to type the number or name of an item they are
looking for and it will take them to the cell that has that name or number in
it.

Also, if there is, what happens when there are mutiple cells with the same
reference?

thanks
Charlene
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 256
Default Replace the Find Function with a formula

Not possible quite as you describe. You can use this VBA event:

Private Sub Worksheet_Change(ByVal Target As Range)
Const myCell As String = "A1"

If Not Intersect(Target, Me.Range(myCell)) Is Nothing Then
Me.UsedRange.Find(Me.Range(myCell).Value).Select
End If
End Sub

Whenever cell A1 is changed, the value in A1 is searched and first
found instance of it is selected. There isn't a real way to locate
multiple instances, per your process design. You can, however, modify
the Find method arguments to look by rows, columns, etc - just like
you can with the built-in Find functionality.


On Jan 22, 7:10*pm, CHARLENE
wrote:
Is it possible to create a formula that is like the find function. I would
like the user to be able to type the number or name of an item they are
looking for and it will take them to the cell that has that name or number in
it.

Also, if there is, what happens when there are mutiple cells with the same
reference?

thanks
Charlene


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Disable Find-Replace Function FARAZ QURESHI Excel Discussion (Misc queries) 0 January 4th 07 06:58 PM
Multiple Find and Replace in one function [email protected] Excel Worksheet Functions 4 September 11th 06 03:16 AM
Problems with find/replace function BobS9895 Excel Worksheet Functions 1 September 8th 06 09:42 PM
Help! - Lost function in Find & Replace! jmn13 Excel Discussion (Misc queries) 1 May 25th 06 06:16 PM
HOW CAN I GET THE REPLACE FUNCTION TO DEFAULT TO FIND WHAT? mdmerriam Excel Discussion (Misc queries) 1 April 30th 05 02:57 AM


All times are GMT +1. The time now is 09:00 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"