Skip to content

Excel guru help

Featured Replies

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.

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

  • Author

Many Thanks...worked a treat

Excel formula problems are strangely compelling when you get stuck into fixing them.

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?

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.

  • 2 weeks later...

I hate excel :(

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

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.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.