+ Reply to Thread
Results 1 to 7 of 7

Excel 2007 : Excel formula to count text in a 180 days period

  1. #1
    Registered User
    Join Date
    05-09-2012
    Location
    UK London
    MS-Off Ver
    Excel 2007
    Posts
    2

    Excel formula to count text in a 180 days period

    Hi all experts,

    I need help with a excel fromula, i want to count number of times text "A" appears in 180 days between two dates. So basically number of times text "A" appeared not more then 180 days apart. A big thank you to the person who can help me.
    Last edited by Seanr; 05-09-2012 at 07:58 PM.

  2. #2
    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
    52,929

    Re: Excel formula to count text in a 180 days period

    any chance of a sample workbook to look at?
    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

  3. #3
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,480

    Re: Excel formula to count text in a 180 days period

    Attach a sample workbook
    Click the link to see how to do this.

  4. #4
    Valued Forum Contributor
    Join Date
    06-10-2011
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    341

    Re: Excel formula to count text in a 180 days period

    Are your dates exactly 180 days apart or are they say 60 days, some 500 days and you want the *highest* number of instances of A within 180 days of each other as opposed to the first instance of 180 days difference?

  5. #5
    Registered User
    Join Date
    05-09-2012
    Location
    UK London
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Excel formula to count text in a 180 days period

    Quote Originally Posted by dip11 View Post
    Are your dates exactly 180 days apart or are they say 60 days, some 500 days and you want the *highest* number of instances of A within 180 days of each other as opposed to the first instance of 180 days difference?
    Hi, my two dates are 01/04/11 to the 31/03/12.

    And I want to number of times text “A” appears between the above dates in a 180 days period.

    thanks

  6. #6
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Excel formula to count text in a 180 days period

    Hi

    A1:A100 >>Your dates

    B1:B100 Your letters(A , .......)

    D1=Start date

    E1= End date.

    Then use this formula.
    Please Login or Register  to view this content.
    Is this, works for you?


    Edit: In your case, E1=D1+180
    Last edited by Fotis1991; 05-10-2012 at 07:36 AM. Reason: Edit
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  7. #7
    Valued Forum Contributor
    Join Date
    06-10-2011
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    341

    Re: Excel formula to count text in a 180 days period

    Your total period is around 365 days and you want the number of A within a 180 day period. Which 180 day period do you want to check? Or is it as I suggested the highest number of A in any given 180 day period?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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