Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default Calculating a sum, exceptions for specific values

Utter newbie here so please forgive stupid questions.

I have a column with values that I would like to sum up, so far no
problem.

However, if someone enters a specific number, this cell is to be
ignored and excluded from the total sum.

Can this be done somehow?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,441
Default Calculating a sum, exceptions for specific values

RedBeard,

Array enter (Enter using Ctrl-Shift-Enter) a formula like

=SUM(IF(A1:A10<10,A1:A10))

where 10 is the value that you want ignored.

A non-array entered formula would be

=SUMPRODUCT((A1:A10<10)*A1:A10)


HTH,
Bernie
MS Excel MVP


"RedBeard" wrote in message
...
Utter newbie here so please forgive stupid questions.

I have a column with values that I would like to sum up, so far no
problem.

However, if someone enters a specific number, this cell is to be
ignored and excluded from the total sum.

Can this be done somehow?



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,441
Default Calculating a sum, exceptions for specific values

Duh! (smacking forehead)

And, of course,

=SUMIF(A1:A10,"<10")

HTH,
Bernie
MS Excel MVP


"RedBeard" wrote in message
...
Utter newbie here so please forgive stupid questions.

I have a column with values that I would like to sum up, so far no
problem.

However, if someone enters a specific number, this cell is to be
ignored and excluded from the total sum.

Can this be done somehow?



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 320
Default Calculating a sum, exceptions for specific values

If by specific number yuo mean 425, for example, then =SUMIF(A1:A100,"<425")
will do it. Is that what you mean?

"RedBeard" wrote:

Utter newbie here so please forgive stupid questions.

I have a column with values that I would like to sum up, so far no
problem.

However, if someone enters a specific number, this cell is to be
ignored and excluded from the total sum.

Can this be done somehow?
.

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default Calculating a sum, exceptions for specific values

On Nov 18, 5:26*pm, Bob Umlas, Excel MVP
wrote:
If by specific number yuo mean 425, for example, then =SUMIF(A1:A100,"<425")
will do it. Is that what you mean?

"RedBeard" wrote:
Utter newbie here so please forgive stupid questions.


I have a column with values that I would like to sum up, so far no
problem.


However, if someone enters a specific number, this cell is to be
ignored and excluded from the total sum.


Can this be done somehow?
.


Thank you both.
I didn't quite understand Bernie's reply and Bob's did what I wanted
it to, so I went with that.


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
calculate values in an unlimited range of cells in a column WITHOUTalso calculating values that had previously been filtered AGAINST? yadang Excel Discussion (Misc queries) 2 October 1st 09 06:18 PM
calculating sum and average values for specific days only Soccerboy83 Excel Discussion (Misc queries) 2 September 2nd 09 10:38 PM
Calculating Months within a specific period Sarah Excel Discussion (Misc queries) 6 October 18th 08 11:02 PM
Calculating for a specific date range Christy P Excel Worksheet Functions 3 April 20th 07 05:55 PM
CALCULATING A FORMULA TO USE A SPECIFIC CELL'S VALUES PaulH-Oz Excel Worksheet Functions 0 March 26th 06 11:50 PM


All times are GMT +1. The time now is 01:39 AM.

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"