Share via

Excel - Date Month Filter

Anonymous
2016-09-23T09:16:04+00:00

I have a table that has a date column CRM Date.  I have created another column Mth Date that has is a copy of the column but has it formatted in "MMM".

Example:

1/9/2016;

22/9/2016;

3/12/2016;

Shows as:

Sep

Sep

Dec

I have created slicer and pivotable with slicer for Mth Date but when I select Sep it does not show all of the records; it seems it only picks up dates that fall on a particular date.

how can I fix this..

Microsoft 365 and Office | Excel | For business | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2016-09-23T10:14:11+00:00

I think you just changed the cell format for "Mth Date" column as "MMM" from "Format Cells > Number > Custom". That is why while you apply the Slicer on "Mth Date" it shows a different date.

To change it properly you need to apply TEXT Function. Assume that, your "CRM Date" is in A2 cell and "Mth Date" is in B2, then use this formula in B2 cell and copy down to convert "Mth Date" as month name:

=TEXT(A2, "MMM")

Now refresh the Pivot Table, and you will see like below slicer:

Another cause would be the "DD/MM/YYYY" format you are using in current workbook. Does your PC really supports this date format? Generally it should be "MM/DD/YYYY". So please check it.

Hope it will work.

Was this answer helpful?

0 comments No comments

3 additional answers

Sort by: Most helpful
  1. Anonymous
    2016-09-23T12:02:20+00:00

    Glad that my reply solved your problem. Please mark it as Answered/Helpful.

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2016-09-23T11:49:10+00:00

    Thanks; this has solved my issue.

    Working like i expected - with thanks.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2016-09-23T10:03:40+00:00

    Hi,

    I think the issue is that Mth date is only formatted as a month, but the data in it is actually still the whole date.

    So instead try writing a formula in the Mth date column:

    =month(A1)

    where A1 is the cell from the CRM_date column

    Cheers

    Tom

    Was this answer helpful?

    0 comments No comments