Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,814
Default Ignore Text in Cells Referenced in a formula

I have a formula that sums the the products of two columns, A & B. Sometimes
I need to put a word in these cells instead of numbers and it renders the sum
invalid. Is there a way to get the formula to ignore it when there is text
in the cells?

Thanks!!!

Steve
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Ignore Text in Cells Referenced in a formula

Steve

Post your formula.

SUM should ignore text cells in a range.


Gord Dibben MS Excel MVP

On Thu, 19 Oct 2006 12:37:02 -0700, Steve
wrote:

I have a formula that sums the the products of two columns, A & B. Sometimes
I need to put a word in these cells instead of numbers and it renders the sum
invalid. Is there a way to get the formula to ignore it when there is text
in the cells?

Thanks!!!

Steve


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,814
Default Ignore Text in Cells Referenced in a formula

=((N29*P29)+(N30*P30)+(N31*P31)+(N32*P32)+(N33*P33 )+(N34*P34)+(N35*P35)+(N36*P36))/9

There is no range and I think I am SOL on this one unless you all can work
that juju you all do so well....

Thanks.

"Gord Dibben" wrote:

Steve

Post your formula.

SUM should ignore text cells in a range.


Gord Dibben MS Excel MVP

On Thu, 19 Oct 2006 12:37:02 -0700, Steve
wrote:

I have a formula that sums the the products of two columns, A & B. Sometimes
I need to put a word in these cells instead of numbers and it renders the sum
invalid. Is there a way to get the formula to ignore it when there is text
in the cells?

Thanks!!!

Steve



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Ignore Text in Cells Referenced in a formula

Steve

=SUMPRODUCT(N30:N36,P30:P36)/9


Gord

On Thu, 19 Oct 2006 13:18:02 -0700, Steve
wrote:

=((N29*P29)+(N30*P30)+(N31*P31)+(N32*P32)+(N33*P3 3)+(N34*P34)+(N35*P35)+(N36*P36))/9

There is no range and I think I am SOL on this one unless you all can work
that juju you all do so well....

Thanks.

"Gord Dibben" wrote:

Steve

Post your formula.

SUM should ignore text cells in a range.


Gord Dibben MS Excel MVP

On Thu, 19 Oct 2006 12:37:02 -0700, Steve
wrote:

I have a formula that sums the the products of two columns, A & B. Sometimes
I need to put a word in these cells instead of numbers and it renders the sum
invalid. Is there a way to get the formula to ignore it when there is text
in the cells?

Thanks!!!

Steve




Gord Dibben MS Excel MVP
  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,814
Default Ignore Text in Cells Referenced in a formula

I forgot completely about SUMPRODUCT!!! I'm an IDIOT!!

Thanks again, Gord!!

"Gord Dibben" wrote:

Steve

=SUMPRODUCT(N30:N36,P30:P36)/9


Gord

On Thu, 19 Oct 2006 13:18:02 -0700, Steve
wrote:

=((N29*P29)+(N30*P30)+(N31*P31)+(N32*P32)+(N33*P3 3)+(N34*P34)+(N35*P35)+(N36*P36))/9

There is no range and I think I am SOL on this one unless you all can work
that juju you all do so well....

Thanks.

"Gord Dibben" wrote:

Steve

Post your formula.

SUM should ignore text cells in a range.


Gord Dibben MS Excel MVP

On Thu, 19 Oct 2006 12:37:02 -0700, Steve
wrote:

I have a formula that sums the the products of two columns, A & B. Sometimes
I need to put a word in these cells instead of numbers and it renders the sum
invalid. Is there a way to get the formula to ignore it when there is text
in the cells?

Thanks!!!

Steve



Gord Dibben MS Excel MVP

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 do I count cells with text but ignore cells with spaces? Husker87 Excel Discussion (Misc queries) 2 September 21st 06 12:31 AM
how to make a formula ignore blank cells Snap Excel Worksheet Functions 6 June 8th 06 12:54 AM
Ignore Text for Formula JohnHill Excel Discussion (Misc queries) 2 April 26th 06 02:26 AM
Can I concatenate text in cells to make a working formula? Matt S. R. Excel Discussion (Misc queries) 11 November 11th 05 03:44 PM
Macro or Formula to remove Text from Cells smck Excel Worksheet Functions 6 May 11th 05 03:22 AM


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