+ Reply to Thread
Results 1 to 3 of 3

Using text from one cell as formula in the next one.

Hybrid View

  1. #1
    Registered User
    Join Date
    02-19-2013
    Location
    Thailand
    MS-Off Ver
    Excel 2007
    Posts
    34

    Using text from one cell as formula in the next one.

    I have a list of workbook contents and want to set a formula that will automatically use the sheet name (in collumn A) to return a value from said sheet automatically.
    For example I want to know the last date that bananas were delivered, with delivery dates found in collumn B sheet "bananas" I can do so manually;
    =MAX(Bananas!B:B)

    What I want is a way to get the sheet name from adjacent cell, say I have the name of all my products in A and want to know last delivery date in B

    =MAX((A1)!B:B)

    But this doesnt work, anyway to pull text from collumn A and use it as part of the formula in B?
    Last edited by exarranum; 02-25-2013 at 12:44 AM.

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,156

    Re: Using text from one cell as formula in the next one.

    hi exarranum, you need the INDIRECT formula. something like:
    =MAX(INDIRECT(A1&"!B:B"))

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Registered User
    Join Date
    02-19-2013
    Location
    Thailand
    MS-Off Ver
    Excel 2007
    Posts
    34

    Re: Using text from one cell as formula in the next one.

    Fantastic, exactly what I was looking for. I had never even heard of this formula, thanks very much.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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