+ Reply to Thread
Results 1 to 5 of 5

Same cells in multiple ranges.

Hybrid View

Jo-Jo Same cells in multiple ranges. 11-25-2009, 07:21 AM
sweep Re: Same cells in multiple... 11-25-2009, 08:31 AM
dominicb Re: Same cells in multiple... 11-25-2009, 09:39 AM
rwgrietveld Re: Same cells in multiple... 11-25-2009, 10:00 AM
Jo-Jo Re: Same cells in multiple... 11-25-2009, 10:40 AM
  1. #1
    Registered User
    Join Date
    11-13-2009
    Location
    España
    MS-Off Ver
    Excel 2003
    Posts
    95

    Same cells in multiple ranges.

    Hi all,

    RANGES

    Can separately defined/named ranges contain some of the same cells without any adverse effects or pitfalls?.

    e.g.:-
    range_No1. cells A1 thru C3
    range_No2. cells B1 thru D3

    Thanks,
    J.
    Last edited by Jo-Jo; 11-25-2009 at 10:48 AM.

  2. #2
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016 / 365
    Posts
    3,454

    Re: Same cells in multiple ranges.

    Hi,

    I have a couple of worksheets where one named range is a subset of another. I have no problems with either.
    Rule 1: Never merge cells
    Rule 2: See rule 1

    "Tomorrow I'm going to be famous. All I need is a tennis racket and a hat".

  3. #3
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Smile Re: Same cells in multiple ranges.

    Good morning Jo-Jo
    Quote Originally Posted by Jo-Jo View Post
    Can separately defined/named ranges contain some of the same cells without any adverse effects or pitfalls?
    I believe that it is quite OK to use named ranges where one range is contained within another, or where one range overlaps with another. In VBA the Intersect command is used to determine this, and the Excel Help files document it's use using named ranges, so I guess they've thought of that ...

    HTH

    DominicB
    Please familiarise yourself with the rules before posting. You can find them here.

  4. #4
    Valued Forum Contributor rwgrietveld's Avatar
    Join Date
    09-02-2008
    Location
    Netherlands
    MS-Off Ver
    XL 2007 / XL 2010
    Posts
    1,671

    Re: Same cells in multiple ranges.

    Agree, One thing not many people know is that SUM() works with intersections:
    =SUM(List2by3 List2by1)
    List2by3 refers to A1:C2
    List2by1 refers to B1:B2

    The space in the SUM function makes it an intersect.
    Looking for great solutions but hate waiting?
    Seach this Forum through Google

    www.Google.com
    (e.g. +multiple +IF site:excelforum.com/excel-general/ )

    www.Google.com
    (e.g. +fill +combobox site:excelforum.com/excel-programming/ )

    Ave,
    Ricardo

  5. #5
    Registered User
    Join Date
    11-13-2009
    Location
    España
    MS-Off Ver
    Excel 2003
    Posts
    95

    Re: Same cells in multiple ranges.

    Hello sweep, dominicb and rwgrietveld,

    Thank you very much for the replies and for clearing it up for me.

    Appreciated.
    J.

+ 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