Jump to content

Excel guru help


ClemUK

Recommended Posts

Hoping someone is an excel guru have. Searched tinternet but can't find a solution

I have a spread sheet that has dates a test was taken and they are conditionally formatted to go green if the date is between today() and today()-600

Basically anyone with a date approaching within the 600 days is green then after this it is formatted to change Amber so we know they need to retake a test etc.

How can I get a seperate cell to count how many cells have a date that is between today() and today()-600 using the conditional formatting rims as I know excel does not count colours well.

Something like COUNTIF(A1:A20, =Today() and today()-600)

Thanks in advance.

Link to comment
Share on other sites

You can use an array formula to do it (if you google array formula you can find quite a few explanations of how they work)

 

In this case type:

 

=sum((A1:A20<=today())*(A1:A20>=(today()-600))*1)

 

then press ctrl-shift-enter to make it an array formula and then it will surround it with { }

 

Hope that helps

  • Like 1
Link to comment
Share on other sites

Is it just me who thinks that the 2010 release of excel is way more limited in how much you can do with it, a lot harder to set up complex equations like the one here?

Link to comment
Share on other sites

Is it just me who thinks that the 2010 release of excel is way more limited in how much you can do with it, a lot harder to set up complex equations like the one here?

 

Not sure, I've used it for so long now.

 

I suppose I do find myself resorting to VBA more than I think I used to.

Link to comment
Share on other sites

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Community Partner

×
×
  • Create New...

Important Information

Welcome to BRISKODA. Please note the following important links Terms of Use. We have a comprehensive Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.