Each cell clicked changes other cells' data

Noxqss38242

Board Regular
Joined
Sep 15, 2017
Messages
223
Office Version
  1. 2016
I have 12 months of data. Each month obviously data changes.
I want to click on cell Q2 and other cells P4:AB5 pull data stored on another tab for January numbers.
Click on R2, S2, T2, etc.. and the same cells P4:AB5 pull data stored on that other tab for February, March, April numbers, etc...

Any solution would be great!
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
Do you have anything in Q2,R2,S2,T2?
Or are they just empty cells?

To run a macro to pull data, you could do something like this:

1. In Cell Q2, enter the word JAN, in cell P2 enter the work FEB... etc for all the months.

2. Create a macro to pull data from specific tab and paste it to the desired location
Give each macro a meaningful name, such as GetJanData, GetFebData, etc

3. Insert a hyperlink in cell Q2, and link it to the macro GetJanData
Do the same for the other cells.
 
Upvote 0
Found a solution without using macros. Just had to alter some data on the source so I could apply vlookup and fill from there. Thanks though!
 
Upvote 0
Solution

Forum statistics

Threads
1,215,635
Messages
6,125,942
Members
449,275
Latest member
jacob_mcbride

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