Data Validation (cost centres)

Laila1987

New Member
Joined
Dec 20, 2016
Messages
3
Hi all,

I'm sure this question has been asked before but I am looking for some help with setting up data validation.

I have a list of business locations that have a range of allowable cost centres to be used against them.

For example i have purchase invoices in query logged on an excel workbook, one row per invoice. A site and cost centre and manually added for each invoice in separate columns. What i want to do is make the cost centre column a drop down containing allowable cost centre codes for that specific site location based on another worksheet containing that allowable cost centre data.
Invoice NumSiteCost Centre
123York01
345Leeds02
678Manchester01

<tbody>
</tbody>

The allowable cost centre data looks as follows,

SiteName010203
YORYorkOkBlockedOk
LEELeedsBlockedOkOk
MANManchesterOkBlockedOk

<tbody>
</tbody>

Any help or a point in the right direction would be appreciated. Thanks :)
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop

Laila1987

New Member
Joined
Dec 20, 2016
Messages
3
All worked fine accept no dependant drop down box will open for location code 'WAR' but works for all other sites. No one likes war, assume excel is no different :LOL: ??
 
Upvote 0

James006

Well-known Member
Joined
Apr 4, 2009
Messages
4,590
Office Version
  1. 2016
Platform
  1. Windows
Hi,

Just make sure 'WAR' is properly spelled ... with no leading or trailing spaces ... :wink:
 
Upvote 0

Forum statistics

Threads
1,191,670
Messages
5,987,951
Members
440,121
Latest member
eravella

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
Top