+ Reply to Thread
Results 1 to 8 of 8

Pivot table filtering date to date

  1. #1
    Forum Contributor
    Join Date
    06-20-2016
    Location
    Los Angeles/Thailand
    MS-Off Ver
    2016
    Posts
    250

    Pivot table filtering date to date

    Hello. I'm using this code =IF(AND(($I$1-[@DATE]),($I$2-[@DATE])),"no","yes") what I'm trying to do is to have 20 days say yes the rest say no. The only problem is only 2 days says yes and the rest says no

    What is wrong with this code? Can anyone help me?
    Attached Files Attached Files

  2. #2
    Forum Expert kersplash's Avatar
    Join Date
    11-22-2016
    Location
    Perth
    MS-Off Ver
    Home 2016 (Windows 10)/Work 2013 Pro Plus (Windows 10)
    Posts
    2,012

    Re: Pivot table filtering date to date

    What about this;
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  3. #3
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,648

    Re: Pivot table filtering date to date

    Please try this...

    Please Login or Register  to view this content.
    Regards
    sktneer


    Treat people the way you want to be treated. Talk to people the way you want to be talked to.
    Respect is earned NOT given.

  4. #4
    Forum Expert kersplash's Avatar
    Join Date
    11-22-2016
    Location
    Perth
    MS-Off Ver
    Home 2016 (Windows 10)/Work 2013 Pro Plus (Windows 10)
    Posts
    2,012

    Re: Pivot table filtering date to date

    And your data is not in a pivot table.

  5. #5
    Forum Contributor
    Join Date
    06-20-2016
    Location
    Los Angeles/Thailand
    MS-Off Ver
    2016
    Posts
    250

    Re: Pivot table filtering date to date

    Quote Originally Posted by kersplash View Post
    What about this;
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Thank you for reply. It did not work. Actually it worked the other way around. It displayed all the dates but and ignored all the dates that was in between.

  6. #6
    Forum Contributor
    Join Date
    06-20-2016
    Location
    Los Angeles/Thailand
    MS-Off Ver
    2016
    Posts
    250

    Re: Pivot table filtering date to date

    Quote Originally Posted by sktneer View Post
    Please try this...

    Please Login or Register  to view this content.
    This one worked thanks.

  7. #7
    Forum Expert kersplash's Avatar
    Join Date
    11-22-2016
    Location
    Perth
    MS-Off Ver
    Home 2016 (Windows 10)/Work 2013 Pro Plus (Windows 10)
    Posts
    2,012

    Re: Pivot table filtering date to date

    Quote Originally Posted by sovietchild View Post
    Thank you for reply. It did not work. Actually it worked the other way around. It displayed all the dates but and ignored all the dates that was in between.
    Just flip the yes and no around.

  8. #8
    Forum Guru sktneer's Avatar
    Join Date
    04-30-2011
    Location
    Kanpur, India
    MS-Off Ver
    Office 365
    Posts
    9,648

    Re: Pivot table filtering date to date

    You're welcome!
    Thanks for the rep.

+ 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. Pivot Table Report Filtering by Date
    By Designs in forum Excel General
    Replies: 3
    Last Post: 02-11-2016, 08:23 AM
  2. Filtering Date in Pivot Table data from cube
    By Achuks in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-29-2015, 02:04 AM
  3. Replies: 3
    Last Post: 02-10-2015, 03:46 PM
  4. Filtering based on date in Pivot Table
    By jswalemail in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 03-10-2014, 09:44 PM
  5. [SOLVED] Macro to update pivot item (date format) in pivot table to latest date from data source.
    By rocksan in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-10-2012, 03:18 AM
  6. Filtering Minimum Date Field in Pivot Table
    By investmentbanker in forum Excel General
    Replies: 1
    Last Post: 07-13-2012, 05:38 PM
  7. Pivot table date filtering question?
    By s_zabihi in forum Excel General
    Replies: 10
    Last Post: 12-06-2011, 12:08 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