+ Reply to Thread
Results 1 to 6 of 6

Need to use a text string from another cell as a variable range in another equation.

  1. #1
    Registered User
    Join Date
    04-25-2012
    Location
    US
    MS-Off Ver
    Excel 2010
    Posts
    91

    Need to use a text string from another cell as a variable range in another equation.

    Hello,

    I am using an array formula which references a static range currently. I would like to use a text string from another cell as a variable, and then enter this range, written as a text string, and insert into the equation below.


    Please Login or Register  to view this content.
    The text string is below. Please note the ranges are the same for this example but change cell to cell.

    Please Login or Register  to view this content.
    Any help would be appreciated.

    Thanks!

  2. #2
    Registered User
    Join Date
    04-25-2012
    Location
    US
    MS-Off Ver
    Excel 2010
    Posts
    91

    Re: Need to use a text string from another cell as a variable range in another equation.

    To ask the question in an easier way...

    I want to do the following:

    Change the equation

    =MAX(B$30:B$58)

    into

    =MAX(B3) where cell value of B3 = B$30:B$58

    Can this be done?

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,447

    Re: Need to use a text string from another cell as a variable range in another equation.

    Formula: copy to clipboard
    Please Login or Register  to view this content.



    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Registered User
    Join Date
    04-25-2012
    Location
    US
    MS-Off Ver
    Excel 2010
    Posts
    91

    Re: Need to use a text string from another cell as a variable range in another equation.

    Awesome! Had no clue about the "indirect" function.

    Thank you so much!

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,447

    Re: Need to use a text string from another cell as a variable range in another equation.

    You're welcome.

  6. #6
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,447

    Re: Need to use a text string from another cell as a variable range in another equation.

    Thanks for the rep.

+ 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. Replies: 1
    Last Post: 04-11-2014, 01:48 PM
  2. [SOLVED] Find a variable text string in a cell and copy this to another cell
    By Timmy22 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-02-2014, 09:50 AM
  3. [SOLVED] Convert String from Excel Range.Value to Equation in VBA
    By Kalithro in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-17-2013, 03:50 PM
  4. [SOLVED] IF range of cells contains string of text, return contents of cell where string is found
    By nobodyukno in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 07-03-2013, 09:56 AM
  5. [SOLVED] Equation in text string?
    By hoising8 in forum Excel General
    Replies: 5
    Last Post: 07-28-2005, 04:09 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