Points fall off after 365 days

Caveman1964

Board Regular
Joined
Dec 14, 2017
Messages
127
Office Version
  1. 2016
Platform
  1. Windows
I am attempting to get absentee points to fall off after 365 days.
My sheet has a row with the date.
A row with the points.
I have it totaling the points in the row but want the points to not be included if its been 365 days.
My formula does not work...I have attempted multiple variations with no luck.
=SUM(IF(DATEDIF(J4:FLX4,J4:FLX4+J6:FLX6,"yd")<=365,J6:FLX6,0))

Row 4 is the date.
Row 6 is the points
Row 5 is simply the hours off and it isn't blank, it places the points into the day which is row 6.
a screen shot is to give some reference as to what I am referring to.
Any help is much appreciated!
 

Attachments

  • points sheet.jpg
    points sheet.jpg
    88.5 KB · Views: 4

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
What version of Excel are you using?

I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
 
Upvote 0
How about
Excel Formula:
=sumifs(j6:flx6,j$4:flx$4,">="&today()-365
 
Upvote 0
Solution
What version of Excel are you using?

I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
ah ok....thank you
 
Upvote 0
Glad we could help & thanks for the feedback.
Thanks also for updating your profile (y)
 
Upvote 0

Forum statistics

Threads
1,216,127
Messages
6,129,022
Members
449,481
Latest member
joaotcosta23

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top