Results 1 to 5 of 5

How to pass a Named Range from a cell as an argument to a formula

Threaded View

Orson100 How to pass a Named Range... 10-20-2009, 09:08 AM
NBVC Re: How to pass a Named Range... 10-20-2009, 09:17 AM
jj72uk Re: How to pass a Named Range... 10-20-2009, 09:19 AM
Orson100 Re: How to pass a Named Range... 10-20-2009, 09:50 AM
NBVC Re: How to pass a Named Range... 10-20-2009, 10:00 AM
  1. #1
    Registered User
    Join Date
    04-16-2009
    Location
    Kilkenny, Ireland.
    MS-Off Ver
    Excel 365
    Posts
    47

    How to pass a Named Range from a cell as an argument to a formula

    Hi,

    I have the following formula which works fine in this form:
    =vlookup(H2,GradingMatrix1,2)
    where GradingMatrix1 is a Named range.

    I have other named ranges GradingMatrix2, GradingMatrix3 that I would like to pass to the formula depending on user input.

    If a cell, say A2, contains a value "GradingMatrix1" and I convert the formula as follows:
    =vlookup(H2,A2,2)
    then (unsurprisingly) the formula considers the array argument to be the single cell A2, and not the named range referred to in the cell contents.

    Maybe somebody out there could suggest a method of passing the range named within the cell as an argument to the formula?

    Many thanks
    B.
    Last edited by Orson100; 10-21-2009 at 09:42 AM.

Thread Information

Users Browsing this Thread

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

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