Featured post

Trick to get the sum row wise or column wise

    Row-wise or Column-wise Sum Using a Shortcut: Select the range of numbers in the table that you want to sum (either a column or a row, or even multiple columns or rows). Press the Alt key on your keyboard. After pressing Alt , press the +   = key . This is the AutoSum shortcut. If you're summing a column , Excel will automatically fill the cell directly below the selected range with the sum of that column. If you're summing a row , Excel will automatically fill the cell directly to the right of the selected range with the sum of that row.   The AutoSum feature ( Alt + = ) automatically sums numbers in a contiguous range of cells.    

How to find sum of numbers with units in a range in Excel?

 How to find sum of numbers with units in a range in Excel?

In Excel, you can use a formula to handle this task.

Select a blank cell, and type this formula =SUM(SUBSTITUTE(B1:B7, "kg", "") + 0) into it, and then press Shift + Ctrl + Enter keys simultaneously to get the correct result. OR USE THIS  FORMULA  SELECT A BLANK CELL AND TYPE THIS FORMULA=SUM(--LEFT(B1:B7,2)) USE CTL+SHIFT+ENTER.


A                            B

APPLE

20KG

PEAR

30KG

MANGO

10KG

BANANA

11KG

GRAPES

50KG

ORANGE

22KG

POTATO

30KG

 

173

=SUM(--LEFT(B1:B7,2)) USE CTL+SHIFT+ENTER

Tip: in above formula, B1:B7 is the numbers with units you want to sum up, kg is the unit in the data range, and all the numbers must be with the same unit!

Here B is the cell address.   

scan for more------

Comments

POPULAR POSTS

essential BAsic excel formulas a quick guide

Some important tips to learn MS Word

Insert Serial Numbers in Roman Numerals, Alphabets, and Numbers in Excel

Rearrange columns in excel sheet using a quick trick

TIPS TO INSERT A SERIAL NUMBER IN AN EXCEL SHEET