Get data on each click

trader10518

New Member
Joined
Jul 3, 2015
Messages
34
Hi guys,

Is it possible to achieve the following in excel:

I select cell A1, which has a specific reference number. This cell/number corresponds to B1:K1 data set. Similarly, A2 corresponds to B2:K2 data set, and so on.
Separately, there is a formula in cell M1, which uses the data set based on a selected reference number.
I click on any reference number in column A, and a formula in cell M1 uses the corresponding data set. I mean data changes on each selection, just by clicking on a cell within a single column.

Sound possible on not? :rolleyes:

Thanks,
Arthur
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.

My Aswer Is This

Well-known Member
Joined
Jul 5, 2014
Messages
17,593
Office Version
  1. 2013
Platform
  1. Windows
Tell me what you want to happen when you click on A1
And normally we do not need to have a formula in a place like M1
Vba will have some type formula in the script to put what you want in M1
Tell me what you want to do and we can write a script to do it.
And what happens in B to K

And I assume it will be M1 then M2 and then M3 depending on what row you click on
Or will you be entering different values in A1 A2 A3
If so we would have the script run when you enter a value into column "A"
 
Last edited:

Watch MrExcel Video

Forum statistics

Threads
1,130,169
Messages
5,640,550
Members
417,151
Latest member
ChickenTenderer

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
Top