ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   setting multiple conditions in one cell (https://www.excelbanter.com/excel-worksheet-functions/196204-setting-multiple-conditions-one-cell.html)

jcrain

setting multiple conditions in one cell
 
=IF(((H190.75)*AND(H200.75)),(((B16/B17)+4.68*(B18/B19))/(33650/SQRT(B12))),"N/A")

This is my current equation for a cell. It says that if two specific cell
exced .75, then calcualte (((B16/B17)+4.68*(B18/B19))/(33650/SQRT(B12))), but
if false display N/A.

What i need it do is if (((B16/B17)+4.68*(B18/B19))/(33650/SQRT(B12)))1, i
need say "INVALID FOR LFD".

So if both cells don't exceed .75 i need it to say "N/A".
If the value is 1 or less i need it to give me value
And if it exceed's 1 i need the cell to say "INVALID FOR LFD"

Don Guillett

setting multiple conditions in one cell
 
You need to look in the help index for the syntax for
AND


--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"jcrain" wrote in message
...
=IF(((H190.75)*AND(H200.75)),(((B16/B17)+4.68*(B18/B19))/(33650/SQRT(B12))),"N/A")

This is my current equation for a cell. It says that if two specific cell
exced .75, then calcualte (((B16/B17)+4.68*(B18/B19))/(33650/SQRT(B12))),
but
if false display N/A.

What i need it do is if (((B16/B17)+4.68*(B18/B19))/(33650/SQRT(B12)))1,
i
need say "INVALID FOR LFD".

So if both cells don't exceed .75 i need it to say "N/A".
If the value is 1 or less i need it to give me value
And if it exceed's 1 i need the cell to say "INVALID FOR LFD"



Mike H

setting multiple conditions in one cell
 
Hi,

I've got no idea if the precedence of the formula is correct because I don't
know waht answer you expect but the syntax is now correct.

=IF(AND(H190.75,H200.75),(B16/B17)+4.68*(B18/B19)/(33650/SQRT(B12)),"N/A")

Mike

"jcrain" wrote:

=IF(((H190.75)*AND(H200.75)),(((B16/B17)+4.68*(B18/B19))/(33650/SQRT(B12))),"N/A")

This is my current equation for a cell. It says that if two specific cell
exced .75, then calcualte (((B16/B17)+4.68*(B18/B19))/(33650/SQRT(B12))), but
if false display N/A.

What i need it do is if (((B16/B17)+4.68*(B18/B19))/(33650/SQRT(B12)))1, i
need say "INVALID FOR LFD".

So if both cells don't exceed .75 i need it to say "N/A".
If the value is 1 or less i need it to give me value
And if it exceed's 1 i need the cell to say "INVALID FOR LFD"



All times are GMT +1. The time now is 04:22 AM.

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