← 30 Days Excel Series
Day 4 of 30BeginnerFormulas

Day 4: Essential Formulas — Part 2

5 questions · Excel Interview Preparation

Q1

How does IF work with multiple conditions?

To test multiple conditions, use AND or OR inside IF. =IF(AND(A2>100, B2="North"), "Priority", "Standard") returns "Priority" only if both conditions are true. =IF(OR(A2>100, B2="North"), "Flag", "OK") returns "Flag" if either condition is true. For multiple outcome categories, nest IFs or use IFS (Excel 2019+): =IFS(A2>1000,"High",A2>500,"Medium",A2>0,"Low",TRUE,"Zero or Negative").

💡 Interview tip: IFS is cleaner than nested IF for more than 2 outcomes — avoid nesting more than 3 levels deep.
Q2

What is COUNTIF and how do you count cells meeting multiple criteria?

COUNTIF counts cells in a range matching one condition: =COUNTIF(B2:B100,"North"). For multiple conditions, use COUNTIFS: =COUNTIFS(B2:B100,"North",C2:C100,"Electronics") counts rows where Region is North AND Category is Electronics. Use wildcards for partial matches: =COUNTIF(A2:A100,"*Delhi*") counts cells containing "Delhi" anywhere.

💡 Interview tip: COUNTIFS with multiple ranges — all ranges must be the same size or you get a #VALUE error.
Q3

How do SUMIF and SUMIFS work? Give a real example.

SUMIF: =SUMIF(Region, "North", Revenue) — sums Revenue where Region equals "North". SUMIFS allows multiple conditions: =SUMIFS(Revenue, Region, "North", Category, "Electronics", Month, "Jan") — sums Revenue where all three conditions are met. Real scenario: you have 10,000 transaction rows and need total revenue by region and category. SUMIFS with a summary table referencing each combination is standard practice.

💡 Interview tip: In SUMIFS, the sum_range comes FIRST — opposite of SUMIF. This trips up many candidates.
Q4

What is CONCATENATE (or &) and when do you use it?

CONCATENATE (or the simpler & operator) joins text from multiple cells. =A2&" "&B2 joins first and last name with a space. =TEXT(C2,"DD-MMM-YYYY")&" - "&D2 combines a formatted date with a description. In modern Excel (2019+), TEXTJOIN is more flexible: =TEXTJOIN(", ", TRUE, A2:A10) joins a range with a delimiter and ignores blanks.

💡 Interview tip: Use & over CONCATENATE for shorter, cleaner formulas. Use TEXTJOIN when joining a range of cells.
Q5

What are LEN, LEFT, RIGHT, MID, and FIND used for?

These text functions extract or examine parts of a string. LEN returns the character count. LEFT(text,n) extracts n characters from the left. RIGHT(text,n) from the right. MID(text,start,n) extracts n characters starting at position start. FIND(find_text, within_text) returns the position of a substring. Example — extract domain from email: =MID(A2, FIND("@",A2)+1, LEN(A2)-FIND("@",A2)) returns "gmail.com" from "prashant@gmail.com".

💡 Interview tip: These are frequently asked in data cleaning scenarios — know how to combine them to parse structured strings.
← Day 3All DaysDay 5

Want 1:1 Excel coaching?

Join EVIKA Academy for live Excel training, real projects, and placement support in Delhi NCR.

Book Free Demo →
Best Data Analytics Course in Noida Delhi NCR | EVIKA ACADEMY