We’d like to remind Forumites to please avoid political debate on the Forum.

This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.

📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!

Excel help?

Morning all.

You always manage to let me know what I need to do so I've come begging again!!

I'm creating a excel s/sheet at work and I want to bring back specific data in one column dependant on what has been selected in the column before.
For example, if white is selected(from a data validation list), I want the next column to only allow me to choose size 8,10,12 etc (again preferablly from a data validation).

Is this possible? Have I explained myself properly?

Thanks in advance

Gert x
Made it - 15 years married!! Finally!! xx:beer:

Comments

  • rmg1
    rmg1 Posts: 3,159 Forumite
    Part of the Furniture 1,000 Posts Name Dropper
    What you need is called cascading validation.
    Google has a load of tutorials and tips/tricks to get you started.

    It's easier to follow the tutorials rather than trying to explain on here.
    :wall: Flagellation, necrophilia and bestiality - Am I flogging a dead horse? :wall:

    Any posts are my opinion and only that. Please read at your own risk.
  • Thank you - I knew there would be a way of doing it! I'll google under that reference.

    Thanks
    Made it - 15 years married!! Finally!! xx:beer:
  • I've always called it Dependant Validation. The premise being that you name your dependant lists - in this case the Sizes - using the precedent values - in this case the Colours.

    Setup the following lists and name the ranges as per the headers

    Colours
    Red
    White
    Blue

    Red
    2
    4
    6

    White
    8
    10
    12

    Blue
    16
    18
    20

    Setup the validation in the first column as normal using the named range 'Colours'. Then in the second column, instead of entering a named range you need to use the =INDIRECT function to select the value selected in the first column. Remember to ensure that the row reference is relative.
  • You could always ask on here
    http://www.mrexcel.com/forum/index.php
This discussion has been closed.
Meet your Ambassadors

🚀 Getting Started

Hi new member!

Our Getting Started Guide will help you get the most out of the Forum

Categories

  • All Categories
  • 352.4K Banking & Borrowing
  • 253.7K Reduce Debt & Boost Income
  • 454.4K Spending & Discounts
  • 245.5K Work, Benefits & Business
  • 601.3K Mortgages, Homes & Bills
  • 177.6K Life & Family
  • 259.4K Travel & Transport
  • 1.5M Hobbies & Leisure
  • 16K Discuss & Feedback
  • 37.7K Read-Only Boards

Is this how you want to be seen?

We see you are using a default avatar. It takes only a few seconds to pick a picture.