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).

[TABLE="width: 500"]
<tbody>[TR]
[TD]A
[/TD]
[TD]B
[/TD]
[TD]C
[/TD]
[TD]D
[/TD]
[TD]E
[/TD]
[/TR]
[TR]
[TD]Test
[/TD]
[TD]520000
[/TD]
[TD]20-02-2018
[/TD]
[TD]580000
[/TD]
[TD]60000 (formula): D1-B1
[/TD]
[/TR]
[TR]
[TD]Test2
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Test3
[/TD]
[TD]320000
[/TD]
[TD]25-02-2018
[/TD]
[TD]325000
[/TD]
[TD]5000 (formula) D3-B1
[/TD]
[/TR]
[TR]
[TD]Test4
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]test4
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]


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

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
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,223,264
Messages
6,171,081
Members
452,377
Latest member
bradfordsam

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