+ Reply to Thread
Results 1 to 4 of 4

How to run an IFerror statement based off a certain date range?

Hybrid View

  1. #1
    Registered User
    Join Date
    04-17-2014
    Location
    Philadelphia
    MS-Off Ver
    Excel 2003
    Posts
    2

    How to run an IFerror statement based off a certain date range?

    this is a link to the spreadsheet
    https://docs.google.com/spreadsheets...it?usp=sharing

    this is the IFerror statement I am currently using
    =iferror(filter(TASKS!$B$2:$B$1001,TASKS!$A$2:$A$1001=B$1,TASKS!$C$2:$C$1001=$A5))

    I want to pull ONLY the tasks that fall within the date range of 5/13/2014 - 5/18/2014 from the 'TASKS' sheet...is this possible?
    thank you in advance for all your help and forgive me if this is a silly question as I am a noob

    Brian

  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,863

    Re: How to run an IFerror statement based off a certain date range?

    Try:
    Formula: copy to clipboard
    =iferror(filter(TASKS!$B$2:$B$1001,TASKS!$A$2:$A$1001=B$1,TASKS!$C$2:$C$1001=$A6,TASKS!$D$2:$D$1001>=$A$3,TASKS!$D$2:$D$1001<=$A$4))

    But please note that it is Excel Formulas & Functions subforum. And for sure it is not Execel formula at all. We do have separate subforum for such problems : http://www.excelforum.com/for-other-...mobile-os-etc/ so next time post in appropriate one.
    Best Regards,

    Kaper

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: How to run an IFerror statement based off a certain date range?

    filter() is not a regular formula (maybe a UDF?)

    I can think of a couple of ways to do this.

    1. use the filter option provided by excel

    2. use a helper column to test for the range you want, then use another formula to pull that data to where you want it.

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  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,863

    Re: How to run an IFerror statement based off a certain date range?

    Hi Ford,

    The above really works in google docs. I wrote "try", but I shall rather write "use" .

    This is why I made a comment: "We do have separate subforum for such problems".

+ 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] Trying to wrap a nested if(vlookup) statement in an IFerror
    By Groovicles in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-20-2014, 01:00 PM
  2. [SOLVED] IFERROR Statement in VBA for date
    By Maxy in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 10-11-2013, 08:44 AM
  3. Replies: 2
    Last Post: 06-12-2012, 04:50 PM
  4. Replies: 4
    Last Post: 03-18-2011, 07:02 AM
  5. Replies: 8
    Last Post: 12-21-2007, 12:21 AM

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