+ Reply to Thread
Results 1 to 2 of 2

Updating formula based on date

  1. #1
    Registered User
    Join Date
    04-02-2012
    Location
    Exeter
    MS-Off Ver
    Excel 2003
    Posts
    14

    Updating formula based on date

    Hi

    I keep a spreadsheet for statistical purposes of dates certain letters were sent out. I need to be able to look back over the last 2 years and see how many letters were sent out in time. I have a column of dates, Column I, and a column indicating if it was within time (Y) or not (N), Column O.

    What I effectively want to do is make the formula look at the list of dates, include only those that are within 2 years of a date of my choosing, then work out a percentage of the number with time (i.e. have a "Y" in the O column). Ideally I would like all this to take place in one box that I can copy and paste and change the date with which to look back over two years.

    At the moment I have a cell with my date, a cell with that date - 731 (2 years), a cell for each row with the a formula in column B that effectively says =IF(letterDate<chosenDate,IF(letterDate>twoYearsAgo,withinTime,0),0) and a formula calculating the percentage for the two years =(COUNTIF(B2:B99999,"Y"))/(COUNTIF(B2:B99999,"Y")+COUNTIF(B2:B99999,"N")). If I want to update this for the next quarter I will have to copy and paste the value of that formula and then change the date so that the percentages don't ALL change.

    Can anyone help?

  2. #2
    Registered User
    Join Date
    04-02-2012
    Location
    Exeter
    MS-Off Ver
    Excel 2003
    Posts
    14

    Re: Updating formula based on date

    bump bump bump

+ 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] Updating a date based on a specific selection from a drop down.
    By Whraith in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-22-2013, 04:10 PM
  2. Updating Date based on replaced Values Excel VBA Question
    By Rberndt in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-04-2013, 04:38 PM
  3. Replies: 3
    Last Post: 08-28-2013, 09:26 AM
  4. updating date based on another cells value
    By tattooguy21 in forum Excel General
    Replies: 13
    Last Post: 04-18-2010, 04:55 PM
  5. Updating dates on Separate tabs based on date in first tab
    By customizedtours in forum Excel General
    Replies: 5
    Last Post: 04-14-2009, 04:44 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