Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default subtracting ranges

In cell p94, I tried the formula =sum(d94:e94)-sum(f94:o94) and it does not
give me an answer in p94; can anyone help?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default subtracting ranges

Probably you have text numbers in the 2 ranges, that's why
Try a: +0 (add a zero) to coerce it to real numbers
In P94, array-enter, ie press CTRL+SHIFT+ENTER to confirm the formula:
=SUM(D94:E94+0)-SUM(F94:O94+0)
Success? hit the yes below
--
Max
Singapore
---
"blnprescott" wrote:
In cell p94, I tried the formula =sum(d94:e94)-sum(f94:o94) and it does not
give me an answer in p94; can anyone help?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,836
Default subtracting ranges

Probably what Max said. You can see what the data is by using these simple
functions:
=istext(p94)
If result = TRUE, this is text

=isnumber(p94)
If result = TRUE, this is a number

Looks like you are already using =istext() so you are probably aware of this
little trick.


--
Ryan---
If this information was helpful, please indicate this by clicking ''Yes''.


"Max" wrote:

Probably you have text numbers in the 2 ranges, that's why
Try a: +0 (add a zero) to coerce it to real numbers
In P94, array-enter, ie press CTRL+SHIFT+ENTER to confirm the formula:
=SUM(D94:E94+0)-SUM(F94:O94+0)
Success? hit the yes below
--
Max
Singapore
---
"blnprescott" wrote:
In cell p94, I tried the formula =sum(d94:e94)-sum(f94:o94) and it does not
give me an answer in p94; can anyone help?

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 copy formula that contains ranges so ranges do not overlap Patty Excel Worksheet Functions 1 November 20th 08 04:15 PM
Subtracting daizee Excel Discussion (Misc queries) 2 January 3rd 08 11:03 AM
Subtracting petrino Charts and Charting in Excel 2 January 9th 07 08:56 AM
Subtracting Josh Davis Excel Discussion (Misc queries) 3 June 16th 06 06:54 PM
Subtracting One Sum From Another R. U. Sirius New Users to Excel 3 September 27th 05 06:47 PM


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