Page 50 - Computing Book 4
P. 50
Spreadsheet Formatting Class 4
Use of “Now” Function:
The Excel NOW function returns the current
date and time, updated continuously when a
worksheet is changed or opened. The NOW
function takes no arguments. You can format
the value returned by NOW as a date, or as a
date with time by applying a number format
Syntax: =Now ()
Use of “LEN” Function:
LEN Function in Excel can be used to count the number of characters in a text string and able to
count letters, numbers, special characters, non-printable characters, and all spaces from an excel
cell. In simple words, LENGTH Function is used to calculate the length of a text in an excel cell.
Let’s see how we can test a few conditions. Suppose we are given the following values:
We will get the results below:
In the above example:
Spaces are counted as characters. Hence, the function returned 13 for the first argument.
The length of the empty string is 0.
The City School /Academics/Computing Curriculum/Class 4/2020-2021 Page 49 of 73

