Google Sheets: everyday formulas examples

Spreadsheets offer a great platform to manage data tables. But are there any easy Google Sheets functions for daily calculations? Find out below.

Google Sheets SUM function

I believe the most required operation in tables is to find the total sum of different values. The first thing that comes to mind is to add every single cell of interest:


But this formula will become extremely time-consuming if there are too many cells to take into account.

The proper way to add cells is to use a special Google Sheets function – SUM – that lists all cells automatically using commas:


If the range consists of adjacent cells, simply indicate its first and last cells even if there are blank ones somewhere between. Thus, you'll avoid enumerating each and every cell in Google Sheets SUM formula.

Tip. Another way to add SUM is to select the column with numbers and pick SUM under the Formulas icon:
Sum values quickly with the corresponding option from the menu.

The result will be inserted to a cell right below the selected range.

Tip. Our Power Tools has an AutoSum feature. One click – and your active cell will return the sum of values from the entire column above.

Let me complicate the task. I want to add numbers from different data ranges on multiple sheets, for example, A4:A8 from Sheet1 and B4:B7 from Sheet2. And I want to sum them in a single cell:


As you can see, I just added one more sheet into Google Sheets SUM formula and separated two different ranges by a comma.

Percentage formulas

I often hear people ask about finding the percentage of different totals. This is usually calculated by the Google Sheets percentage formula like this:


The same also works whenever you need to check what part this or that number represents of the total:


Tip. Master percentage of a total, total & amount by percent, its increase & decrease in this tutorial.

In my table where I keep records of all sales for the past 10 days, I can calculate the percentage of each sale from the total sales.

First, I go to E12 and find total sales:


Then, I check what part the first day sales constitutes of the total in F2:


I recommend to make a few adjustments as well:

  1. Turn E2 to an absolute reference$E$12 – to make sure you divide each day's sale by the same total.
  2. Apply the percent number format to cells in column F.
  3. Copy the formula from F2 to all cells below – up to F11.

Tip. To copy the formula, use one of the ways I mentioned earlier.

Find the percentage of total sales.

Tip. To make sure your calculations are correct, enter the below one to F12:


If it returns 100% – everything's correct.
If the sum equals 100% – the calculations are correct.

Why do I recommend using the percentage format?

Well, on one hand, to avoid multiplying each result by 100 if you'd like to get percents. On the other, to avoid dividing the results to 100 if you want to use them for any further non-percent math operations.

Here's what I mean:
Using percent number format in calculations.

I use the percentage number format in cells C4, B10, and B15. All Google Sheets formulas that reference these cells are much easier. I don't have to divide by 100 or add the percent symbol (%) to formulas in C10 and C15.

The same cannot be said about C8, C9, and C14. I must make these extra adjustments to get the correct result.

Array formulas

To work with loads of data in Google Sheets, nested functions and other more complicated calculations are used as a rule. Array formulas are there in Google Sheets for that purpose as well.

For instance, I have a table of sales per client. I'm curious to find the maximum sale of milk chocolate to Smith to check if I can give him an extra discount next time. I use the next array formula in E18:

=ArrayFormula(MAX(IF(($B$2:$B$13="Smith")*($C$2:$C$13="Milk Chocolate"),$E$2:$E$13,"")))

Note. To finish any array formula in Google Sheets, press Ctrl+Shift+Enter rather than simply Enter.

Using array formulas in Google Sheets.

I've got $259 as a result.

My first array formula in E16 returns the maximum purchase made by Smith – $366:


E17 show the maximum money spent for milk chocolate – $518:

=ArrayFormula(MAX(IF(($C$2:$C$13="Milk Chocolate"),$E$2:$E$13)))

Now, I'm going to replace all values used in Google Sheets formulas with their cell references:
Using cell references in array formulas.

Have you noticed what has changed?


Here's what I had before:

=ArrayFormula(MAX(IF(($B$2:$B$13="Smith")*($C$2:$C$13="Milk Chocolate"),$E$2:$E$13,"")))

Just like that, juggling with values in cells you reference you can quickly get different results based on different conditions without changing the formula itself.

Google Sheets formulas for daily use

Let's have a look at a few more functions and formulas examples handy for every-day use.

Example 1

Suppose your data is written partly as numbers and partly as text: 300 euros, total – 400 dollars. But you need to extract numbers only.

I know just a function for that:

=REGEXEXTRACT(text, regular_expression)

It pulls the text by mask with a regular expression.

  • text – it can be cell reference or any text in double quotes.
  • regular_expression – your text mask. Also in double quotes. It lets you create almost any text scheme possible.

The text in my case is a cell with a data (A2). And I use this regular expression: [0-9]+

It means that I'm looking for any quantity (+) of numbers from 0 to 9 ([0-9]) written one after another:
Formulas to extract numbers from cells.

If numbers has fractions, the regular expression will look like this:

"[0-9]*\.[0-9]+[0-9]+" for numbers with two decimal places

"[0-9]*\.[0-9]+" for numbers with one decimal place

Note. Google Sheets sees the extracted values as text. You need to convert them to numbers with the VALUE function or with our Convert tool.

Example 2 – concatenate text with a formula

Formulas within the text help getting a neatly looking row with some totals – numbers with their short descriptions.

I'm going to create such rows in lines 14 and 15. To start with, I merge cells in those rows via Format > Merge cells and then count the sum for column E:


Then I put the text I'd like to have as a description to double quotes and combine it with the formula using an ampersand:

="Total chocolate sales: "&SUM(E2:E13)&" dollars"
Join formula and text together in one cell.

To make my numbers decimals, I use the TEXT function and set the format: "#,##0"

Another way is to use Google Sheets CONCATENATE function, like I used in A15:

=CONCATENATE("Total discount for customers: ",TEXT(SUM(F2:F13),"#.##")," dollars")

Example 3

What if you upload the data from somewhere and all numbers appear with spaces, like 8 544 instead of 8544? Google Sheets will return these as text, you know.

Here's how to turn these values written as text to "normal numbers":

=VALUE(SUBSTITUTE("8 544"," ",""))



where A2 contains 8 544.

How does it work? The SUBSTITUTE function replaces all spaces in the text (check the second argument – there's space in double-quotes) with an "empty string" (the third argument). Then, VALUE converts text to numbers.

Example 4

There are some Google Sheets functions that help manipulate text in your spreadsheets, for instance, change the case to sentence case. If you have something strange like soURcE dAtA, you can get Source data instead:
Change case using formulas in Google Sheets.

Let me explain that in detail. I take the first character in a cell:


and switch it to the upper case:


Then I take the remaining text:


and force it into lower case:


Lastly, I bring all pieces of the formula together with an ampersand:


Tip. You can switch between cases in a click with the corresponding utility from our Power Tools.

Of course, there's much more Google Sheets has to offer. Don't be afraid of different complex formulas – just try and experiment. After all, these toolsets let us solve many different tasks. Good luck! :)

Table of contents


  1. I need a function or formula that will add a certain amount of money to the amount that is already in the cell daily and automatically so that I know how much someone owes me daily. It would be $0.10 added daily.

    • Hello Les,

      If you want to change the amount in the same cell where it's written, you need to use Google Apps Script. You will find a lot of helpful content and links here:

      If you're okay with having the result in a neighboring cell, you can try this formula (assuming your amount in A2):

  2. hi
    following there are 3 coulumn "A B C,,

    A B C Gohan 2501 Giyan 2500 Giyan 908 Gohan 9801 Lisa 9802 Lisa 9803 Lisa 9864 Lisa 9834 Gohan 9805 Gohan 9806

    condition is going to very complicated
    I need "max" value of (C) column, where B=Lisa
    but i need lisa ---> unique links -->, so should be dispaly this value, sum range--> 9802 + 9803=19605,
    i know it could be possible with Maxif formula but there are thousand of links where so many duplicates values, i just need to find max value from sum range of uniquelinks,
    is there any formula who automatically select sum of (Column C) from each unique links which is Group by Lisa,
    formula should be consider sum of every unique (links) value and find max value,
    lisa----> unique ---> 9864
    lisa----> unique ---> 9834
    Lisa---->unique--> 9802 + 9803=19605,
    so the max value is 19605,,, how it could be display with max formula condition with these condition

    • Hi Saha,

      I'm sorry, I don't understand why in your example you sum 9802 & 9803 if the link for those numbers appears twice (it's not unique). If I'm missing something, please try to explain it in more detail.

      • suppose here-- > repeated twice where = 9864 and = 9803, here two Amount (9864 &9803) Raised in same link ---->
        (Both amount (9864 &9803) Raised on diffrent days so its shown twice entry in excell sheet )
        means total Sum Amount of Rs.19605 Raised in this link " "
        there are many links are Shown as twice&thrice or four time because Amount Raised on diffrent days, or from diffrent person,

        so i just need a formula where it should be Calculate cumulative Value of (sum of raised amount) each unique links, it shoulbe be show all unique link with sum of each Raised Amount, =19605 (two times Amount raised in this link) =3300 (three time Amount raised in this link) = 4404

        and find
        max value i.e (19605) from the all unique links,,

        (sorry , please avoide my all grammer mistake, cause i'm useless and i dont know how to write and speak english)

        • Thank you, Saha.

          Here's a formula for you:
          =QUERY({QUERY({A1:C11},"select Col1, Col2, SUM(Col3) group by Col1,Col2")},"select Max(Col3) label Max(Col3) ''",0)

          But I should mention that it's for Google Sheets (as is the blog post). In your second comment, you mentioned that you have an Excel sheet. If so, please specify because this formula is for Google Sheets only.

  3. Dear Sir,

    Please tell me your YOUTUBE Chanel Name

  4. i have 34 excel sheet in a file and have same colomn and heading and want to merge data in one sheet

  5. how to micro run in google sheet?
    how to connect excel sheet to google sheet automatically update.

Post a comment

Thank you for your comment!
When posting a question, please be very clear and concise. This will help us provide a quick and relevant solution to
your query. We cannot guarantee that we will answer every question, but we'll do our best :)