Results 1 to 4 of 4

Return All occurrences based on 2 criteria

Threaded View

casey81 Return All occurrences based... 02-24-2017, 03:35 AM
JohnTopley Re: Return All occurrences... 02-24-2017, 03:42 AM
bebo021999 Re: Return All occurrences... 02-24-2017, 03:46 AM
casey81 Re: Return All occurrences... 02-24-2017, 03:52 AM
  1. #1
    Registered User
    Join Date
    02-24-2017
    Location
    South Africa
    MS-Off Ver
    2010
    Posts
    2

    Return All occurrences based on 2 criteria

    Hi everyone!
    I need to return all the occurrences of a list, based on 2 criteria. So far I have it working well with just the one criteria, but I'm struggling with the 2nd "if" statement.

    Picture1.png

    COL A COL B COL D COL E COL F
    R1-DATE VALUE NUMBER DATE IN DATE OUT
    R2-24/03/2015 769 17/07/2014 24/02/2015
    R3- 769 1080 02/02/2015
    R4- 1080 765 08/05/2015 25/09/2015
    R5- 0


    I have the formula is COL B, ROW 3.
    =INDEX(SHEET2!$D:$D,SMALL(IF(SHEET2!$E:$E<=$A$2,ROW(SHEET2!$D:$D)),ROW()-2),1)

    This is returning 769, next occurrence, 1080. However, I want it to only return the numbers in Col D if they have NO date in Col F (as well as it being less than or equal to the date in A1) So it needs to only return "1080"

    I hope someone can help

    Thanks in advance!
    Casey
    Last edited by casey81; 02-24-2017 at 03:42 AM. Reason: Table not showing up

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Count number of occurrences based on criteria in multiple columns and rows
    By gerryger in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-22-2015, 08:13 PM
  2. Count Number of Occurrences Based on Criteria
    By lightsandsirens5 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-15-2015, 04:22 PM
  3. Count occurrences based on criteria in another column
    By nwapple in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-06-2013, 09:53 PM
  4. [SOLVED] Search and return all occurrences
    By tplunkett41 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-28-2013, 04:41 PM
  5. Replies: 5
    Last Post: 09-18-2011, 10:44 PM
  6. Count occurrences based on criteria
    By Justinmih in forum Excel General
    Replies: 2
    Last Post: 01-05-2011, 09:07 AM
  7. Return multiple Occurrences on same row
    By ElmerS in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 12-18-2008, 02:59 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