How to jump to a cell based on a number in another cell

asivaraman

New Member
Joined
Aug 12, 2019
Messages
13
I have a project tracking sheet.

I need to jump to a cell based on the number i fill in another cell.
I have attached an image for visual reference.
When I type number "2" in F5, i need the cell to jump to R5 (i.e Oct-30)

I may create up to 52 weeks so the formula should work accordingly.

Please help. or suggest another easier way?
Thank you
 

Attachments

  • Capture.JPG
    Capture.JPG
    85.7 KB · Views: 25
Actually I can write it better like this:
VBA Code:
Private Sub Worksheet_Change(ByVal Target As Range)

'Modified  10/19/2020  1:01:13 AM  EDT
If Target.Cells.CountLarge > 1 Or IsEmpty(Target) Then Exit Sub

If Target.Column = 6 And Target.Row > 4 Then

    Select Case Target.Value

        Case 1 To 10: Target(, Target - 1 * 5 + 13).Select

    End Select

End If

End Sub
 
Upvote 0

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.

Forum statistics

Threads
1,224,828
Messages
6,181,201
Members
453,022
Latest member
RobertV1609

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