Table of Contents
Google Sheets has concise functions for checking text, counting distinct values, importing data, applying array calculations, and summarizing a range. These five groups are useful to know, but their names are not proof that Excel cannot perform similar tasks through other formulas or tools.
The examples below use English function names and commas as separators. Your spreadsheet locale may require different separators. Put output formulas in empty cells with room for their results.
1. ISEMAIL and ISURL: check formatting

=ISEMAIL(A2)
=ISURL(B2)These return TRUE or FALSE according to the function’s rules. ISEMAIL checks a commonly accepted email format; it does not verify that the mailbox exists or can receive messages. ISURL checks whether text is recognized as a URL, not whether a website is reachable or safe.
Use these checks to flag suspicious entries for review, not as proof that a customer’s details are correct.
2. COUNTUNIQUE: count distinct entries

=COUNTUNIQUE(A1:A100)If the populated values are apple, apple, banana, orange, orange, there are three distinct entries. Clean inconsistent spaces, spelling, and data types before using a distinct count as a business metric.
When you want to exclude blanks, filter them explicitly, for example:
=COUNTUNIQUE(FILTER(A2:A100,A2:A100<>""))That filtered example assumes there is at least one nonblank entry; otherwise FILTER returns no matches. Decide how your report should handle an empty dataset.
3. Import functions: choose the right source

| Action | Shortcut |
|---|---|
| IMPORTRANGE | Read a range from another Google spreadsheet, subject to access permission. |
| IMPORTHTML | Read an HTML table or list from an accessible page. |
| IMPORTFEED | Read an RSS or Atom feed. |
| IMPORTXML | Extract structured content with an XPath query. |
If A2 contains a suitable page URL, this example requests its first HTML table:
=IMPORTHTML(A2,"table",1)The index starts at 1 and refers to the page’s HTML structure, not necessarily the first table you notice visually. Sites that require sign-in, block automated access, or render data only with JavaScript may not work. Check source permissions and validate imported values.
Import formulas refresh according to service rules and limits; do not treat them as a real-time data feed. A page redesign can also change or break the result.
4. ARRAYFORMULA: calculate a range from one cell

=ARRAYFORMULA(IF(B2:B100="","",B2:B100*2))Entered in C2, this multiplies nonblank values in B2:B100 by two and leaves corresponding blank rows visually empty. Keep C2:C100 clear so the output can expand. The source values should be numeric.
Modern Excel also supports spilling arrays. ARRAYFORMULA is a Sheets-specific way of expressing some array work, not evidence that Excel still requires Ctrl+Shift+Enter for every multi-cell calculation.
5. QUERY: filter and summarize a range

Suppose row 1 contains headers, C holds regions, D holds numeric sales, and G contains Boolean approval values:
=QUERY(A1:G100,"select C, sum(D) where G = true group by C order by sum(D) desc",1)This groups approved rows by region, totals sales, and sorts the totals from largest to smallest. The final 1 declares one header row. QUERY uses Google’s Visualization query language, which resembles SQL but is not a full database SQL engine.
Keep data types consistent. As Google’s QUERY reference explains, minority data types in a mixed column can be treated as null. Check your totals against a small known example before applying a query to a large report.
For a different way to summarize data in desktop Excel, see Excel features including PivotTables and Power Query. Choose the workflow that fits your data rather than relying on an app-versus-app slogan.
Reader Comments 0
Sign in with email or Google to join the discussion.