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

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.

Forum statistics

Threads
1,215,063
Messages
6,122,935
Members
449,094
Latest member
teemeren

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