+ Reply to Thread
Results 1 to 7 of 7

Eliminating date values

Hybrid View

  1. #1
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    I think you're going to need to re-iterate what you need to have happen based on your sample....
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  2. #2
    Registered User
    Join Date
    10-10-2007
    Posts
    18
    Quote Originally Posted by NBVC
    I think you're going to need to re-iterate what you need to have happen based on your sample....

    Sure, lets start at the front and work from there.
    Columns A and B are meant to be people's names. Column G is meant to represent the date they got written up. If it's the current date, the date appears in black. If it's over 24 hours old, it appears in red. The status in Column S really has no bearing for this example, so we'll discard that for now.

    Column N represents the team the employee belongs to. Column V addresses all of this information and lists the total amount of write ups for that team (In this case, Team Cash). From there Column W calculates a percentage of the TOTAL amount of write ups for the entire site. What I want Column X to do is Take the amount of write ups per team that are over 24 hours old and list that number in the appropriate cell (Team Cash should have 1), then calculate that percentage in Column Y (which the formula is already written).

    I hope this clears things up a bit.

  3. #3
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Try:

    =SUMPRODUCT(--($N$2:$N$20=U2),--($G$2:$G$20>0),--(TODAY()-$G$2:$G$20>=1))

    adjust ranges. Sumproduct doesn't accept entire ranges like N:N

    Then copy down.

  4. #4
    Registered User
    Join Date
    10-10-2007
    Posts
    18
    You're awesome. I just adjusted the range to 20,000 so I dont have to deal with it for a LONG time. Thank you!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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