+ Reply to Thread
Results 1 to 4 of 4

use info in 2 cells to get a value from another sheet

  1. #1
    Registered User
    Join Date
    05-14-2014
    MS-Off Ver
    Excel 2013
    Posts
    15

    use info in 2 cells to get a value from another sheet

    I have a 2 cells where the value may be changed by the user but for the sake of this question I will say that cell 1 value is "JAN" and cell 2 is "14".

    In another cell, say cell 3, I want to get a value from (H35) on sheet "JAN14". I know the name can be created with a concatenate statement but I cant use that as the sheet name.

    ex.
    ='JAN14'!H35

    I need the JAN14 to be able to change when the cells 1 and 2 are changed.

    any ideas?

  2. #2
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: use info in 2 cells to get a value from another sheet

    Just some more fancy concatenation. Instead of using the function CONCATENATE, you can instead use & which means the same thing.

    =A1&B1&"!H35"

    Now we nest it within INDIRECT, which evaluates a string as a reference.

    =INDIRECT(A1&B1&"!H35")



    In much the same way INDIRECT("A" & 100 - 99) is the same as =A1
    Last edited by daffodil11; 05-16-2014 at 10:14 AM.
    Make Mom proud: Add to my reputation if I helped out!

    Make the Moderators happy: Mark the Thread as Solved if your question was answered!

  3. #3
    Valued Forum Contributor ranman256's Avatar
    Join Date
    07-29-2012
    Location
    Kentucky
    MS-Off Ver
    Excel 2003
    Posts
    1,177

    Re: use info in 2 cells to get a value from another sheet

    You CAN name a sheet JAN14, but normally you would not change the name of your sheet, it may disturb all formulas prointing to the previous name.

  4. #4
    Registered User
    Join Date
    05-14-2014
    MS-Off Ver
    Excel 2013
    Posts
    15

    Re: use info in 2 cells to get a value from another sheet

    Thanks daffodil11, that was exactly what I was needing. Ranman256, I was not looking to change the tab name, I was wanting the cell value to report information from a cell on the sheet by that tab name. Thank you anyway for your input as it is accurate information, just not what I was looking for

+ 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. [SOLVED] Search using info from two cells to give corresponding answer from different sheet
    By Venith in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-14-2014, 02:42 PM
  2. [SOLVED] Auto complete from 1 sheet to another (can not repeat cells info)
    By ricdamiani in forum Excel Programming / VBA / Macros
    Replies: 32
    Last Post: 08-12-2013, 02:27 AM
  3. need info from one sheet uploaded to another, but from certain cells?
    By monkeyman905 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-30-2009, 01:56 PM
  4. automatically hide cells if no info is reported from another sheet
    By Mgivey in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-12-2008, 12:58 PM
  5. Populating Cells with Info from another Sheet...
    By rka81 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-03-2007, 12:57 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