A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Simple calculation where values change to letters?



 
 
Thread Tools Display Modes
  #1  
Old May 3rd, 2010, 08:45 PM posted to microsoft.public.excel.worksheet.functions
Zuo
external usenet poster
 
Posts: 24
Default Simple calculation where values change to letters?

I have a simple formula (A1*B1*C1)/((A1*B1*C1)+(D1*E1*F1)+(G1*H1*I1)).
However there are times when the values of D through F or the G through I
denominators can change into letters (if D changes to a letter so do E and
F, same happens to H and I if G changes to a letter). I need the formula to
complete the calculation by assuming any value that becomes a letter as zero.


Thanks for your help.

Regards,

ZUO
  #2  
Old May 3rd, 2010, 09:29 PM posted to microsoft.public.excel.worksheet.functions
Luke M[_4_]
external usenet poster
 
Posts: 451
Default Simple calculation where values change to letters?

Try this:
=PRODUCT(A1:C1)/SUM(PRODUCT(A1:C1),PRODUCT(D1:F1),PRODUCT(G1:I1))

PRODUCT and SUM both ignore text inputs.

--
Best Regards,

Luke M
"Zuo" wrote in message
...
I have a simple formula (A1*B1*C1)/((A1*B1*C1)+(D1*E1*F1)+(G1*H1*I1)).
However there are times when the values of D through F or the G through I
denominators can change into letters (if D changes to a letter so do E
and
F, same happens to H and I if G changes to a letter). I need the formula
to
complete the calculation by assuming any value that becomes a letter as
zero.


Thanks for your help.

Regards,

ZUO



  #3  
Old May 3rd, 2010, 09:36 PM posted to microsoft.public.excel.worksheet.functions
Joe User[_2_]
external usenet poster
 
Posts: 757
Default Simple calculation where values change to letters?

"Luke M" wrote:
PRODUCT and SUM both ignore text inputs.


Which is what I would want. And that might indeed be what Zuo really wants.

But I hasten to point out that PRODUCT(A1:C1), for example, is not the same
as "assuming any value that becomes a letter as zero".

If only B1 is non-numeric, for example, PRODUCT(A1:C1) will effectively
become A1*C1, whereas what Zuo asked for is effectively A1*0*C1, which is
zero.

Presumably Zuo misspoke.


----- original message -----

"Luke M" wrote in message
...
Try this:
=PRODUCT(A1:C1)/SUM(PRODUCT(A1:C1),PRODUCT(D1:F1),PRODUCT(G1:I1))

PRODUCT and SUM both ignore text inputs.

--
Best Regards,

Luke M
"Zuo" wrote in message
...
I have a simple formula (A1*B1*C1)/((A1*B1*C1)+(D1*E1*F1)+(G1*H1*I1)).
However there are times when the values of D through F or the G through I
denominators can change into letters (if D changes to a letter so do E
and
F, same happens to H and I if G changes to a letter). I need the formula
to
complete the calculation by assuming any value that becomes a letter as
zero.


Thanks for your help.

Regards,

ZUO




  #4  
Old May 3rd, 2010, 11:48 PM posted to microsoft.public.excel.worksheet.functions
Zuo
external usenet poster
 
Posts: 24
Default Simple calculation where values change to letters?

Joe,

No, actually the three values always become letters at the same time, so you
will be adding a zero not multiplying x zero. Luke's solution works for what
I need. Thank you both for taking the time to look into this.

Kind Regards,

ZUO

"Joe User" wrote:

"Luke M" wrote:
PRODUCT and SUM both ignore text inputs.


Which is what I would want. And that might indeed be what Zuo really wants.

But I hasten to point out that PRODUCT(A1:C1), for example, is not the same
as "assuming any value that becomes a letter as zero".

If only B1 is non-numeric, for example, PRODUCT(A1:C1) will effectively
become A1*C1, whereas what Zuo asked for is effectively A1*0*C1, which is
zero.

Presumably Zuo misspoke.


----- original message -----

"Luke M" wrote in message
...
Try this:
=PRODUCT(A1:C1)/SUM(PRODUCT(A1:C1),PRODUCT(D1:F1),PRODUCT(G1:I1))

PRODUCT and SUM both ignore text inputs.

--
Best Regards,

Luke M
"Zuo" wrote in message
...
I have a simple formula (A1*B1*C1)/((A1*B1*C1)+(D1*E1*F1)+(G1*H1*I1)).
However there are times when the values of D through F or the G through I
denominators can change into letters (if D changes to a letter so do E
and
F, same happens to H and I if G changes to a letter). I need the formula
to
complete the calculation by assuming any value that becomes a letter as
zero.


Thanks for your help.

Regards,

ZUO




.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 01:35 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.