Make your data validations dynamic! [quick tip]

Share

Facebook
Twitter
LinkedIn

Ok, since excel school 3rd batch is going to open on 15th, I wasnt going to write anything today. I have slept just 4 hours last night, blame it on work (and that funny video on youtube). But I found 30 minutes free time, so here you go, a quick but delicious tip on making your data validation dynamic.

Data Validation - DemoDynamic Data Validation?!? What in the name of slice bread and peanut butter is that?

We all know that you can tell Excel to limit the input values in a cell to just a list of possible values using data validation (Here is a tutorial).

Let us say, you have set up a nice little data validation list to let your users select one of the several products listed. Like shown to the right.

But there is a problem, the list of products doesnt change whenever we add or remove products.

This is where the dynamic data validation thingie comes in to picture. It same as regular data validation, but with the ability to change input list whenever you have new data. See this short demo to understand:
Dynamic Data Validation - Demo

So, how to setup a dynamic data validation list?

if you are running Excel 2007 or above:

  1. Select your list of products (or invoices or cats) and make it in to a table. (here is a helpful tutorial on excel tables).
    Create a table - Dynamic Data Validation in Excel
  2. Now, create a new named range and point it to the table, like this:
    Dynamic range from table data
  3. Finally, give the named range as input list in data validation.
    data validation source range
  4. That simple!

if you are running Excel 2003 or earlier:

You are in for a lot of circus now. But be patient and take a sip of coffee. Then,

  1. Make a dynamic range from your list using OFFSET formula, like this:
    dynamic named range thru OFFSET formula - Excel
  2. Now, use the range name as input list in data validation.
  3. Pray to IT infrastructure gods that you should be given Excel 2010, really soon.

Download Example Workbook – Dynamic Data Validation in Excel

Go ahead and download example workbook and understand this concept better. Say goodbye to invalid data!

More resources on data validation & magic:

Some kicks ass stuff to help you do magic in excel thru data validation:

PS: If you like this trick, you are going to enjoy my excel school program. You should sign up, like today.

Facebook
Twitter
LinkedIn

Share this tip with your colleagues

Excel and Power BI tips - Chandoo.org Newsletter

Get FREE Excel + Power BI Tips

Simple, fun and useful emails, once per week.

Learn & be awesome.

Welcome to Chandoo.org

Thank you so much for visiting. My aim is to make you awesome in Excel & Power BI. I do this by sharing videos, tips, examples and downloads on this website. There are more than 1,000 pages with all things Excel, Power BI, Dashboards & VBA here. Go ahead and spend few minutes to be AWESOME.

Read my storyFREE Excel tips book

Overall I learned a lot and I thought you did a great job of explaining how to do things. This will definitely elevate my reporting in the future.
Rebekah S
Reporting Analyst
Excel formula list - 100+ examples and howto guide for you

From simple to complex, there is a formula for every occasion. Check out the list now.

Calendars, invoices, trackers and much more. All free, fun and fantastic.

Advanced Pivot Table tricks

Power Query, Data model, DAX, Filters, Slicers, Conditional formats and beautiful charts. It's all here.

Still on fence about Power BI? In this getting started guide, learn what is Power BI, how to get it and how to create your first report from scratch.

5 Responses to “Show more of your workbook on screens [quick tip]”

  1. Bda75 says:

    In 2013 you can also add to the QAT the hidden command "Toggle Full Screen View".

  2. Chris Newman says:

    Instead of using the shortcut CTRL+F1, I prefer just to double-click one of the tab names (ie double-click the "Home" text on the Home tab) to enable the Ribbon Outline view. To return to the normal Ribbon state, just double-click your mouse again!

  3. liu says:

    press Ctrl+Shift+F1, you will get a full screen

  4. efand says:

    Instead of Ctrl + F1, I use Ctrl + Shift + F1 (Excel 2016)

  5. Jay says:

    Alt W E sequence for full screen
    ESC to get back

Leave a Reply