+ Reply to Thread
Results 1 to 5 of 5

index match array formula with and or logic.

  1. #1
    Registered User
    Join Date
    04-05-2015
    Location
    Tennessee, USA
    MS-Off Ver
    2010
    Posts
    5

    index match array formula with and or logic.

    Hi,

    I am trying to make a array formula that can pull info in one cell off of another sheet based on two cells values or two other cells values.

    Please Login or Register  to view this content.
    this works fine but I need one that can also do,

    Please Login or Register  to view this content.
    I would like them to be in the same code but cant figure out how to get it. any help would be appreciated.

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,864

    Re: index match array formula with and or logic.

    Try:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    PS. Strange that you want to compare both E2 and G2 with D column (if E2<>G2 then you never get result. If E2=G2 no point to use anythuing else than original formulas).
    Is that the case? if yes, then I probably misunderstood what you want to achieve.
    Last edited by Kaper; 09-15-2015 at 11:56 AM.
    Best Regards,

    Kaper

  3. #3
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: index match array formula with and or logic.

    =INDEX('Price list'!$F$1:$F$31506,
    MATCH(1,(B2='Price list'!$B$1:$B$31506)* (E2='Price list'!$D$1:$D$31506) + (B2='Price list'!$B$1:$B$31506) * (G2='Price list'!$D$1:$D$31506),0))
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  4. #4
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,864

    Re: index match array formula with and or logic.

    Well ... in this sense "and-or" logic. OK, then my version is:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    the previous was "and-and" one :-D

  5. #5
    Registered User
    Join Date
    04-05-2015
    Location
    Tennessee, USA
    MS-Off Ver
    2010
    Posts
    5

    Re: index match array formula with and or logic.

    thanks for the help. I was close but could not quite get it. it is funny how seeing your mistakes is easy when someone helps figure it out.

+ 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. Index and match array formula
    By prabhubox@yahoo.com in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-08-2015, 12:06 PM
  2. [SOLVED] INDEX MATCH Array formula Help
    By garrett.grillo in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 09-28-2014, 10:01 PM
  3. Replies: 6
    Last Post: 04-30-2014, 02:42 AM
  4. Index, Match, Min, If, And in one Array formula
    By Skybeau in forum Excel General
    Replies: 1
    Last Post: 07-18-2012, 01:03 AM
  5. Nested Match(index()) vs. Match() array formula.
    By GeneralDisarray in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-14-2011, 07:57 AM
  6. Array Formula Using Max Match Logic
    By JR573PUTT in forum Excel General
    Replies: 4
    Last Post: 02-26-2006, 01:10 AM
  7. [SOLVED] Index and Match Array formula
    By Graham Haughs in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-15-2006, 09:55 PM

Tags for this Thread

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