+ Reply to Thread
Results 1 to 7 of 7

Formula in Data Validation Cell + Return Values if Match

  1. #1
    Forum Contributor
    Join Date
    05-29-2017
    Location
    UK
    MS-Off Ver
    Pro Plus 2016
    Posts
    301

    Formula in Data Validation Cell + Return Values if Match

    Hi guys, is there a way to write formula in cells where data validation is applied? Can't seem to find anything of such online... I tried my ways, and excel just wouldnt let write formula in those cells.

    Also, as per file attached, would you be able to suggest what formula could be written in such cell, where basically: return values (currency symbol) if 2 names are matching from two different tabs.

    All details are shared in excel file:

    https://www.excelforum.com/attachmen...1&d=1507051099

    Thanking you in advance!
    Attached Files Attached Files

  2. #2
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Formula in Data Validation Cell + Return Values if Match

    I think that this is what you are looking for.

    B3 of Tab 1 =INDEX('Tab 2'!B$4:B$7,MATCH(A3,'Tab 2'!A$4:A$7,0)) Drag this down through B6.

    If you want to change the symbol using the drop-down, you can but it will remove the formula in that cell.

  3. #3
    Valued Forum Contributor
    Join Date
    12-01-2016
    Location
    Planet Earth
    MS-Off Ver
    95 - 2016
    Posts
    343

    Re: Formula in Data Validation Cell + Return Values if Match

    Quote Originally Posted by vill View Post
    is there a way to write formula in cells where data validation is applied?
    The answer is: yes. All you have to do is turn off (uncheck) Show error alert invalid data is entered

    Quote Originally Posted by vill View Post
    would you be able to suggest what formula could be written in such cell, where basically: return values (currency symbol) if 2 names are matching from two different tabs.
    The answer is: yes. you could use Index Match: =INDEX('Tab 2'!$B$4:$B$7,MATCH(A3,'Tab 2'!$A$4:$A$7,0))

    see attachment
    Attached Files Attached Files
    Last edited by Syrkrasi; 10-03-2017 at 02:10 PM.

  4. #4
    Forum Contributor
    Join Date
    05-29-2017
    Location
    UK
    MS-Off Ver
    Pro Plus 2016
    Posts
    301

    Re: Formula in Data Validation Cell + Return Values if Match

    Guys, you are the best. And this forum is top class.

    Thank you so much, for all your help!

  5. #5
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Formula in Data Validation Cell + Return Values if Match

    Glad we could help.

    If that solved your question, please mark this thread as SOLVED.

    Thanks for the rep!
    Last edited by 63falcondude; 10-03-2017 at 02:44 PM.

  6. #6
    Forum Contributor
    Join Date
    05-29-2017
    Location
    UK
    MS-Off Ver
    Pro Plus 2016
    Posts
    301

    Re: Formula in Data Validation Cell + Return Values if Match

    PS: it is okay that formulas will be removed after changing currency manually, still works for what it needs to do. Thanks for a point, though!

  7. #7
    Forum Contributor
    Join Date
    05-29-2017
    Location
    UK
    MS-Off Ver
    Pro Plus 2016
    Posts
    301

    Re: Formula in Data Validation Cell + Return Values if Match

    Marked as SOLVED :-)

+ 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. Data Validation List - Formula to Sort and Return Unique Values in List
    By beewketu in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-14-2015, 04:18 PM
  2. [SOLVED] Values not returned by Index, Match when using values from Data Validation
    By Avinashch in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-10-2015, 10:34 AM
  3. [SOLVED] Need Help Creating INDEX/MATCH Formula to Return Values from Data Table
    By trandle in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 05-06-2015, 01:12 PM
  4. [SOLVED] Return cell count based on multiple values (and data validation)
    By Reapz in forum Excel General
    Replies: 3
    Last Post: 01-10-2014, 06:05 AM
  5. [SOLVED] Formula to match data ( multi column) in different sheets and return matching values
    By kangyao in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 01-17-2013, 08:49 PM
  6. [SOLVED] Formula to match data in different sheets ( multi column) and return matching values
    By kangyao in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-11-2013, 07:38 PM
  7. Replies: 9
    Last Post: 11-26-2012, 12:46 AM

Tags for this Thread

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