
Originally Posted by
Pete_UK
That looks like one of my calendar files. It would be possible to do this, although it would be a bit awkward, as (potentially) each cell could be a different order type and so you would need to expand the table in blue on the Project tracker sheet to include the type for each day. That's easy enough - you could put this formula in cell O1:
=IF(OR(K1="",K1="-"),"",INDEX(D:D,K1)&"")
and copy it down. Incidentally, you need to copy those formulae in blue down further, as you are missing some of the data.
However, conditional formatting cannot refer to conditions on other sheets, and so you will need to bring across the relevant data onto the Calendar sheet, so that you could then refer to it in the CF conditions, and that is where the awkwardness comes about. You could position it in column M onwards, for example, but that then messes the sheet up a bit. You could also think about including the order type in what you display on the calendar, in which case you should change the formula in cell L1 of the Project_tracker sheet to this:
=IF(OR(K1="",K1="-"),"",INDEX(A:A,K1)&"-"&INDEX(D:D,K1)&"")
and copy this down (no need for column O in this case), and then you could pick the order type up from that cell in the calendar. You show 6 order types on Sheet1, so each cell would need 6 different CF conditions.
Hope this helps.
Pete
Bookmarks