We’d like to remind Forumites to please avoid political debate on the Forum.
This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.
📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
The Forum now has a brand new text editor, adding a bunch of handy features to use when creating posts. Read more in our how-to guide
Excel Formula help please - using dates and COUNTIF
uberalles
Posts: 4,198 Forumite
in Techie Stuff
Good morning
I would be grateful for any help please.
I have added a picture trying my best to explain what I would like a formula to calculate and here is the requirement.
" In cell F11 I would like, please, a formula that identifies the % of all staff in date with training.
It first acknowledges how many staff are in situ (Column A in light blue), this number will vary. Then looks at the dates in Column F (shaded grey), occasionally there will not be a date entered here, such as cell F7. These dates record the date this training was last taken and cell F3 (in orange) highlights the regularity that the training requires refreshing. If the date (in grey ) is less than 3 years old, then all is great. If however it is greater than 3 years old, or blank, then all is not good.
The formula needs to acknowledge all staff, calculate if dates given are within the threshold, then calculate the % in date with the training."
Any input greatly appreciated.
I would be grateful for any help please.
I have added a picture trying my best to explain what I would like a formula to calculate and here is the requirement.
" In cell F11 I would like, please, a formula that identifies the % of all staff in date with training.
It first acknowledges how many staff are in situ (Column A in light blue), this number will vary. Then looks at the dates in Column F (shaded grey), occasionally there will not be a date entered here, such as cell F7. These dates record the date this training was last taken and cell F3 (in orange) highlights the regularity that the training requires refreshing. If the date (in grey ) is less than 3 years old, then all is great. If however it is greater than 3 years old, or blank, then all is not good.
The formula needs to acknowledge all staff, calculate if dates given are within the threshold, then calculate the % in date with the training."
Any input greatly appreciated.
0
Comments
-
=(100/COUNTA(A4:A9))*COUNTIF(B4:B9,">"&TODAY()-1095)
There may be better ways but that should do the job, obviously you would have to change the formula for 2 years (i.e -730) and for your specific data ranges.0 -
Hodge4ever wrote: »
=(100/COUNTA(A4:A9))*COUNTIF(B4:B9,">"&TODAY()-1095)
There may be better ways but that should do the job, obviously you would have to change the formula for 2 years (i.e -730) and for your specific data ranges.
Thank you very much indeed Hodge4ever for your input, much appreciated.
In an hour's time I will put that into my sheet and let you know it has worked.0 -
Wonderful Hodge4ever, it works a treat. Much appreciated.0
This discussion has been closed.
Confirm your email address to Create Threads and Reply
Categories
- All Categories
- 353.5K Banking & Borrowing
- 254.1K Reduce Debt & Boost Income
- 455K Spending & Discounts
- 246.6K Work, Benefits & Business
- 602.9K Mortgages, Homes & Bills
- 178.1K Life & Family
- 260.6K Travel & Transport
- 1.5M Hobbies & Leisure
- 16K Discuss & Feedback
- 37.7K Read-Only Boards