megatronixs
Registered User.
- Local time
- Today, 02:20
- Joined
- Aug 17, 2012
- Messages
- 719
Hi all,
I need to calculate the passed working days and show them in a form. I should be also able to use the number in a query later on.
in excel I use the formula to get the days passed:
D = "Date_uploaded" in access table "tbl_All_Cases"
F = "Status_Case" in access table "tbl_All_Cases"
c:c = dictionary case status
E:E = dictionary holidays
"Status Excluded" will show up in the cell if a case has one of the status from the dictionary
I created a table: tbl_Dictionary where there are 2 fields: "Case_Status" and "Holidays"
How can I translate the above formula into something that access will understand?
Greetings.
I need to calculate the passed working days and show them in a form. I should be also able to use the number in a query later on.
in excel I use the formula to get the days passed:
Code:
=IF(ISERROR(MATCH(F10,Dictionary!C:C,0)),NETWORKDAYS(D10, TODAY(), Dictionary!$E$2:$E$43),"Status Excluded")
F = "Status_Case" in access table "tbl_All_Cases"
c:c = dictionary case status
E:E = dictionary holidays
"Status Excluded" will show up in the cell if a case has one of the status from the dictionary
I created a table: tbl_Dictionary where there are 2 fields: "Case_Status" and "Holidays"
How can I translate the above formula into something that access will understand?
Greetings.