Using the cell that is selected for the value in a formula

samc2696

New Member
Joined
Jul 16, 2018
Messages
42
Hi all,

I am wondering if something is possible at all. I have a calendar on Excel (month-by-month) and then another sheet with all the dates of all the different events that are happening.

I want to be able to click on a date in the calendar and then below, a list of the events that are occurring on that day appears. I more or less have the lookup side of things sorted but I do not know how to make it so that if someone clicks on the date then the list will appear. Essentially, I want to use the selected cell as the 'lookup_value' in the formula.

Is this possible at all? Do I need to use a macro?

Many thanks
Sam
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
You can't detect the active cell with formulas, but you can with VBA. You can set up a SelectionChange event that detects when a new cell is selected, which would then create your list. If you want me to set something like that up, let me know what your sheet layout is.
 
Upvote 0

Forum statistics

Threads
1,223,164
Messages
6,170,444
Members
452,326
Latest member
johnshaji

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