PC Review


Reply
Thread Tools Rate Thread

How can I add numbers such as 1.5R + 2.5R?

 
 
=?Utf-8?B?d29ya2Vy?=
Guest
Posts: n/a
 
      14th Sep 2006
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 With Quote
 
 
 
 
Pete_UK
Guest
Posts: n/a
 
      14th Sep 2006
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 With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert numbers stored as text to numbers errors after loading data in jobs Microsoft Excel Programming 2 28th Mar 2007 02:57 AM
Need to reconcile numbers accounting Harlan Grove code doesn't work for negative numbers aep002@cox.net Microsoft Excel Programming 1 28th Jul 2006 07:09 AM
Help! How do you get excel to find the x(changes daily, marked in a cell from another formula) highest numbers in a group of numbers and sum them up? C-Man23 Microsoft Excel Worksheet Functions 3 19th Jan 2006 09:52 AM
Help! How do you get excel to find the x(changes daily, marked in a cell from another formula) highest numbers in a group of numbers and sum them up? C-Man23 Microsoft Excel Worksheet Functions 1 9th Jan 2006 01:23 PM
Change positive numbers (debits) to negative numbers (credits) =?Utf-8?B?Q2FybGEgR2lsbGVzcw==?= Microsoft Access VBA Modules 4 17th Dec 2004 06:50 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:11 PM.