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 adding numbers that contain ranges

I would like to add a column of numbers, but some of the cells contain a
range ($800 - $1000) in them. Is there a formula / function, or do I need to
split up the ranges.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default adding numbers that contain ranges

What number would be added in that instance?

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Fyrfytr" wrote in message
...
I would like to add a column of numbers, but some of the cells contain a
range ($800 - $1000) in them. Is there a formula / function, or do I need

to
split up the ranges.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default adding numbers that contain ranges

I would like to add a cell containing "$300" with a cell containing
"$800-$1000" and have the cell containing the "sum" function show
"$1100-$1400". Is this possible?

"Bob Phillips" wrote:

What number would be added in that instance?

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Fyrfytr" wrote in message
...
I would like to add a column of numbers, but some of the cells contain a
range ($800 - $1000) in them. Is there a formula / function, or do I need

to
split up the ranges.




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default adding numbers that contain ranges

Try this solution

=SUM(A:A,IF(ISNUMBER(FIND("-",A1:A100)),--LEFT(A1:A100,FIND("-",A1:A100)-1))
)&"-"&
SUM(A:A,IF(ISNUMBER(FIND("-",A1:A100)),--MID(A1:A100,FIND("-",A1:A100)+1,15)
))

which is an array formula, it should be committed with Ctrl-Shift-Enter, not
just Enter.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Fyrfytr" wrote in message
...
I would like to add a cell containing "$300" with a cell containing
"$800-$1000" and have the cell containing the "sum" function show
"$1100-$1400". Is this possible?

"Bob Phillips" wrote:

What number would be added in that instance?

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Fyrfytr" wrote in message
...
I would like to add a column of numbers, but some of the cells contain

a
range ($800 - $1000) in them. Is there a formula / function, or do I

need
to
split up the ranges.






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
adding hexadecimal numbers Dave New Users to Excel 3 February 10th 06 08:46 AM
Adding a prefix to all numbers in a column. Randy Excel Discussion (Misc queries) 2 February 5th 06 08:11 AM
Adding numbers in one cell and showing total in seperate cell Deernad Construction Excel Discussion (Misc queries) 12 November 29th 05 07:32 PM
adding cells with text and numbers Tat Excel Discussion (Misc queries) 1 June 22nd 05 03:01 AM
Adding more than 30 numbers in a column CLR Excel Worksheet Functions 12 February 20th 05 08:05 PM


All times are GMT +1. The time now is 05:09 PM.

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

About Us

"It's about Microsoft Excel"