Dropdown - Table clear based on selected item

MMarius

Board Regular
Joined
Sep 15, 2015
Messages
60
Hi,

Dropdownmenu: car1, car2, car3, car4, car5 (selected now Car1).

A
B
C
D
E
Test
520000
20-02-2018
580000
60000 (formula): D1-B1
Test2
Test3
320000
25-02-2018
325000
5000 (formula) D3-B1
Test4
test4

<tbody>
</tbody>


What I want:

This values are for Car1 (Selected in dropwdown). When i choose car2 (from dropdown), I want the values from B, C, D, E to be cleared (but keep the formulas) and only A to show. This I want for every card and to be remembed. So when I choose car5 and complete and come back to car1, car1 to be completed as above.
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
Up. Can it be done somehow? i could not find anything related. Or maybe VBA?

Select car from dropdown (data validation -> list) => Clear from table: KM, Year, Color when chose another car but also to remember it.

So when I fill data for car1 (km, year and color) and chose car2, to be blank and be able to complete again... but when I go again to car1, to be already what I've typed.

Thanks :)
 
Upvote 0

Forum statistics

Threads
1,214,952
Messages
6,122,458
Members
449,085
Latest member
ExcelError

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