Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
dj dj is offline
external usenet poster
 
Posts: 92
Default Excluding numbers in a total

Is there a way to show a number in a column, yet not have it included in the
total?
The example would be to show how much an item would cost but strike it out
because that item is being included at no charge. This is for Excel 2000.

Thanks for any help.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Excluding numbers in a total

Let's say we have numbers in cells A1 thru A100. Say we want the sum, but
want to exclude A13. The formula to use is:


=SUM(A1:A12)+SUM(A14:A100)


--
Gary's Student


"dj" wrote:

Is there a way to show a number in a column, yet not have it included in the
total?
The example would be to show how much an item would cost but strike it out
because that item is being included at no charge. This is for Excel 2000.

Thanks for any help.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Excluding numbers in a total

=SUM(A1:A10)-A6


Gord Dibben MS Excel MVP

On Mon, 10 Jul 2006 16:18:02 -0700, dj wrote:

Is there a way to show a number in a column, yet not have it included in the
total?
The example would be to show how much an item would cost but strike it out
because that item is being included at no charge. This is for Excel 2000.

Thanks for any help.


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,124
Default Excluding numbers in a total

must be homework since asked already today.
=sum(a1:a21)-a10

--
Don Guillett
SalesAid Software

"dj" wrote in message
...
Is there a way to show a number in a column, yet not have it included in
the
total?
The example would be to show how much an item would cost but strike it out
because that item is being included at no charge. This is for Excel 2000.

Thanks for any help.



  #5   Report Post  
Posted to microsoft.public.excel.misc
dj dj is offline
external usenet poster
 
Posts: 92
Default Excluding numbers in a total

Thanks for this. The folks who are comfortable with Excel can deal with a
formula update.

What I was hoping for was someway to "code out" the individual number rather
than changing the formula. This is for a form that many people use and not
all of them are good with formulas.


"Gary''s Student" wrote:

Let's say we have numbers in cells A1 thru A100. Say we want the sum, but
want to exclude A13. The formula to use is:


=SUM(A1:A12)+SUM(A14:A100)


--
Gary's Student


"dj" wrote:

Is there a way to show a number in a column, yet not have it included in the
total?
The example would be to show how much an item would cost but strike it out
because that item is being included at no charge. This is for Excel 2000.

Thanks for any help.



  #6   Report Post  
Posted to microsoft.public.excel.misc
dj dj is offline
external usenet poster
 
Posts: 92
Default Excluding numbers in a total

Thanks, Gord.

As I replied to the first responder, this is for a form many people use and
not everyone is comfortable with formulas. I was hoping for a way to let the
number stand but "code it out" for those who don't want to tinker with the
formula. If not, so be it.

"Gord Dibben" wrote:

=SUM(A1:A10)-A6


Gord Dibben MS Excel MVP

On Mon, 10 Jul 2006 16:18:02 -0700, dj wrote:

Is there a way to show a number in a column, yet not have it included in the
total?
The example would be to show how much an item would cost but strike it out
because that item is being included at no charge. This is for Excel 2000.

Thanks for any help.



  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,572
Default Excluding numbers in a total

Use the SUM() function to total your numbers, then, when you're entering the
value that you don't want included, simply prefix that value with an
apostrophe.

The SUM() function will ignore this "Text" number and not add it.
The apostrophe is not visible in the cell, but can be seen in the formula
bar when that cell is selected.
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------

"dj" wrote in message
...
Thanks, Gord.

As I replied to the first responder, this is for a form many people use
and
not everyone is comfortable with formulas. I was hoping for a way to let
the
number stand but "code it out" for those who don't want to tinker with the
formula. If not, so be it.

"Gord Dibben" wrote:

=SUM(A1:A10)-A6


Gord Dibben MS Excel MVP

On Mon, 10 Jul 2006 16:18:02 -0700, dj
wrote:

Is there a way to show a number in a column, yet not have it included in
the
total?
The example would be to show how much an item would cost but strike it
out
because that item is being included at no charge. This is for Excel
2000.

Thanks for any help.




  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 103
Default Excluding numbers in a total

I would add a column with some value, I normally use "X". you could use Y
for yes, then use sumif to sum the column of prices when the other column has
a Y.

you can make this as complicated as you want, to sum "Y" for non-tax, "T"
for taxables, etc.


"Don Guillett" wrote:

must be homework since asked already today.
=sum(a1:a21)-a10

--
Don Guillett
SalesAid Software

"dj" wrote in message
...
Is there a way to show a number in a column, yet not have it included in
the
total?
The example would be to show how much an item would cost but strike it out
because that item is being included at no charge. This is for Excel 2000.

Thanks for any 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
I want the total in numbers to show not the formula lavonnejohnson Excel Discussion (Misc queries) 1 May 13th 06 03:54 PM
Averaging excluding min and max numbers n_gineer Excel Worksheet Functions 3 January 12th 06 03:32 PM
Adding numbers to a running total Elizabeth Free Excel Worksheet Functions 1 August 26th 05 11:27 PM
Checking Winning Numbers in the Lottery. Ann Excel Discussion (Misc queries) 4 May 18th 05 10:55 AM
Total a Combination of Numbers Erika Excel Worksheet Functions 1 April 19th 05 11:10 PM


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