Excel and Word Function Mastery
When you type a numeric value into an Excel worksheet, Excel automatically aligns the entry to the right side of the cell . This default behavior helps you quickly differentiate numbers from…

Which address format correctly defines a rectangular data block in Excel?
What error does Excel return when a formula contains an undefined function name?
In Excel, which key combination inserts a line break within a cell without leaving the cell?
Which formula correctly calculates the age of a person born on 12/10/1978 as of today?
What result does the Excel function =LEFT(A5) return when A5 contains the text "TINHOC"?
Which of the following statements about the Excel function MATCH is true?
When a cell displays a series of hash symbols (#######) in Excel, what is the most likely cause?
Which shortcut in Word immediately moves the cursor to the beginning of the document?
To apply a filter automatically to a selected data range in Excel, which menu sequence should be used?
Understanding Excel Cell Alignment and Formatting
When you type a numeric value into an Excel worksheet, Excel automatically aligns the entry to the right side of the cell. This default behavior helps you quickly differentiate numbers from text, which is left‑aligned by default. Recognizing this visual cue is essential for data validation and troubleshooting formatting issues.
Why Alignment Matters
- Readability: Right‑aligned numbers line up neatly, making column totals easier to scan.
- Data type identification: If a number appears left‑aligned, it may actually be stored as text, which can cause calculation errors.
- Consistent reporting: Proper alignment ensures that printed reports look professional.
Defining Rectangular Data Ranges in Excel
Excel works with rectangular data blocks that are defined by the address of the top‑left cell and the bottom‑right cell, separated by a colon. The correct syntax looks like this:
:
Example
If you want to reference cells from A1 to D10, you write A1:D10. This range includes every cell in rows 1 through 10 and columns A through D.
Common Mistakes
- Using the bottom‑left cell as the second address (e.g.,
A1:D1for a vertical range) – this creates an invalid range. - Swapping the order of the addresses (e.g.,
D10:A1) – Excel will still interpret the range, but it can be confusing for readers.
Handling Formula Errors: The #NAME? Error
When a formula contains a function name that Excel does not recognize, the spreadsheet displays the #NAME? error. This typically occurs because:
- The function is misspelled (e.g.,
=SUMM(A1:A5)instead of=SUM). - A custom add‑in or VBA function is not loaded.
- Quotes are missing around text arguments.
Quick Fixes
To resolve #NAME? errors, double‑check the spelling of the function, ensure any required add‑ins are enabled, and verify that text strings are enclosed in double quotes.
Inserting Line Breaks Within a Cell
To create a new line inside a single cell without moving the cursor to another cell, press Alt + Enter. This shortcut inserts a line‑feed character, allowing you to stack multiple lines of text within the same cell.
Practical Uses
- Formatting addresses or multi‑item lists.
- Adding comments or notes directly in a cell.
- Improving readability of long text strings.
Calculating Age with Excel Functions
One of the most common date calculations is determining a person’s age. The simplest and most reliable formula uses the YEAR and TODAY functions:
=YEAR(TODAY())-YEAR(A1)
Assuming cell A1 contains the birthdate 12/10/1978, this formula subtracts the birth year from the current year, yielding the correct age (adjusted for the current date). For more precise age calculations that consider months and days, you can use:
=INT((TODAY()-A1)/365.25)
Why Use YEAR(TODAY())?
- It automatically updates each day, keeping the age current.
- It avoids hard‑coding the current year, which would require manual updates.
Extracting Text with the LEFT Function
The LEFT function returns the leftmost characters from a text string. When used without a second argument, Excel defaults to returning the first character only.
Example: If cell A5 contains the text "TINHOC", the formula =LEFT(A5) returns "T".
Specifying the Number of Characters
To retrieve more than one character, include the number of characters as the second argument, e.g., =LEFT(A5,3) returns "TIN".
Understanding the MATCH Function
The MATCH function is a powerful lookup tool that returns the position of a specified item within a one‑dimensional array. It does not return the actual value, nor does it perform a two‑dimensional search.
Basic Syntax
=MATCH(lookup_value, lookup_array, [match_type])
- lookup_value: The value you want to find.
- lookup_array: The range containing possible matches.
- match_type (optional): 0 for exact match, 1 for less than or equal, -1 for greater than or equal.
Example
If cells B1:B5 contain {10, 20, 30, 40, 50} and you use =MATCH(30, B1:B5, 0), the function returns 3 because 30 is the third item in the array.
Why Cells Show Hash Symbols (#######)
When an Excel cell displays a series of hash symbols, the most common cause is that the column is too narrow to display the entire result. This occurs with numbers, dates, and times that require more horizontal space.
How to Fix It
- Double‑click the column header border to auto‑fit the width.
- Manually drag the column edge to widen it.
- Change the number format to a shorter style (e.g., using
Generalinstead of a long date format).
Other issues, such as data type incompatibility or formula syntax errors, generate different error messages (e.g., #VALUE! or #REF!), not hash symbols.
Key Takeaways for Excel Mastery
- Numeric entries are right‑aligned by default; text is left‑aligned.
- Define ranges using
top‑left : bottom‑rightaddress format. - Use
#NAME?to diagnose undefined functions. - Insert line breaks with Alt + Enter.
- Calculate age with
=YEAR(TODAY())-YEAR(birthdate). LEFT(text)returns the first character unless a length is specified.MATCHreturns the position of a value within a one‑dimensional array.- Hash symbols indicate a column‑width issue; adjust the column to reveal the data.
By mastering these fundamentals, you’ll improve data accuracy, streamline worksheet design, and enhance overall productivity in Excel.
