Lookup date row and count cell by specific colour given

GR_COOPER

New Member
Joined
Sep 23, 2014
Messages
1
Hi Guys,

I'm stuck and could do with your help. I've used the Excel help and 'googled' this until my hair falls out but to no avail.

Windows 7
Excel 2007

I would like to create a formula in Excel that when a specific date is input in a given cell, excel will LOOKUP that date row in a given worksheet and return a count of a specific colour in that row.

I have managed to use the 'Countcellsbycolour' VBA script but don't know how to use this alongside a date lookup as well.

I have produced a basic template which explains the detail. Please be aware it contains the VBA script for 'Countcellsbycolour'.

https://dl.dropboxusercontent.com/u/48440645/test.xlsm

Any help would be massively appreciated.

Thanks,
Gavin
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying

Forum statistics

Threads
1,191,131
Messages
5,984,846
Members
439,919
Latest member
ketsueki82

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
Top