Updating a dropdown list in excel

rintelen

Board Regular
Joined
Jul 30, 2006
Messages
96
Hi

I have a cell in my first tab say C2 that contains a drop-down list in it that looks at data. This data for example could be a set of years e.g. 1920, 1930, 1940, 1950 and so on.

I have a second tab (a1) that is updated from a database.

And a third tab (a1) that will update the same database usnig the data in c2.

Here's my problem: I want to import data into my second tab. If the data is different to what is in C2 I want C2 to automatically default to it, without touching it.

i.e. if it was shownig 1920 and the new data in the second tab is showing 1935 etc then C2 must show without clicking into it the new data i.e. 1935.

I need this automated in such a way that there is no need to press any buttons to run a macro. It just does it the moment that data arrives in the second tab.

If the data is changed by the user then it should update the third tab A1.

Any answers much appreciated.
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"

Forum statistics

Threads
1,215,459
Messages
6,124,948
Members
449,198
Latest member
MhammadishaqKhan

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