Restricted Entries

JJ in SD

Active Member
Joined
Jul 30, 2002
Messages
316
I have two columns in a spreadsheet that I need to restrict the data codes that can be used. Column E takes a code, which would be one of 3 to 6 major categories. Column E would be restricted to only the major codes with no other entries. Column F will take a code which is subordinate to one of the 3 to 6 major codes.

Example: Code SDM (used only in column E) would be a major category code. Subordinate to SDM would be DV, LL, SP, DM, up to 8 codes and only those pre-determined codes.

The Idea is that if a major code (up to 6 with was placed in a cell in column E then only one of its subordinate codes could be placed in column F in the adjacent cell.
Book2
EFGH
1MajorMinor
2SDMSP
3EFRD
4EfTV
5MTCS
Sheet1
 

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.

Forum statistics

Threads
1,224,271
Messages
6,177,598
Members
452,784
Latest member
talippo

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