+ Reply to Thread
Results 1 to 4 of 4

IF / THEN with multiple logical tests in columns

Hybrid View

  1. #1
    Registered User
    Join Date
    02-06-2022
    Location
    Germany
    MS-Off Ver
    Microsoft® Excel® for Microsoft 365 MSO
    Posts
    2

    IF / THEN with multiple logical tests in columns

    Hi there
    I need the final hint for the good formular
    Attached is a sample file, I am working on.

    I need to perform the following logical tests:

    1) Material
    Tab "Abfrageliste" the cell in column B needs to match with the cell in tab "Suchliste" column D

    AND

    2) Quantity
    Tab "Abfrageliste" the cell in column D needs to match with the cell in tab "Suchliste" column C

    AND

    3) Position
    Tab "Abfrageliste" the cell in column E needs to match with the cell in tab "Suchliste" column B

    All 3 logical matches needs to be in the same row.

    If YES, then I need the result of tab "Suchliste" column A copied in tab "Abfrageliste" A
    If NO, result should be "ERROR"

    I tried a couple of IF / AND formulars, but I never got the required result

    Thanks a lot for looking into it and sharing your experience

    Jan
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    91,060

    Re: IF / THEN with multiple logical tests in columns

    Welcome to the forum.

    In A2 copied down:

    =IFERROR(INDEX(Suchliste!$A$2:$A$464,MATCH(1,(Suchliste!$D$2:$D$464=B2)*(Suchliste!$C$2:$C$464=D2)*(Suchliste!$B$2:$B$464=E2),0)),"ERROR")
    Attached Files Attached Files
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    02-06-2022
    Location
    Germany
    MS-Off Ver
    Microsoft® Excel® for Microsoft 365 MSO
    Posts
    2

    Re: IF / THEN with multiple logical tests in columns

    Hi AliGW
    you made my day! Thanks a lot for getting back to me on this one.
    Have a great sunday :-)
    Jan

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    91,060

    Re: IF / THEN with multiple logical tests in columns

    Gern gemacht.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, if you have not already done so, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of all those who offered 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. IF AND & multiple logical tests
    By jdbock in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 03-09-2015, 10:09 AM
  2. IF with multiple logical tests with text displayed if each true
    By danielball in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-04-2014, 09:32 PM
  3. [SOLVED] Multiple Logical Tests in an IF function
    By scrouse14 in forum Excel Formulas & Functions
    Replies: 19
    Last Post: 07-26-2014, 03:15 PM
  4. multiple criteria/logical tests required.
    By Imamu in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-28-2013, 08:57 AM
  5. [SOLVED] Multiple Logical Tests Required
    By KateMaz in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-28-2013, 10:22 AM
  6. Multiple IF logical tests
    By plauterborn in forum Excel General
    Replies: 3
    Last Post: 02-14-2012, 04:39 PM
  7. Multiple text Logical tests
    By smanderson in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-21-2010, 04:47 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