+ Reply to Thread
Results 1 to 6 of 6

3 criteria error message

  1. #1
    Registered User
    Join Date
    01-19-2014
    Location
    turkey
    MS-Off Ver
    Excel 2003
    Posts
    9

    3 criteria error message

    Hi, i have array formula =IFERROR(INDEX(B3:D8,MATCH(F1,A3:A8,0),MATCH(F2&F3,B1:D1&B2:D2,0)),"error")
    but problem ise when i sama date on A column, i cannat get error message.
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    07-07-2014
    Location
    Washington DC
    MS-Off Ver
    2007
    Posts
    1,047

    Re: 3 criteria error message

    It's unclear what problem you're having. Can you provide additional info and/or update your sample file to show BEFORE and AFTER of the problem you're having?

  3. #3
    Registered User
    Join Date
    01-19-2014
    Location
    turkey
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: 3 criteria error message

    hi, formula is working.
    but when i type (mistakenly) same date on A column, formula is return first date result. For example (you can see on file), A3 and A4 same date (17/04/2014) when you change F1 to 17/04/2014 result is 2. but result must be error. Because there is 2 same date on A column.

  4. #4
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: 3 criteria error message

    =IF(COUNTIF(A3:A8,F1)>1,"hata",IFERROR(INDEX(B3:D8,MATCH(F1,A3:A8,0),MATCH(F2&F3,B1:D1&B2:D2,0)),"hata"))
    Try this formula
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  5. #5
    Registered User
    Join Date
    01-19-2014
    Location
    turkey
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: 3 criteria error message

    many thx. its worked.

  6. #6
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: 3 criteria error message

    If your question is resolved, mark it SOLVED using the thread tools
    and Click on the star if you think some-1 helped you

+ 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. [SOLVED] Automate error message if list criteria is not met
    By karl8695 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-21-2014, 06:02 AM
  2. Stop a Macro if Criteria not met and Show Error Message
    By m3hool in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-17-2013, 10:12 AM
  3. Display Error Message based on a Couple Criteria
    By fsurf02 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-25-2011, 11:09 AM
  4. Using Error Message as test Criteria
    By Taru in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-16-2006, 12:55 PM
  5. Replies: 3
    Last Post: 08-12-2005, 03:05 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