+ Reply to Thread
Results 1 to 6 of 6

Assigning Values to a Data Validation in conjuction with another formula

  1. #1
    Registered User
    Join Date
    04-13-2014
    Location
    Skipton, England
    MS-Off Ver
    Excel 2007
    Posts
    23

    Assigning Values to a Data Validation in conjuction with another formula

    Hi excellions!

    Got a problem I've been struggling with.

    What I need is for my formula to include additional criteria whereby if a word is 'lower' than another, it determins whether the formula will be completed, e.g. If High is selected in cell 1 and Low is selected in cell 2, then formula completes but if Low is selected in cell 1 and High in cell 2 it won't . However obviously excel can't tell the words apart so I thought I may have to assign a numerical value to get it to work.

    I realise this may seem like nonsense so I've made a draft spreadsheet to attach which I think explains it better.

    I found something which was on the same lines as I wanted but couldn't get it to work in conjuction with my existing formula.
    http://www.excelforum.com/excel-gene...down-list.html

    Testworkbook.xlsx

    Any help would be greatly appreciated.

    Kind Regards

    Rick
    Last edited by Phrick; 05-12-2014 at 01:16 PM.

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Assigning Values to a Data Validation in conjuction with another formula

    You can try

    =IF(MATCH(B3,$E$1:$E$6,0)>MATCH(B2,$E$1:$E$6,0),IF(OR(C$2="",C3="",B2=B3),"N/A",IF((C3-(C3*0.2))>C$2,"Yes","No")),"")

  3. #3
    Registered User
    Join Date
    04-13-2014
    Location
    Skipton, England
    MS-Off Ver
    Excel 2007
    Posts
    23

    Re: Assigning Values to a Data Validation in conjuction with another formula

    That seems to work perfectly! I'm in wonder at how you guys do this so quickly.

    Just to help me understand, can you briefly explain how the formula works? Is it that the MATCH function in this case has assigned the list a numerical value and the > determins whether it is higher or lower?

    Thanks

  4. #4
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Assigning Values to a Data Validation in conjuction with another formula

    Yep, the MATCH function returns the position # where a value (B2 or B3) is found within a list (E1:E6).

    Then it's an IF to compare the result of each match.

  5. #5
    Registered User
    Join Date
    04-13-2014
    Location
    Skipton, England
    MS-Off Ver
    Excel 2007
    Posts
    23

    Re: Assigning Values to a Data Validation in conjuction with another formula

    So simple when you think about it but haven't come across the MATCH function in my googling.

    Well, works a treat and would never have worked it out on my own, thanks again Jonmo!

  6. #6
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Assigning Values to a Data Validation in conjuction with another formula

    You're welcome.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Need help with Data Validation Formula for a set of numerical and text-based values
    By bozhidar.ivanov in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 04-30-2014, 10:32 AM
  2. Replies: 0
    Last Post: 02-28-2014, 04:55 PM
  3. Creating formula using multiple Data Validation values
    By MichaelH2912 in forum Excel Formulas & Functions
    Replies: 27
    Last Post: 08-13-2013, 11:00 AM
  4. Assigning numerical value to text in data validation list
    By Ryanuncsu in forum Excel General
    Replies: 2
    Last Post: 02-17-2013, 08:31 AM
  5. Assigning values to a Validation Menu
    By AlwaysAAngel in forum Excel General
    Replies: 1
    Last Post: 09-15-2005, 04:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1