How to Use the ROW function to mark every other row in Excel
Sometimes it is necessary to mark every other row in a worksheet. Several functions can be used in combination to do this. Use the MOD, ROW, and IF functions together as described below.
To mark every other row:
Select cells A1:A10 and type the following formula:=IF(MOD(ROW(),2),”XXX”,” “).
Press Ctrl+Enter.
Please note that If every other column has to be [...]
Modify the MOD function for divisors larger than the number
As seen in our previous example, a problem occurs when the divisor is larger than the number for which you want to find the remainder. The result will always be the number itself. To handle this using the MOD function, follow these steps.
Handling divisors that are larger than the number:
Select cells A2:A10 and enter 100.
Press [...]
How to Use the MOD function to extract the remainder of a division
This example contains the value 100 in cells A2:A10 and divisors in column B. The MOD function is used here to find the remainder of a division operation. The result has the same sign as the divisor. Here is the syntax that is used for the MOD Function:
MOD(number, divisor)
number: The number to find the remainder [...]
Use the POWER function to calculate the square and cube roots
To raise numbers to the power of another number, the POWER function is used. It can also be used to calculate the root. Here is the syntax that is used:
POWER(number, power)
number: The base number, which can be any real number.
power: The exponent.
Please note that the operator ^ can be used instead of POWER, so =POWER(3,2) [...]
Use the QUOTIENT function to return the integer portion of a division
The opposite of PRODUCT, which was used in our previous example, is QUOTIENT. This function calculates the integer portion of a division operation and discards the remainder. To use this function, you must first install and load the Analysis ToolPak add-in. Here is the syntax that is used:
QUOTIENT(numerator, denominator)
numerator: The dividend.
denominator: The divisor.
To calculate the [...]
How to Use the PRODUCT function to multiply conditional values
In this example, values are listed in columns A and B. Excel should calculate the product of each value in a row but only if both values exist. If one value is missing, the result is an empty cell, as shown in column C. To get the desired results, use the PRODUCT function in combination [...]
How to Use the PRODUCT function to multiply values in Excel
Normally values in a worksheet are multiplied with the * operator in formulas like =A1*B1. However, Excel also provides a useful function to do the same calculation. Use the PRODUCT function to multiply all the given numbers and return the product. Here is the syntax tha is used:
PRODUCT(number1, number2, …)
number1, number2, …: From 1 to [...]
Use the FLOOR function to round down values to the nearest 100
As seen in our previous article, it is easy to round up values to multiples of 100. To round numbers down to the nearest multiple of significance, use the FLOOR function. Here is the syntax that is used:
FLOOR(number, significance)
number: The value to be rounded.
significance: The multiple to which the number will be rounded down.
To round [...]
How to Use the CEILING function to round up values to the nearest 100
For this example, all prices have to be rounded up to whole $100 units. To do this, you use the CEILING function. This function returns a number that is rounded up to the nearest multiple of significance.
CEILING(number, significance)
number: The value to be rounded.
significance: The multiple to which the number will be rounded up.
To round up [...]
Use the MROUND function to round values to the nearest multiple of 10 or 50
Sometimes it is necessary to round up values to the nearest multiple of 10 or 50. To perform this task, use the MROUND function from the Analysis ToolPak add-in. MROUND returns a number rounded to the desired specified multiple.
To round values to the nearest multiple of 10 or 50:
In cells A2:A10 list any kind of [...]