askvity

How to Divide Multiple Cells by the Same Number in Google Sheets?

Published in Google Sheets Formulas 2 mins read

To divide multiple cells by the same number in Google Sheets, use the ARRAYFORMULA function along with basic division. Here's how:

Steps:

  1. Select a cell where you want the results to appear. This will be the top-left cell of your output range.

  2. Type the equal sign (=) to start a formula. Then, enter the ARRAYFORMULA function. The basic structure will look like this: =ARRAYFORMULA(

  3. Inside the ARRAYFORMULA parentheses, specify the range of cells you want to divide. For example, if you want to divide cells A1 through A10, you would write A1:A10.

  4. Add the division symbol (/) followed by the divisor (the number you want to divide by). For example, to divide by 2, you would write /2.

  5. Close the ARRAYFORMULA parentheses.) The complete formula should look something like this: =ARRAYFORMULA(A1:A10/2).

  6. Press Enter. Google Sheets will automatically apply the division to each cell in the specified range (A1:A10 in this example), and display the results in the corresponding cells starting from the cell where you entered the formula.

Example:

Let's say you want to divide the values in cells B1:B5 by the number 5.

  1. Select cell C1 (or any empty column where you want the results).
  2. Enter the following formula in C1: =ARRAYFORMULA(B1:B5/5)
  3. Press Enter.

The results of dividing each cell in the range B1:B5 by 5 will now appear in cells C1:C5.

Important Notes:

  • The ARRAYFORMULA function is crucial because it allows the division operation to be applied to the entire range of cells at once, instead of having to manually enter the formula for each cell.
  • Ensure the cells you're dividing contain numerical values. If a cell contains text, the formula will return an error.
  • The divisor can also be a cell reference. For example, if the divisor is in cell D1, the formula would be =ARRAYFORMULA(A1:A10/D1). This allows you to easily change the divisor without having to edit the formula itself.

Related Articles