+ Reply to Thread
Results 1 to 2 of 2

Finding a value in a 2D array

  1. #1
    Registered User
    Join Date
    06-08-2005
    Posts
    67

    Finding a value in a 2D array

    I have a value in a cell I want to use as the search argument against a 2D array of values (in no particular order). Then I want to know if the search value was within the 2D array.

    Thanks
    Mike

  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

    Finding a value in a 2D array

    This works for any range of cells....

    C1:F10 contains words, blanks, numbers, whatever

    A1: (a word to find)

    This formula returns TRUE if a match is found:
    B1: =COUNTIF(C1:F10,A1)>0

    Does that help?
    Post back if you have more questions.
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

+ 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