+ Reply to Thread
Results 1 to 2 of 2

Is there a way to display two named ranges within one IF statment?

  1. #1
    Registered User
    Join Date
    01-21-2021
    Location
    Columbia, MO
    MS-Off Ver
    365
    Posts
    4

    Is there a way to display two named ranges within one IF statment?

    I have a cell with a data validation drop down that displays certain named ranges based on a previous cell's input. E.g.

    =IF(A1="First Option", NamedRange1, IF(A1="Second Option", NamedRange2, ...

    I have one option that needs two named ranges to display in the drop down. Does anyone know of a way to do this? I know I could smash my two separate named ranges together, but that won't work in this case since the data is ordered in a particular way and wouldn't make sense if rearranged to suit my named range needs.
    Attached Files Attached Files
    Last edited by Finnell; 01-21-2021 at 05:35 PM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    79,401

    Re: Is there a way to display two named ranges within one IF statment?

    Welcome to the forum.

    There are instructions at the top of the page explaining how to attach your sample workbook.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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] VBA creates named ranges, but named ranges disappear
    By BrotherNeptune in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-05-2015, 03:22 PM
  2. Display static named ranges
    By Tony Valko in forum Tips and Tutorials
    Replies: 4
    Last Post: 09-02-2014, 02:45 PM
  3. Define only 2 named ranges from a list of named ranges...
    By abhi900 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-29-2014, 04:20 AM
  4. Looping Mutliple Named Resized Ranges in next empty row below another named range
    By gingumdog in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-19-2014, 08:15 PM
  5. comparing two named ranges and if at least one match display a message
    By jwarner000 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-04-2013, 08:01 PM
  6. [SOLVED] IF Statment with Multiple Ranges
    By MROMAR in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-30-2012, 03:16 PM
  7. Matching named ranges to display results in userform
    By jpruffle in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-09-2009, 09:08 AM

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