ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Excel IF function (https://www.excelbanter.com/excel-worksheet-functions/7730-excel-if-function.html)

Brian

Excel IF function
 
I want to use the IF function where a reserve is calculated using one of two
different calculations, but not both. I want the cell to give me an error
response if both source calculations are greater than 0 (to show that an
input error was made). I want the cell to give me a calculated amount if one
of the calculations is used properly. I would like to use as few cells as
possible to accomplish this.

Harald Staff

=(A1*B1)0

HTH. Best wishes Harald

"Brian" skrev i melding
...
I want to use the IF function where a reserve is calculated using one of

two
different calculations, but not both. I want the cell to give me an error
response if both source calculations are greater than 0 (to show that an
input error was made). I want the cell to give me a calculated amount if

one
of the calculations is used properly. I would like to use as few cells as
possible to accomplish this.




Bob Phillips

=IF(AND(A10,B1),"Error",IF(A10,A1,B1))

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Brian" wrote in message
...
I want to use the IF function where a reserve is calculated using one of

two
different calculations, but not both. I want the cell to give me an error
response if both source calculations are greater than 0 (to show that an
input error was made). I want the cell to give me a calculated amount if

one
of the calculations is used properly. I would like to use as few cells as
possible to accomplish this.




Frank Kabel

Hi Bob
smally typo :-)
=IF(AND(A10,B10),"Error",IF(A10,A1,B1))

--
Regards
Frank Kabel
Frankfurt, Germany

"Bob Phillips" schrieb im
Newsbeitrag ...
=IF(AND(A10,B1),"Error",IF(A10,A1,B1))

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Brian" wrote in message
...
I want to use the IF function where a reserve is calculated using

one of
two
different calculations, but not both. I want the cell to give me

an error
response if both source calculations are greater than 0 (to show

that an
input error was made). I want the cell to give me a calculated

amount if
one
of the calculations is used properly. I would like to use as few

cells as
possible to accomplish this.





Bob Phillips

Thanks Frank :-)

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Frank Kabel" wrote in message
...
Hi Bob
smally typo :-)
=IF(AND(A10,B10),"Error",IF(A10,A1,B1))

--
Regards
Frank Kabel
Frankfurt, Germany

"Bob Phillips" schrieb im
Newsbeitrag ...
=IF(AND(A10,B1),"Error",IF(A10,A1,B1))

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Brian" wrote in message
...
I want to use the IF function where a reserve is calculated using

one of
two
different calculations, but not both. I want the cell to give me

an error
response if both source calculations are greater than 0 (to show

that an
input error was made). I want the cell to give me a calculated

amount if
one
of the calculations is used properly. I would like to use as few

cells as
possible to accomplish this.








All times are GMT +1. The time now is 02:49 PM.

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