+ Reply to Thread
Results 1 to 3 of 3

using data from spreadsheets depending on a value in another cell

  1. #1
    Registered User
    Join Date
    07-06-2016
    Location
    London, England
    MS-Off Ver
    2013
    Posts
    19

    Talking using data from spreadsheets depending on a value in another cell

    Hi

    I have used data validation to restrict the choice of values in a cell to say 5 different values which alters all the data in that sheet. What I want to do is depending on what value I choose in that data validated cell, I want to use information from a certain sheet. So for example, in my case, if i choose the value (date) 20/02/1997 in the data validated cell, I want all my formulas to be using data from another sheet entitled 20 Feb 97 for example.

    I hope I've explained this well enough,

    Thanks

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,416

    Re: using data from spreadsheets depending on a value in another cell

    You could use something like this:

    =INDIRECT("'" & TEXT(D1,"dd mmm yy") & "'!S1")

    where D1 contains the date (i.e. your validated cell) and S1 is the source cell in that sheet where you want to bring the data from.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    07-11-2016
    Location
    London, England
    MS-Off Ver
    2010
    Posts
    3

    Re: using data from spreadsheets depending on a value in another cell

    Let us know if Pete_UK's answer works, or if not, if you find an answer to this, I would be interested in using this if you find a solution.

    However, just to be super negative with no reason at all, other than it is Wednesday, I bet I would create a template with the only requirement for the new user is to name the sheet correctly and dump the data into it, and they would still mess it up.

+ 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. Force data entry into a cell depending on value of a different cell
    By hammer68 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-16-2015, 11:55 AM
  2. Running a macro depending on data in a cell
    By billio75 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-24-2014, 09:09 AM
  3. Sorting data into corresponding worksheets depending on the value of a cell.
    By DisordaNTFC in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-05-2014, 12:08 PM
  4. Data Validation Depending on Another Cell
    By gilbert in forum Excel General
    Replies: 2
    Last Post: 03-22-2011, 02:35 AM
  5. Replace cell content- depending on other cell data
    By DEVIL in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-06-2009, 07:07 PM
  6. Sum of a column depending on data in another cell
    By Atrox321 in forum Excel General
    Replies: 2
    Last Post: 01-07-2009, 05:35 PM
  7. Import Data from multiple spreadsheets into seperate spreadsheets worksheet
    By cablecrt in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-17-2008, 08:01 AM

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