#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 9
Default Sums

Is there any way of only working out a sum in the boxes that are used and
discluding the boxes that haven't been used. For example i have a worksheet
which includes a column for discounts but it is not always used. Is there any
way it can recognise which cells have been used and only work out the sum
using those cells? Sorry if i dont make sense!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 896
Default Sums

one way:

=SUM(IF(ISEMPTY(A1:A100),0,A1:A100))

this is an array-formula so CTRL+SHIFT+ENTER it instead of simply
using ENTER


On 11 Gru, 13:24, Jemma wrote:
Is there any way of only working out a sum in the boxes that are used and
discluding the boxes that haven't been used. For example i have a worksheet
which includes a column for discounts but it is not always used. Is there any
way it can recognise which cells have been used and only work out the sum
using those cells? Sorry if i dont make sense!


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,651
Default Sums

On Thu, 11 Dec 2008 04:24:05 -0800, Jemma
wrote:

Is there any way of only working out a sum in the boxes that are used and
discluding the boxes that haven't been used. For example i have a worksheet
which includes a column for discounts but it is not always used. Is there any
way it can recognise which cells have been used and only work out the sum
using those cells? Sorry if i dont make sense!


If the cells "aren't being used", would they not be empty? In that case, the
SUM function will ignore them (as would the addition operator).
--ron
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,651
Default Sums

On Thu, 11 Dec 2008 04:43:16 -0800 (PST), Jarek Kujawa
wrote:

one way:

=SUM(IF(ISEMPTY(A1:A100),0,A1:A100))

this is an array-formula so CTRL+SHIFT+ENTER it instead of simply
using ENTER



How would the result of this differ from the normally entered:

=sum(a1:a100)

???
--ron
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 896
Default Sums

I understood tha the OP only looks for the minimum non-empty cells
if there are empty cells the minimum would '0', or it wouldn't?

On 11 Gru, 14:23, Ron Rosenfeld wrote:
On Thu, 11 Dec 2008 04:43:16 -0800 (PST), Jarek Kujawa
wrote:

one way:


=SUM(IF(ISEMPTY(A1:A100),0,A1:A100))


this is an array-formula so CTRL+SHIFT+ENTER it instead of simply
using ENTER


How would the result of this differ from the normally entered:

* * * * =sum(a1:a100)

???
--ron




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 896
Default Sums

ooops, sorry
I meant to put this answer in a different thread


On 11 Gru, 18:21, Jarek Kujawa wrote:
I understood tha the OP only looks for the minimum non-empty cells
if there are empty cells the minimum would '0', or it wouldn't?

On 11 Gru, 14:23, Ron Rosenfeld wrote:



On Thu, 11 Dec 2008 04:43:16 -0800 (PST), Jarek Kujawa
wrote:


one way:


=SUM(IF(ISEMPTY(A1:A100),0,A1:A100))


this is an array-formula so CTRL+SHIFT+ENTER it instead of simply
using ENTER


How would the result of this differ from the normally entered:


* * * * =sum(a1:a100)


???
--ron- Ukryj cytowany tekst -


- Pokaż cytowany tekst -


  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,651
Default Sums

On Thu, 11 Dec 2008 09:21:17 -0800 (PST), Jarek Kujawa
wrote:

I understood tha the OP only looks for the minimum non-empty cells
if there are empty cells the minimum would '0', or it wouldn't?



I interpreted his request as looking for the SUM of the unused cells:

"Is there any
"way it can recognize which cells have been used and only work out the sum
"using those cells?
--ron
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
Max sums RPFD531 Excel Discussion (Misc queries) 1 February 24th 08 03:45 AM
SUMS Pascale Excel Discussion (Misc queries) 2 January 9th 08 07:55 PM
How to add previous sums in a column to current sums in a column? TD Excel Worksheet Functions 1 September 30th 06 02:55 PM
Sums cosmos5955 Excel Discussion (Misc queries) 1 March 30th 06 09:42 PM
Sums Jet Excel Discussion (Misc queries) 5 January 13th 05 06:51 PM


All times are GMT +1. The time now is 12:37 AM.

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"