+ Reply to Thread
Results 1 to 7 of 7

Problem named ranges

  1. #1
    Registered User
    Join Date
    03-25-2015
    Location
    Zagreb, Croatia
    MS-Off Ver
    Office 365
    Posts
    94

    Problem named ranges

    Hi folks!

    I have a problem with named ranges and i hope that someone can help me.

    In sheet1 i have a few hundered numbers, and in sheet2 also.
    In sheet2 i created a named range in A1 called „test“.
    Now i want in sheet1 all values highlighted which are in the named range.
    I am using this formula =COUNTIF(test;A1048576)>0
    It works, but i noticed that some values from the named range are not higlighted (for example 226237, 18485000, 237756)
    And 202609 fo example is not in the named range, but it is highlighted?

    Can anybody please explain why my formula is going wrong?

    I listend both sheet from A to Z, and formated the data as text, but its still not working propper.

    Please see attached file (I HOPE I ACHIEVE IT).

    Thx in advance!

    mandura
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor PFDave's Avatar
    Join Date
    05-17-2012
    Location
    Milton Keynes, England
    MS-Off Ver
    Excel 2013
    Posts
    1,067

    Re: Problem named ranges

    Think this should be

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Please do add reputation where you see fit, it's nice to be nice and we all enjoy a pat on the back

    Please also mark your thread as solved once it has been.

  3. #3
    Registered User
    Join Date
    03-25-2015
    Location
    Zagreb, Croatia
    MS-Off Ver
    Office 365
    Posts
    94

    Re: Problem named ranges

    that is the formula i am using, and it works..........but there are a few mistakes which
    i mentioned.

  4. #4
    Valued Forum Contributor PFDave's Avatar
    Join Date
    05-17-2012
    Location
    Milton Keynes, England
    MS-Off Ver
    Excel 2013
    Posts
    1,067

    Re: Problem named ranges

    Quote Originally Posted by mandura View Post
    that is the formula i am using, and it works..........but there are a few mistakes which
    i mentioned.
    So it doesn't work then.

    201034 is in your list but not highlighted
    201202 is highlighted but not in your list.

    Change the formula to what I've mentioned and it highlights as it should.

  5. #5
    Registered User
    Join Date
    03-25-2015
    Location
    Zagreb, Croatia
    MS-Off Ver
    Office 365
    Posts
    94

    Re: Problem named ranges

    you are right mate!

    it works very well!

    thank you very much!!!

    mandura

  6. #6
    Valued Forum Contributor PFDave's Avatar
    Join Date
    05-17-2012
    Location
    Milton Keynes, England
    MS-Off Ver
    Excel 2013
    Posts
    1,067

    Re: Problem named ranges

    You're welcome Mandura, glad I could help you and thanks for marking the thread as solved and the rep


  7. #7
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,147

    Re: Problem named ranges

    Try

    Select A1

    Amend the rule,

    =COUNTIF(test;$A1)>0
    Attached Files Attached Files

+ 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. Problem with named ranges.
    By Josh_NZ in forum Excel General
    Replies: 2
    Last Post: 01-06-2016, 03:00 AM
  2. Problem with Named Ranges in Formulas
    By BenjysDad in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 03-24-2014, 02:24 PM
  3. [SOLVED] VBA Countifs problem using named ranges
    By kgreave1 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-06-2014, 12:32 AM
  4. Named Ranges & Functions - Problem
    By teo_7 in forum Excel General
    Replies: 12
    Last Post: 01-17-2012, 03:08 AM
  5. Problem with OFFSET function used in Named Ranges
    By acsishere in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 11-12-2008, 02:24 PM
  6. Problem with Dynamic Named Ranges
    By Andibevan in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-05-2005, 08:05 AM
  7. [SOLVED] Problem Working with Named Ranges
    By montgomerymouse in forum Excel General
    Replies: 2
    Last Post: 01-10-2005, 07:06 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