Help required to Jump from one cell to another with reference from the third cell

js376

New Member
Joined
Mar 11, 2014
Messages
3
I require urgent help. Can anyone please help me for the following problem:
I have an excel sheet for data entry (month wise)
it has 5 columns per day. and 150 products
so it is tiring to scroll every time to reach a particular date.
thus can anyone help me with a simple formula so that i directly jump to a specific date ( cell ) when i type a date in say A1.
example, i type in cell A1 "13" so i should directly go to cell CF15 ( where the date 13 is)
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
You can do what you want with Worksheet_Change event procedure code, with is VBA code that is automatically triggered whenever a specific cell is updated on your sheet.

Just right click on your worksheet tab name at the bottom of the screen, select "View Code" and paste the following VBA code in the resulting VB Editor window:
Code:
Private Sub Worksheet_Change(ByVal Target As Range)


    Dim mySearchValue As Variant


'   Check to see if cell A1 was changed
    If Target.Address = Range("A1").Address Then
'       If so, capture the value
        mySearchValue = Target
'       And search for it
        Cells.Find(What:=mySearchValue, After:=ActiveCell, LookIn:=xlFormulas, LookAt:= _
            xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext, MatchCase:=False _
            , SearchFormat:=False).Activate
    End If


End Sub
It will jump to the cell with that value. If it cannot find the value, it will stay in cell A1.
 
Upvote 0

Forum statistics

Threads
1,214,599
Messages
6,120,453
Members
448,967
Latest member
grijken

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top