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 Excel - Ignoring the contents of cells when there are letters in thecell

When using MS Works I can enter letters and numbers in a cell and the total of the cells in a row will be calculated correctly(for my particular requirement) by ignoring anyone of the cells in the row which has letters and numbers together. All the cells are formated as 'General'.

When I try to do this task in Excel it gives an error in the result cell.
Note that any cell may have a mixture of letters and cells.
Any help would be appreciated.

Thank you
James


Submitted via EggHeadCafe - Software Developer Portal of Choice
Bing Search RSS with Silverlight 3 RIA Domain Service
http://www.eggheadcafe.com/tutorials...with-silv.aspx
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Excel - Ignoring the contents of cells when there are letters in the cell

Use the SUM function.

=SUM(A1:A3)

Instead of doing this:

=A1+A2+A3

The SUM function will ignore any cells that contain text.

--
Biff
Microsoft Excel MVP


<James McErlain wrote in message ...
When using MS Works I can enter letters and numbers in a cell and the
total of the cells in a row will be calculated correctly(for my particular
requirement) by ignoring anyone of the cells in the row which has letters
and numbers together. All the cells are formated as 'General'.

When I try to do this task in Excel it gives an error in the result cell.
Note that any cell may have a mixture of letters and cells.
Any help would be appreciated.

Thank you
James


Submitted via EggHeadCafe - Software Developer Portal of Choice
Bing Search RSS with Silverlight 3 RIA Domain Service
http://www.eggheadcafe.com/tutorials...with-silv.aspx



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default Excel - Ignoring the contents of cells when there are letters in t

If A1 thru A3 contain:

1
junk
3

then =A1+A2+A3 will show an error
however =SUM(A1:A3) will show 4
This is because the SUM() function ignores text.
--
Gary''s Student - gsnu200909


"James McErlain" wrote:

When using MS Works I can enter letters and numbers in a cell and the total of the cells in a row will be calculated correctly(for my particular requirement) by ignoring anyone of the cells in the row which has letters and numbers together. All the cells are formated as 'General'.

When I try to do this task in Excel it gives an error in the result cell.
Note that any cell may have a mixture of letters and cells.
Any help would be appreciated.

Thank you
James


Submitted via EggHeadCafe - Software Developer Portal of Choice
Bing Search RSS with Silverlight 3 RIA Domain Service
http://www.eggheadcafe.com/tutorials...with-silv.aspx
.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default Excel - Ignoring the contents of cells when there are letters in the cell

SUM function ignores text cells.

ab123 is text

123 is a number

=SUM(A1:A10) will sum cells with numbers only.


Gord Dibben MS Excel MVP

On Wed, 20 Jan 2010 11:01:04 -0800, James McErlain wrote:

When using MS Works I can enter letters and numbers in a cell and the total of the cells in a row will be calculated correctly(for my particular requirement) by ignoring anyone of the cells in the row which has letters and numbers together. All the cells are formated as 'General'.

When I try to do this task in Excel it gives an error in the result cell.
Note that any cell may have a mixture of letters and cells.
Any help would be appreciated.

Thank you
James


Submitted via EggHeadCafe - Software Developer Portal of Choice
Bing Search RSS with Silverlight 3 RIA Domain Service
http://www.eggheadcafe.com/tutorials...with-silv.aspx


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
Need to sort part numbers, sometimes ignoring leading letters SDP Excel Discussion (Misc queries) 8 August 19th 09 04:18 PM
Excel - Geomean - Ignoring Empty Cells NC2A'DAM Excel Worksheet Functions 13 November 26th 08 03:57 PM
Ignoring a cell contents Smitty[_2_] Excel Discussion (Misc queries) 4 November 25th 08 04:11 PM
sort a range of numbers ignoring preceding letters j0hnt52 Excel Discussion (Misc queries) 1 April 17th 06 04:04 AM
Ignoring letters behind numbers jeremy via OfficeKB.com Excel Worksheet Functions 4 June 8th 05 08:28 PM


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