Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 1
Default m2 behinde a number and I want to sum

5 m²
3 m²
7 m²
2 m²
2m²
12m²
How can I get the sum without clearing the m2 in the field?
  #2   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 4,393
Default m2 behinde a number and I want to sum

Let's say the first on in in A1
Insert a new column B
In B1 enter =--LEFT(A1,LEN(A1)-3); this will retunr the number 5 (if you
have 5 m² in A1)
Copy down the column and add
Now you have real numbers that can be added

For a permanent solution: after you have done the above
Select all the new B values and give them the custom format: 0 "m²"
Select all the B values and Copy, with them still selected use Edit | Paste
Special - Values to turn the formulas to numbers
Now you have real numbers that can be added
Now you can delete column A
best wishes
--
Bernard Liengme
http://people.stfx.ca/bliengme
Microsoft Excel MVP

"sas" wrote in message
...
5 m²
3 m²
7 m²
2 m²
2m²
12m²
How can I get the sum without clearing the m2 in the field?


  #3   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 2,722
Default m2 behinde a number and I want to sum

You need to first create a helper column to strip out the number. Something
like:
=VALUE(LEFT(A1,FIND(" ",A1)-1))

And then perform a summation of the helper column.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"sas" wrote:

5 m²
3 m²
7 m²
2 m²
2m²
12m²
How can I get the sum without clearing the m2 in the field?
.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I click on a telephone number in an Excel 2002 spreadsheet, and have the number dialed? jbclem Excel Discussion (Misc queries) 2 August 13th 09 01:57 AM
How to calculate number of occurencies of a specific number number Stefan Excel Discussion (Misc queries) 4 September 8th 08 08:33 AM
convert text-format number to number in excel 2000%3f Larry Excel Discussion (Misc queries) 1 July 29th 05 08:18 PM
Count number of times a specific number is displayed in a cell ran subs Excel Worksheet Functions 1 June 27th 05 05:01 PM
Rounding a number to a multiple quantity that adds to a fixed total number wjlo Excel Worksheet Functions 1 November 9th 04 04:43 PM


All times are GMT +1. The time now is 08:38 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"