+ Reply to Thread
Results 1 to 4 of 4

Named Range issue

  1. #1
    Forum Contributor
    Join Date
    08-13-2014
    Location
    Chicago
    MS-Off Ver
    2013
    Posts
    209

    Named Range issue

    Good morning,

    I need some help with a column named range which is showing one cell past what the actual range is. Each of the column in my table have a named range and each is showing the correct range except for this one. I am using the same formula in each column for the named range:

    =OFFSET('PSS'!$E$6,1,0,COUNTA('PSS'!$E:$E)-1,1)\

    Thanks for the help!

    M

  2. #2
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Named Range issue

    Check the value of the COUNTA function, I suspect it returns one more item than you expected. You can either find the offending cell contents or subtract 2 (instead of 1) from the result.

    Another option that I've exploited wherever practical is to convert my data lists to Excel Tables. They automatically expand/contract to accommodate the data AND you can reference their column data by referencing the column heading.

    Does that help?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  3. #3
    Forum Contributor
    Join Date
    08-13-2014
    Location
    Chicago
    MS-Off Ver
    2013
    Posts
    209

    Re: Named Range issue

    The counta function is returning the correct number of cells. Converting to excel tables would be a good idea in the long run but i need to figure out what is going on with this in the short term. Any other ideas?

    Thanks!

  4. #4
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Named Range issue

    There are only 5 possibilities:
    The start cell of the offset function....E6
    The Row Offset...............................1
    The Column Offset...........................0
    The range height...determined by the COUNTA section
    The range width..............................1

+ 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] Issue w/dynamic named range causing Excel to crash
    By plasmas222 in forum Excel General
    Replies: 10
    Last Post: 03-07-2014, 08:18 PM
  2. [SOLVED] Dynamic Named Range issue with Data Validation
    By bamaisgreat in forum Excel General
    Replies: 5
    Last Post: 11-29-2012, 02:07 PM
  3. Dynamic named range issue
    By zbreima in forum Excel General
    Replies: 2
    Last Post: 01-20-2011, 04:07 PM
  4. Replies: 3
    Last Post: 07-29-2010, 02:27 PM
  5. Named Range Issue
    By Gardfd in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 04-16-2006, 01:10 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