+ Reply to Thread
Results 1 to 7 of 7

Would like a formula to only have the first date and last date in my data.

  1. #1
    Registered User
    Join Date
    06-17-2019
    Location
    Oslo
    MS-Off Ver
    15.39
    Posts
    2

    Would like a formula to only have the first date and last date in my data.

    Hi,

    Would like a way of filtering all dates except for the last and first date of each month, in every year.

    My dates can start at everything from the first to the fourth of the month , due to the fact that i am dealing with data only for working days.

    Thanks.

  2. #2
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,844

    Re: Would like a formula to only have the first date and last date in my data.

    If you post a workbook with some basic sample data it will be much easier to help you.
    <----- If you were helped by my posts you can say "Thank you" by clicking the star symbol down to the left

    If the problem is solved, finish of the thread by clicking SOLVED under Thread Tools
    I don't wish to leave you with no answer, yet I sometimes miss posts. If you feel I forgot you, remind me with a PM or just bump the thread.

  3. #3
    Registered User
    Join Date
    06-17-2019
    Location
    Oslo
    MS-Off Ver
    15.39
    Posts
    2

    Re: Would like a formula to only have the first date and last date in my data.

    Think i did it now.

    Thanks.
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,844

    Re: Would like a formula to only have the first date and last date in my data.

    Ok. I still don't get it.
    You just want me to pick out the 1st and last(30th or 31st) of each month so that you can filter them away?

    Or does this have to do with workdays?

  5. #5
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Would like a formula to only have the first date and last date in my data.

    Here's one option:

    E9 =--(OR(TEXT(A8,"my")<>TEXT(A9,"my"),TEXT(A9,"my")<>TEXT(A10,"my")))

    Filter by column E to show only 1's.

    See attachment.
    Attached Files Attached Files
    Last edited by 63falcondude; 06-17-2019 at 02:58 PM.

  6. #6
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,844

    Re: Would like a formula to only have the first date and last date in my data.

    Dirty data line 30 to 52 and it repeats. Your formula does not work for the dirty data, at least not in this region.

  7. #7
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,844

    Re: Would like a formula to only have the first date and last date in my data.

    I made a manual FindAndReplace for May, Oct and Dec to make it Norwegian.

    Then I used this formula:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files

+ 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] Testing for date and calling cell data from that date for a formula
    By hammock in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-24-2018, 01:35 PM
  2. Replies: 4
    Last Post: 03-21-2018, 09:25 AM
  3. Replies: 7
    Last Post: 02-02-2017, 02:41 PM
  4. Replies: 5
    Last Post: 12-01-2015, 02:36 PM
  5. [SOLVED] Formula to compare date (including month and year) from a listed date to today's date
    By mhewitson15 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-11-2014, 05:31 PM
  6. Counting if data falls on date between Start Date, End Date or Possible End Date
    By JessHasQuestions in forum Hello..Introduce yourself
    Replies: 2
    Last Post: 07-26-2014, 08:01 AM
  7. [SOLVED] Formula assistance needed to sum data based on anniversary date and month date
    By lilsnoop in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-28-2012, 11:18 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