+ Reply to Thread
Results 1 to 4 of 4

Find the intersection using arrays

  1. #1
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,882

    Find the intersection using arrays

    Hello everyone

    First of all I don't solution by formulas at all as it is part of large code ..
    I have two ranges which I need to store as VBA arrays : range("A1:N7") & range("A10:F14")
    And each value in range("B10:F14") would be searched as described below and store the results in another array which will be put at the end in range("A18:F22")

    I have attached two examples of the desired results
    Hope it is clear
    Thanks advanced for help
    Attached Files Attached Files
    < ----- Please click the little star * next to add reputation if my post helps you
    Visit Forum : From Here

  2. #2
    Valued Forum Contributor
    Join Date
    05-08-2015
    Location
    Uvalde, TX
    MS-Off Ver
    2010
    Posts
    720

    Re: Find the intersection using arrays

    Hi,

    Here is an array formula that needs to be entered with CTRL/SHIFT/ENTER:

    Please Login or Register  to view this content.
    Enter it in cell B18, copy across and down.

    Hope this works for you and is helpful.

    Cheers

  3. #3
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Find the intersection using arrays

    Please Login or Register  to view this content.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

  4. #4
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,882

    Re: Find the intersection using arrays

    @southward thanks a lot for help but in fact I mentioned at the first line of the thread as I don't need formulas (because simply I used similar one) but thanks a lot for sharing us the issue

    Thank you very much Mr. AlphaFrog for this wonderful solution .. It is exactly as I needed ..
    I will try to make this code in public procedure as I need to apply the same for multiple tables at the same time
    Thanks a lot for help

+ 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. find intersection and delimit the values
    By hassan khansa in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-08-2016, 11:17 AM
  2. [SOLVED] New to arrays-where do I find a good beginners guide to multi dimensional arrays
    By mc84excel in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 06-04-2013, 07:44 PM
  3. How to do intersection of two one dimensional text arrays
    By laxmirajk in forum Excel General
    Replies: 1
    Last Post: 05-22-2011, 12:50 PM
  4. How do I find a value at the intersection of a column and a row?
    By brianalucas in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-01-2010, 08:02 PM
  5. [SOLVED] Match data to find intersection
    By Shannon in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-07-2006, 12:30 PM
  6. find a value at an intersection?
    By Ellen G. in forum Excel General
    Replies: 4
    Last Post: 06-29-2006, 03:40 AM
  7. [SOLVED] how do i get the intersection of two arrays in excel?
    By Bibhu in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 11-22-2005, 06:50 AM

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