VBA Coding for getting corresponding data in parallel Column

Saifierro

New Member
Joined
Oct 14, 2021
Messages
1
Office Version
  1. 2016
Platform
  1. Windows
Hi, all the precious minds there ! Been reading through threads of you all and honestly, you people GOT THIS ! Its Peanuts for you.
Well, for me and people like me who, just try to get our occasional Excel problems solved and when fails, find this heaven, Good job you all.

Problem
The Problem is that I wish that whenever I select Car Category from the Drop Down List from any cell in Column "AU" of "Database" Sheet it should bring the corresponding Rent value of that car category, that's being provided in "-Key-" Sheet(Shown Below).

Conditions
1. All the coding has to be in VBA not Excel formulae, so that I don't have to copy paste formula in every new record, instead, whenever new record is added in top row(Coding of which is already set), we just have to select the category front the drop down and it should fetch the Rent for it.

2. On clearing Any Cell in "AU" column of "Database" sheet it should clear its corresponding content in "AV" column of the "Database" Sheet.


Database.jpg


Key.jpg


Much Obliged for your kind consideration, and support.

BR
Saifierro
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.

Forum statistics

Threads
1,215,013
Messages
6,122,690
Members
449,092
Latest member
snoom82

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