ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   CSE Formula (https://www.excelbanter.com/excel-worksheet-functions/95080-cse-formula.html)

gregory

CSE Formula
 
In creating a CSE formula the asterisk is used for AND... for example:
sum(if((Code="test")*(Acct="Recon"),Amount)), where Code, Acct and Amount
are ranges.

What sign is used for OR? What I'm trying to do is sum the values in the
"Amount" range if Code="test" OR Code="live" AND Acct="Recon"

Thanks,

gregory

Don Guillett

CSE Formula
 
try
code={"test","live"}

--
Don Guillett
SalesAid Software

"gregory" wrote in message
...
In creating a CSE formula the asterisk is used for AND... for example:
sum(if((Code="test")*(Acct="Recon"),Amount)), where Code, Acct and Amount
are ranges.

What sign is used for OR? What I'm trying to do is sum the values in the
"Amount" range if Code="test" OR Code="live" AND Acct="Recon"

Thanks,

gregory




gregory

CSE Formula
 
Don,

Thank you very much. This worked!!

gregory

"Don Guillett" wrote:

try
code={"test","live"}

--
Don Guillett
SalesAid Software

"gregory" wrote in message
...
In creating a CSE formula the asterisk is used for AND... for example:
sum(if((Code="test")*(Acct="Recon"),Amount)), where Code, Acct and Amount
are ranges.

What sign is used for OR? What I'm trying to do is sum the values in the
"Amount" range if Code="test" OR Code="live" AND Acct="Recon"

Thanks,

gregory





bj

CSE Formula
 
the asterisk is actually "times" and not "and"
you have two true/false statementss with values 0 or 1
try
=sum(if(and(or(Code="test",Code="live"),Acct="Reco n"),Amount)

"gregory" wrote:

In creating a CSE formula the asterisk is used for AND... for example:
sum(if((Code="test")*(Acct="Recon"),Amount)), where Code, Acct and Amount
are ranges.

What sign is used for OR? What I'm trying to do is sum the values in the
"Amount" range if Code="test" OR Code="live" AND Acct="Recon"

Thanks,

gregory


Don Guillett

CSE Formula
 
glad to help

--
Don Guillett
SalesAid Software

"gregory" wrote in message
...
Don,

Thank you very much. This worked!!

gregory

"Don Guillett" wrote:

try
code={"test","live"}

--
Don Guillett
SalesAid Software

"gregory" wrote in message
...
In creating a CSE formula the asterisk is used for AND... for example:
sum(if((Code="test")*(Acct="Recon"),Amount)), where Code, Acct and
Amount
are ranges.

What sign is used for OR? What I'm trying to do is sum the values in
the
"Amount" range if Code="test" OR Code="live" AND Acct="Recon"

Thanks,

gregory








All times are GMT +1. The time now is 05:25 PM.

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