Including 22 secret formulas, Google Sheet functions that you didn't know beforeðŸĪ

Google Sheet is a tool with many functions that help you manage your data efficiently. Today we will introduce you to some secret or lesser-known but very useful functions in Google Sheet.

Useful Google Sheet formulas for use

Google Sheet formulas create graphs, translate intra-cell, merge text in multiple cells, display images from URLs, search and filter data like SQL, fetch data from other Google Sheets, translate intra-cell, display images from URLs, display current date and time, randomize numbers, capitalize first letter, insert links into text, fetch website favicon, and more.

formula:

Usage: Allows you to calculate values ​​in multiple cells using a single formula, instead of dragging and copying the formula to every row.

formula: ARRAYFORMULA in Google Sheets is used to enable formulas to work on a range of cells (multiple rows or columns) simultaneously. Normally, a formula works on a single cell, but ARRAYFORMULA allows a formula to automatically calculate for an entire column. For example, =ARRAYFORMULA(A1:A + B1:B) will add values ​​from columns A and B in every row without having to drag the formula down, making it more convenient and reducing the time it takes to copy formulas.

formula:

Usage: Used to create small graphs in a single cell, ideal for summarizing trends in data.

formula: SPARKLINE in Google Sheets is used to create small graphs within a single cell to show simple trends in data such as lines, columns, areas, candlesticks, etc. For example, =SPARKLINE(A1:A10) creates a line graph from the values ​​in the range A1 to A10, and can be further styled, such as =SPARKLINE(A1:A10, {“charttype”, “column”; “color”, “blue”}) to change it to a blue bar graph, making it easy to quickly see trends in your data in a small area.

formula:

Usage: It allows you to filter and retrieve data like a SQL query without the need for multiple filters.

formula: QUERY in Google Sheets is a function that helps you filter, sort, and calculate data from a range of cells using a SQL-like command. For example, =QUERY(A1:C10, “SELECT A, B WHERE C > 50 ORDER BY B DESC”, 1) selects columns A and B from the range A1:C10, filters only the rows where column C's value is greater than 50, and sorts B in descending order (DESC), making data analysis easier and more flexible.

formula:

Usage: Automatically import data from other spreadsheets for collaborative use.

formula: IMPORTRANGE in Google Sheets is used to fetch data from another Google Sheets file by specifying a link and a cell range, such as: =IMPORTRANGE("URL_source_sheet", "Sheet1!A1:B10") It will import data from the range A1:B10 of the sheet named “Sheet1” in a file with the source sheet URL link, which allows for real-time linking and updating of data across files.

formula:

Usage: Can be used to translate text in cells from English to Thai or other languages.

formula: GOOGLETRANSLATE in Google Sheets can be used to automatically translate text from one language to another, such as: =GOOGLETRANSLATE(A1, "en", "th") Will put the text in cell A1 which is in English ("in") Translate into Thai ("th") and if used "auto" Instead of the source language, such as =GOOGLETRANSLATE(A1, "auto", "th") The system will automatically detect the source language, making translating text in sheets easy and fast! 🌍âœĻ

formula:

Usage: Help remove duplicate values ​​in a column and display only unique values.

formula: UNIQUE in Google Sheets is used to filter data to only unique values ​​from a range. For example, =UNIQUE(A1:A10) will pull out the unique values ​​from the range A1 to A10, so you only see the unique data in that column. This is useful for working with data that you want to show only unique values, such as a unique list of names or non-duplicating lists.

formula:

Usage: Automatically sort data by specified columns.

formula: SORT in Google Sheets is used to sort data in any order you want, such as ascending or descending. It can be used with both numbers and text. For example, =SORT(A1:B10, 1, TRUE) sorts the data in the range A1:B10 in ascending order (set TRUE for ascending order). To sort in descending order, use FALSE instead of TRUE. This makes organizing your data quick and easy.

formula:

Usage: Used to combine text from multiple cells into one text with a delimiter such as a comma or space.

formula: TEXTJOIN in Google Sheets is used to combine text from multiple cells or ranges of data together. You can specify a delimiter between the texts, for example =TEXTJOIN(“, “, TRUE, A1:A5) will combine the text from A1 to A5 with “, ” as the delimiter between the texts. If there is a blank value in the cell, it will be ignored (if TRUE is used). For example, the result might be “apple, banana, orange”, which helps you to combine text easily and organize it better.

formula:

Usage: Help generate automatic number sequences in the desired quantity.

formula: SEQUENCE in Google Sheets is used to automatically create a number sequence in a range of cells. For example, =SEQUENCE(5) ​​creates a sequence from 1 to 5 in a single row, while =SEQUENCE(5, 2) creates a sequence of 5 rows and 2 columns. You can further customize it, for example, use =SEQUENCE(5, 1, 10, 2) which starts at 10 and increments by 2 until you reach 10 rows:
10, 12, 14, 16, 18

This function is suitable for creating sequences of numbers or data that increase in an orderly manner.

formula:

Usage: Enables displaying images from URLs directly in cells in Google Sheets.

  • If column B contains image links, such as: https://example.com/image.jpg
  • This formula will extract the URL from cell B1 and display the image in that cell.

Resize the image (if necessary)

  • 4 = Customize size
  • 100 = Width 100 pixels
  • 100 = Height 100 pixels

If you want to automatically display a picture for every row, use this formula in cell C1:

formula: IMAGE in Google Sheets is used to display images from a URL or from a file in Google Drive within your cells, without using a separate application. This function allows you to display images conveniently and easily in Google Sheets.

formula:

Usage: Use to switch the position of data from row to column or from column to row.

formula: TRANSPOSE in Google Sheets is used to change the rows and columns of data. For example, if you have data in a range of rows (horizontal), you can use TRANSPOSE to change it to columns (vertical), and vice versa. This function is useful when you want to quickly switch data between rows and columns.

formula:

Usage: Help me combine values ​​from multiple cells into one text.

formula: CONCATENATE in Google Sheets is used to combine text from multiple cells. For example, if you have the word “Hello” in cell A1 and “World” in cell B1, the formula =CONCATENATE(A1, ” “, B1) will combine the two texts into “Hello World”. You can add a separator between the texts, such as a space (use ” “), a comma, or anything else you want. This function makes combining text from multiple cells easy and convenient.

formula:

Usage: NOW() is used to display the current date and time. TODAY() is used to display the current date without time.

formula: NOW and TODAY in Google Sheets are used to automatically display the current date and time:

  • NOW(): will show the current date and time, such as =NOW() It will display a date and time like “2025-04-03 12:30:45” (depending on the time you use the formula).
  • TODAY(): It will only show the current date without time, such as: =TODAY() It will automatically give you the result of “2025-04-03”.

Both functions update the data every time the sheet is edited or reopened, making it easy to use current date and time data. 🎉

formula:

Usage: RAND() generates a random number between 0 and 1. RANDBETWEEN(x, y) generates a random number between x and y.

formula: RAND() and RANDBETWEEN() In Google Sheets used for generating random numbers:

  • RAND(): This function will generate a random number between 0 and 1 (e.g. 0.12345) when used. =RAND() You will get a different random number every time you recalculate in the sheet.
  • RANDBETWEEN(): Used to generate random numbers in a specified range, such as: =RANDBETWEEN(1, 100) It will generate a random number between 1 and 100, including range numbers (1 and 100), giving you more flexibility when you need a custom range of numbers.

Both functions will automatically change their values ​​when recalculated in the sheet🌟

formula:

Use to separate text with delimiters such as commas or spaces.

formula: SPLIT() in Google Sheets is used to split text in a cell into multiple parts using a specified delimiter. For example, if you have the text in cell A1 that is “Apple, Banana, Orange” and you use the formula =SPLIT(A1, “, “), it will split the text into multiple cells separated by a comma and a space.

You can use a variety of delimiters, such as commas, spaces, or even other characters as needed, making it easy to manage multi-part data.

formula:

Use to extract only numbers from text.

formula: REGEXEXTRACT() in Google Sheets is used to extract data that matches a specific pattern from text. For example, if you want to extract email addresses from the text contained in cell A1, which might be “Email: john@example.com”, the formula =REGEXEXTRACT(A1, “\S+@\S+”) will extract only the email address “john@example.com”. By using a Regular Expression (regex) to specify a specific pattern, such as an email address, phone number, or specific text, extracting the desired data from text is easy and precise!

formula:

This formula will check cell B2 and replace all “-” signs with “.” Change the words and cells as needed.

formula: SUBSTITUTE() In Google Sheets, it is used to replace some text within existing text without having to edit the entire text. For example, if you have the text in cell A1 that is “Hello World” and you want to replace the word “World” with “Everyone”, use this formula:

The result will be “Hello Everyone”, which will automatically change the word “World” to “Everyone”. If you want to replace multiple times, you can specify the number of times you want to replace, for example: SUBSTITUTE(A1, "a", "b", 2) It will only replace the second occurrence of “a” in the text.

formula:

This formula will merge the columns A1 B1 C1 D1 E1 (start with = and use &). Change the columns or sort the columns as needed. Make other rows sort automatically by using the + sign below the row where the formula is entered.

If you want to add spaces or text between the combined values

Or use the function CONCATENATE With additional space:

Suppose you have data in column B and you want to add a “|” sign before each string in column C:

Use function CONCATENATE:

Use the symbol &:

formula: The CONCATENATE() function in Google Sheets is used to combine text from multiple cells or sections. For example, if cell A1 contains the text “Hello” and B1 contains the text “World,” the formula =CONCATENATE(A1, ” “, B1) will combine the two texts into “Hello World” with spaces between the words. This function allows you to easily combine text from multiple sources into one text.

formula:

  • A1 is the cell where you want to delete the text.
  • /.* This is a pattern that searches for text that contains the / sign and all subsequent characters.
  • "" It means to replace the text that matches the search pattern with blank values ​​(remove them). You can also enter words in here.
Column A (original)Column B (Result)
share.netnut.cn/4f4sDxshare.netnut.cn
example.com/page1example.com
test.website.com/path/to/pagetest.website.com

This formula will insert the text message in place of the / symbol and the following words.

formula: REGEXREPLACE in Google Sheets is used to replace text within cells that match a specified pattern.

This function allows you to easily replace text that matches a desired format, such as numbers, letters, or special text, in Google Sheets.

formula:

You can use the REGEXREPLACE function in conjunction with PROPER to remove the period (.) and the word after it, and capitalize the first letter.

  1. REGEXREPLACE(B1, "\..*", "")
    • \. → means "point (.)”
    • .* → means “any letter that follows the period”
    • Replace all with empty values ​​("") → Delete everything from the point onwards.
  2. PROPER(...)
    • Used to make the first letter a Capital letters
    • such as "soax" → "Soax"

Sample results:

Column B (original)Column C (Result)
soax.comSoax
example.netExample
google.co.ukGoogle
test.websiteTest

formula: PROPER() In Google Sheets, it is used to capitalize the first letter of each word and lowercase the rest of the letters. For example, if cell A1 contains the text “hello world”, the formula =PROPER(A1) It will automatically change the text to “Hello World,” which helps make multi-word text look cleaner and more organized.

formula:

This formula will make the text in B1 a link using the URL from C1.

Sample results:

Column B (Text)Column C (Link)Column D (Result)
Googlehttps://google.comGoogle
YouTubehttps://youtube.comYouTube
OpenAIhttps://openai.comOpenAI

Use automatic formulas for the entire column

You can use Google Apps Script To embed a direct link into column B or D

  • Go to Extensions > Apps Script
  • Delete the old code and insert this code:
  • press Run (â–ķ) To make the script work
  • The link will now be permanently embedded in column B.
  • You can now delete Column C! 🎉

formula: The HYPERLINK() function in Google Sheets is used to create clickable links that link text or URLs to websites or other resources. This function makes it easy and convenient to link text or data in a sheet to an external data source.

Method 1: Use plain Google (easiest)

  • You can extract any website favicons as the image url.

Method 2: Use regular Google (64×64)

  • This formula will allow you to get the Favicon size 64x64px

Method 1: Using Google's Favicon API (easiest method)

  • This formula will display as a Favicon image in Google Sheets.

Method 2: Using Google's Favicon API (best method)

  • This formula will display as a Favicon image in google sheets. Size 64x64px (Clearer)

Method 1: Using Google's Favicon API (best method)

This formula will display as a Favicon image in google sheets. Size 64x64px (Clearer)

How to use:

  • Enter the domain name in the column A2 such as example.com
  • This formula will pull the Favicon size 64x64px Come show

The way that 2. Pull Favicon directly from website (if API is not available)

Other recipes
Google Sheets has many functions and formulas that can help you make your work more convenient and efficient. Here is a list of commonly used and useful formulas:
IF():
It is used to check conditions and return the result based on the specified conditions, for example =IF(A1 > 10, “greater than 10”, “less than or equal to 10”) if A1 is greater than 10, it will display “greater than 10”.
COUNTIF():
It is used to count the number of cells that meet a specified condition, for example =COUNTIF(A1:A10, “>10”) will count the number of cells in the range A1:A10 that have a value greater than 10.
SUMIF():
It is used to find the sum of cells that meet a condition, for example =SUMIF(A1:A10, “>10”) will find the sum of the values ​​greater than 10 in the range A1:A10.
VLOOKUP():
It is used to look up a value in a table by looking at the first column, for example =VLOOKUP(A1, B1:C10, 2, FALSE) will look up the value from A1 in columns B1:B10 and return the matching value from column C.
INDEX():
It is used to fetch data from a table at a specified position, for example =INDEX(B1:C10, 3, 2) will fetch values ​​from row 3 and column 2 of range B1:C10.
MATCH():
It is used to search for a value from a range of data and return the location where it is found. For example, =MATCH(“Apple”, A1:A10, 0) will search for the word “Apple” in the range A1:A10 and return the location where it is found.
ONLY():
It is used to find the length of text in a cell, for example =LEN(A1) will return the number of characters in cell A1.
LEFT():
It is used to extract text from the left side of the text, for example =LEFT(A1, 5) will extract the first 5 characters from the text in A1.
RIGHT():
It is used to extract text from the right side of the text, for example =RIGHT(A1, 3) will extract the last 3 characters from the text in A1.
ARRAYFORMULA():
It is used to make a formula work on multiple rows or columns at once, for example =ARRAYFORMULA(A1:A10 * B1:B10) multiplies all values ​​in column A by B.
LanguageISO-639 code
Abkhazab
Acehneseace
Acholiach
Afrikaansaf
Albaniansq
Aluralz
Amharicam
Arabicar
Armenianhy
Assameseas
Awadhiawa
Aymaraay
Azerbaijaniaz
Balineseban
Bambarabm
Bashkirba
Basqueeu
Batak Karobtx
Batak Simalungunbts
Batak Tobabbc
Belarusianbe
Bembabem
Bengalibn
Betawibew
Bhojpuribho
Bikolbik
Bosnianbs
Bretonbr
Bulgarianbg
Buryatbua
Cantoneseyue
Catalanca
Cebuanoceb
Chichewa (Nyanja)ny
Chinese (Simplified)zh-CN or zh 
Chinese (Traditional)zh-TW 
Chuvashcv
Corsicanco
Crimean Tatarcrh
Croatianhr
Czechcs
Danishda
Dinkadin
Divehidv
Dogridoi
Dombedov
Dutchnl
Dzongkhadz
Englishen
Esperantoeo
Estonianet
Eweee
Fijianfj
Filipino (Tagalog)fil or tl
Finnishfi
Frenchfr
French (French)fr-FR
French (Canadian)fr-CA
Frisianfy
Fulfuldeff
Gagaa
Galiciangl
Ganda (Luganda)lg
Georgianka
Germande
Greekel
Guaranign
Gujaratigu
Haitian Creoleht
Hakha Chincnh
Hausaha
Hawaiianhaw
Hebrewiw or he
Hiligaynonhil
Hindihi
Hmonghmn
Hungarianhu
Hunsrikhrx
Icelandicis
Igboig
Ilokoilo
Indonesianid
Irishga
Italianit
Japaneseja
Javanesejw or jv
Kannadakn
Kapampanganpam
Kazakhkk
Khmerkm
Kigacgg
Kinyarwandarw
Kitubaktu
Konkanigom
Koreanko
Kriokri
Kurdish (Kurmanji)ku
Kurdish (Sorani)ckb
Kyrgyzky
Laolo
Latgalianltg
Latinla
Latvianlv
Ligurianlij
Limburganli
Lingalaln
Lithuanianlt
Lombardlmo
Luoluo
Luxembourgishlb
Macedonianmk
Maithilimai
Makassarmak
Malagasymg
Malayms
Malay (Jawi)ms-Arab
Malayalamml
Maltesemt
Maorimi
Marathimr
Meadow Marichm
Meiteilon (Manipuri)mni-Mtei
Minangmin
Mizolus
Mongolianmn
Myanmar (Burmese)my
Ndebele (South)nr
Nepalbhasa (Newari)new
Nepaline
Northern Sotho (Sepedi)nso
Norwegianno
Nuernus
Occitanoc
Odia (Oriya)or
Oromoom
Pangasinanpag
Papiamentopap
Pashtops
Persianfa
Polishpl
Portuguesept
Portuguese (Portugal)pt-PT
Portuguese (Brazil)pt-BR
Punjabipa
Punjabi (Shahmukhi)pa-Arab
Quechuaqu
Romanirom
Romanianro
Rundirn
Russianru
Samoansm
Sangosg
Sanskritsa
Scots Gaelicgd
Serbiansr
Sesothost
Seychellois Creolecrs
Shanshn
Shonasn
Sicilianscn
Silesianszl
Sindhisd
Sinhala (Sinhalese)si
Slovaksk
Sloveniansl
Somaliso
Spanishes
Sundanesesu
Swahilisw
Swatiss
Swedishsv
Tajiktg
Tamilta
Tatartt
Telugute
Tetumtet
Thaith
Tigrinyati
Tsongats
Tswanatn
Turkishtr
Turkmentk
Twi (Akan)ak
Ukrainianuk
Urduur
Uyghurug
Uzbekuz
Vietnamesevi
Welshcy
Xhosaxh
Yiddishyi
Yorubayo
Yucatec Mayayua
Zuluzu

These functions can help you work with data in Google Sheets faster and more efficiently. Try them out in your projects and you may discover new ways to make your work easier!

Facebook Comments Box
Previous Article

IQ Option Review: Trade Stocks, Forex with a $10 Minimum Investment

Next Article

Get to know the basics of Web Hosting, easy to understand for beginners.