Automatic Data Entry for Given Values

tara_922

Board Regular
Joined
Jul 15, 2011
Messages
127
Hiya all,

I have 158 rooms in a list. Cells in the A column can be any one of those 158 but only occur once. However, there are different types of rooms, from Studios to 4 bedrooms. I want the cells in the C column to auto populate with the room type when the room number is selected.

To make the data validation list work for column A I inserted in Column M all of the 158 rooms. In column N next to each of the rooms is the room type.

So I want excel to take the room number and match it to column N then putting the value of column N into the C column. Here's an example of my sheet

Col.A...Col.B......Col.C
523...Cecilia......1bed
616B..Cecilia......Studio B
719...Cecilia......3bedPRES
303A..Cecilia.....Studio A
403A..Cecilia......Studio A
403B..Cecilia......Studio B
411...Cecilia......1bed
503B..Cecilia......Studio B
603B..Cecilia......Studio B
601...Heriberta...2bed
610...Heriberta...2bed
710...Heriberta...1bedPRES
317...Heriberta...2bed
702...Heriberta...4bedPRES
703A..Heriberta...Studio A
704...Heriberta...2bed

Any help would be greatly appreciated!

Thanks,
Tara
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
Thanks so much! I'm so excited to learn something new...have been curious about VLOOKUP for a while now but it was a little intimidating to be honest. now I have an excuse to tackle it!

Thanks again!

Tara
 
Upvote 0

Forum statistics

Threads
1,224,506
Messages
6,179,159
Members
452,892
Latest member
yadavagiri

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