Navigating to cells as per the Drop Down

nbkjytr

New Member
Joined
Dec 11, 2021
Messages
18
Office Version
  1. 2013
Platform
  1. Windows
Hello Friends,

Need help with excel. Working on tracker with has too many information to scroll from left to right.

Hence looking for a method where I can directly go to specific cell based upon the value in drop down (Data Validation) without any double click or select and click. I think VBA would work smoothly.

Example if I select June in drop down it should take me to the cell where June data (K12) is available.

Note: All the Data is available in the same Sheet. It only needs to navigate to the specific cell in the same sheet. Only the source of Data Validation is in a different Sheet in the same excel file.

Attaching a sample screenshot for both the sheets for your reference.
 

Attachments

  • Helper - Sheet 1.png
    Helper - Sheet 1.png
    143 KB · Views: 14
  • Tracker - Sheet 2.png
    Tracker - Sheet 2.png
    179.2 KB · Views: 14
In case anyone in the future is interested in using a combo for this (and assuming I understand the original problem), here's how:
Freeze panes set at column 3. Combo located inside frozen column range.

Combo rowsource. Numbers are for the leftmost column in the desired range which should lie outside of the rightmost frozen column, so 4.
1690987312908.png

Only one line of code is actually required.
VBA Code:
Private Sub ComboBox2_Click()

'example of staying on a particular row, e.g. 1
Cells(1, ComboBox2.Column(1)).Select

'example of staying on the active row
'Cells(ActiveCell.Row, ComboBox2.Column(1)).Select

End Sub
After January selection:
1690987831887.png

After August selection
1690987881144.png

After Apr selection
1690987961764.png


Of course, you don't have to show the list values in the sheet.
HTH someone one day.
 
Upvote 0

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).

Forum statistics

Threads
1,215,135
Messages
6,123,238
Members
449,093
Latest member
Vincent Khandagale

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