Hi, I have a spreadsheet which tracks various projects and tasks within the project. I currently have a formula to provide a count of projects so that multiple tasks with the same project number are not counted twice. However, I need to modify this to check that the dates also match, else it should be given its own project score.
The below works as long as the spreadsheet is sorted by project number, but can throw off the count if sorted by different columns:
The next attempt accurately counts the duplicate projects, but I'm not sure how to add the start and end date checks to the same line the duplicate projects are found on:
I'd rather keep this to column formulas, can it be done without VBA?
The below works as long as the spreadsheet is sorted by project number, but can throw off the count if sorted by different columns:
Code:
=IF(AND([@[NEXEvent.Site Outage: Project ID]]=F1,[@[NEXEvent.Outage Start Date]]=A1,[@[NEXEvent.Outage End Date]]=B1),0,1)
The next attempt accurately counts the duplicate projects, but I'm not sure how to add the start and end date checks to the same line the duplicate projects are found on:
Code:
=IF(COUNTIF(Table1[[#Headers],[NEXEvent.Site Outage: Project ID]]:[@[NEXEvent.Site Outage: Project ID]], [@[NEXEvent.Site Outage: Project ID]])>1,0,1)
I'd rather keep this to column formulas, can it be done without VBA?