ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Ignore Text in Cells Referenced in a formula (https://www.excelbanter.com/excel-discussion-misc-queries/115226-ignore-text-cells-referenced-formula.html)

Steve

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

Gord Dibben

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



Steve

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




Gord Dibben

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

Steve

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



All times are GMT +1. The time now is 03:10 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com