![]() |
what is the role of *.
if((X)*(Y),A,B); what is the role of *.
|
what is the role of *.
On Jul 31, 10:36*pm, Shree wrote:
if((X)*(Y),A,B); what is the role of *. Multiply. You can find an explanation of Excel operators by looking at the Help page for "About calculation operators". If you truly do not understand what "*" means in this context, you would benefit from a book on the basics of Excel. However, I wonder if your real question is: how can X*Y result in true or false? The answer is: if(X*Y,...) is shorthand for if(X*Y < 0,...). Zero is considered FALSE, and nonzero is considered TRUE. |
what is the role of *.
Hi
* is multiply operator. The formula says, that when X*X<0, then A, otherwise B -- Arvi Laanemets ( My real mail address: arvi.laanemets<attarkon.ee ) "Shree" wrote in message ... if((X)*(Y),A,B); what is the role of *. |
what is the role of *.
Sorry about typo!
The formula says, that when X*Y<0, then A, otherwise B |
what is the role of *.
While it is true that it will return AND and OR (*+) they are still
multiplying and adding For instance (A1:A10="x")*(B1:B10="y") let's say A1, A3 and A10 have x in them and B3 and B10 have y that will give you ({TRUE;FALSE;TRUE;FALSE;FALSE;FALSE;FALSE;FALSE;FA LSE;TRUE})*({FALSE;FALSE;TRUE;FALSE;FALSE;FALSE;FA LSE;FALSE;FALSE;TRUE}) and Boolean values when calculated will return 1 for TRUE and 0 for FALSE so the above will return {0;0;1;0;0;0;0;0;0;1} when summed through either SUM or SUMPRODUCT it will return 2. So while one can say it returns the answer that AND would give if it was applicable it still does multiplication -- Regards, Peo Sjoblom "Spiky" wrote in message ... On Aug 1, 12:36 am, Shree wrote: if((X)*(Y),A,B); what is the role of *. Multiply is the obvious answer, but there is another way to put it in complicated formulas, esp array formulas. It probably means the same as AND in your formula. Assuming X is a calculation of some sort in itself, same for Y. * = AND + = OR |
All times are GMT +1. The time now is 01:14 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com