Assignment 1
Assignment 1
1. Sum
2. AND Function
3. OR Function
4. TODAY
5. NOW
6. NOW+()
7. WORKDAY
8. WORKDAY. INTL.
9. IF Function
10.VLOOKUP Function
11.ISTEXT, VLOOKUP
12.DSUM
1. Sum
- Type =TODAY().
- Press Enter. The cell will display the current date, which updates automatically each day.
5. NOW
1. Select a Cell: Click on the cell where you want the current date and time to appear.
2. Enter Function:
- Type =NOW().
- Press Enter. The cell will display the current date and time, updating automatically.
6. Now()+1
The WORKDAY function returns the date that is a specified number of workdays before or
after a given start date.
1. Select a Cell: Click on the cell where you want the result to appear.
2. Enter Function:
- Type =WORKDAY(.
- Input the start date (you can type it directly or reference a cell with a date).
- Input the number of workdays (positive for future dates, negative for past dates).
- Optionally, specify a range of holiday dates to exclude (optional).
- Close the parenthesis and press Enter.
8. WORKDAY. INTL
The WORKDAY.INTL function allows more flexibility with weekends and holidays.
1. Select a Cell: Click on the cell where you want the result to appear.
2. Enter Function:
- Type =WORKDAY.INTL(.
- Input the start date (you can type it directly or reference a cell with a date).
- Input the number of workdays (positive for future dates, negative for past dates).
- Input a weekend argument to specify which days are weekends (default is Saturday and
Sunday, but you can use a 7-character string like "0000011" for different weekends).
- Optionally, specify a range of holiday dates to exclude (optional).
- Close the parenthesis and press Enter.
9. IF Function
The IF function performs a test and returns one value if the test is true and another value if it
is false.
Syntax:
excel
=IF(logical_test, value_if_true, value_if_false)
Example:
To check if cell A1 is greater than 10 and return "PASS" if true, "FAIL" if false:
excel
=IF(O5>=$L$10,$M$10,IF(O5>=$L$9,$M$9,IF(O5>=$L$8,$M$8,IF(O5>=$L$7,$M$7,IF(
O5>=$L$6,$M$6,IF(O5>=$L$5,$M$5))))))
Note:
1. We are putting $ Sign for Freezing the that particular so for every point formula must
be same
10. VLOOKUP
VLOOKUP Function created for the doing this Easy way from IF Function
Syntax:
Excel
=VLOOKUP(lookup_value, table_array, col_index_num, [range_Lookup]
Example
=VLOOKUP(D3,$L$4:$M$10,2)
Note:
1. We Have to create a dictionary for refrence
11. ISTEXT, VLOOKUP
Syntax:
Excel
=IF(logical_text, [Value_if_true], [Value_if_false])
12. DSUM
DSUM: If we want to find number from a specified field or column in a database based on
user-defined criteria
Syntax:
Excel