Hi Kevin,
Per our discussion, I would like to add the Excel formulas I’m currently using in Excel to my VBA code. The file I’m working on is here: All Items- CAPA Tracker - Macro Ver 4 with calculated columns.xlsm
Here are the formulas I've placed within the Excel worksheet. Please let me know if you have any questions. Thanks so much!
Retrieving Due Date from two columns (Original Due Date & Revised Due Date) - =IF(S4<>"", S4, R4)
Retrieving Date Closed. Some cells may not have a value yet. - =IF(ISBLANK(W4),"",TEXT(W4,"mm/dd/yyyy"))
Calculating # of days from Date Closed against Due Date. - =IF(ISBLANK(W4), AP4-TODAY(), AP4-AQ4)
Designating if project was "Closed On Time", "Overdue", or "In Progress". - =IF(O4= "In Progress", "In Progress", IF(AR4>0, "Completed On Time", IF(AR4<0, "Overdue",IF(AR4=0, "Completed On Time"))))
D
Per our discussion, I would like to add the Excel formulas I’m currently using in Excel to my VBA code. The file I’m working on is here: All Items- CAPA Tracker - Macro Ver 4 with calculated columns.xlsm
Here are the formulas I've placed within the Excel worksheet. Please let me know if you have any questions. Thanks so much!
Retrieving Due Date from two columns (Original Due Date & Revised Due Date) - =IF(S4<>"", S4, R4)
Retrieving Date Closed. Some cells may not have a value yet. - =IF(ISBLANK(W4),"",TEXT(W4,"mm/dd/yyyy"))
Calculating # of days from Date Closed against Due Date. - =IF(ISBLANK(W4), AP4-TODAY(), AP4-AQ4)
Designating if project was "Closed On Time", "Overdue", or "In Progress". - =IF(O4= "In Progress", "In Progress", IF(AR4>0, "Completed On Time", IF(AR4<0, "Overdue",IF(AR4=0, "Completed On Time"))))
D