Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default How can I add numbers such as 1.5R + 2.5R?

I am trying to add numbers that have alpha characters at the end. I have
tried nesting the SUM and IF functions using FREQUENCY for unique values but,
have been unsuccessful. Any suggestions please.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default How can I add numbers such as 1.5R + 2.5R?

You could use:

=VALUE(LEFT(A2,LEN(A2)-1))

to get the numbers (only) into another column, copy the formula down as
necessary, then sum this column, assuming your data is in column A and
there is only one character after the numerical part.

An alternative is to try wrapping this into an array* formula:

=SUM(VALUE(LEFT(A2:A100,LEN(A2:A100)-1)))

I have assumed a range of A2 to A100 - adjust to suit your data.

* As this is an array formula, then once you have typed it in (or
subsequently edit it), you must use CTRL-SHIFT-ENTER instead of just
ENTER to commit it. If you do this correctly, then Excel will wrap
curly braces { } around the formula when viewed in the formula bar -
you should not type these yourself.

Hope this helps.

Pete

worker wrote:
I am trying to add numbers that have alpha characters at the end. I have
tried nesting the SUM and IF functions using FREQUENCY for unique values but,
have been unsuccessful. Any suggestions please.


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
conditional formatting Lofty Excel Worksheet Functions 7 July 10th 06 09:06 PM
How to generate sets of random numbers without having duplicates William Excel Worksheet Functions 1 June 6th 06 05:30 AM
Why are 1/2 my numbers imported as text and the rest as numbers? KBear Excel Discussion (Misc queries) 2 April 21st 06 01:40 PM
How do I sort letters before numbers in Excel? RiverGirl Excel Discussion (Misc queries) 4 May 27th 05 04:09 PM
Sorting when some numbers have a text suffix confused on the tundra Excel Discussion (Misc queries) 5 December 18th 04 10:19 PM


All times are GMT +1. The time now is 09:29 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"