1. What is the difference between a relative, absolute, and mixed reference in Excel?
=IFERROR(expression, value_if_error).=SUMPRODUCT(A1:A3, B1:B3) multiplies A1 with B1, A2 with B2, and A3 with B3, and returns the sum of those products=INDIRECT("A" & B1) returns the value in cell A1, where B1 contains a number (e.g., 1, 2, 3).=COUNTIF(A1:A10, ">5") counts the cells greater than 5).=SUMIF(A1:A10, ">5") sums the values greater than 5).=TEXTJOIN(", ", TRUE, A1:A5) joins the range with commas, ignoring any empty cells.=TEXT(value, format_text). Example: =TEXT(1234, "##,##0.00") returns “1,234.00”.21. How would you calculate compound interest in Excel?
=Principal * (1 + Interest Rate / Number of Periods) ^ (Number of Periods * Time). Example: =1000 * (1 + 0.05/12) ^ (12*5) calculates compound interest for 5 years at 5% annual interest compounded monthly.{}. Example: {1, 2, 3, 4} is an array constant.=OFFSET(A1, 2, 3) returns the value 2 rows down and 3 columns to the right of A1.=SUMIFS(B1:B10, A1:A10, "Sales", C1:C10, ">100").=COUNTIFS(A1:A10, "Sales", B1:B10, ">100").=TEXTJOIN(", ", TRUE, A1:A3) combines values in A1, A2, and A3 with a comma. CONCATENATE lacks the delimiter option and doesn’t ignore empty cells.=CHOOSE(2, "Apple", "Banana", "Cherry") returns “Banana” because it’s the second item in the list.=LEFT("Excel", 2) returns “Ex”.=RIGHT("Excel", 2) returns “el”.=MID("Excel", 2, 3) returns “xce”.=IFERROR(A1/B1, "Error") will return “Error” instead of #DIV/0! if B1 is 0.=OFFSET(Sheet1!$A$1, 0, 0, COUNTA(Sheet1!$A:$A), 1) creates a dynamic range.=SUMPRODUCT(A1:A5, B1:B5) / SUM(B1:B5) calculates the weighted average of the values in A1:A5 with weights in B1:B5.* (any number of characters) and ? (single character) in the MATCH function for partial matches. Example: =MATCH("a*", A1:A10, 0) will find the first cell starting with “a”.



