To calculate time attendance using the IF function in Excel based on the criteria provided, follow these steps:
1. In Excel, open a new or existing spreadsheet where you want to calculate the time attendance.
2. In a cell where you want the result to appear, enter the following formula:
```
=IF(A1<=TIME(9,45,0),"On Time","Late")
```
- Replace A1 with the cell reference where the time you want to evaluate is located.
- The TIME function is used to convert the time 9:45 into a format that Excel can recognize.
- The formula checks if the time in cell A1 is less than or equal to 9:45. If it is, it will display "On Time"; otherwise, it will display "Late."
3. Press Enter to apply the formula. The cell will now display either "On Time" or "Late" based on the time entered in cell A1.
By following these steps and using the provided formula, you can efficiently calculate employee late comings based on the specified time threshold in Excel.