ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Formula, Help needed (https://www.excelbanter.com/excel-worksheet-functions/27224-formula-help-needed.html)

themax16

Formula, Help needed
 

--------------------------------------------------------------------------------

I am trying to set up a formula that will add up multiple cells and
then create an average. I have no trouble with this atall .... but
after generating the average i wanted it to go on and display 'yes' if
between -6 and 6. and 'no' if it is out of this region.
This was my first attempt but this always displays 'Yes' as its always
either above -6 or below 6.
=IF((((C3+E3)/2)<=6)*OR(((C3+E3)/2)=(0-6)),"Yes","No")

Can anyone offer any help?


--
themax16
------------------------------------------------------------------------
themax16's Profile: http://www.excelforum.com/member.php...o&userid=23622
View this thread: http://www.excelforum.com/showthread...hreadid=372948


Vasant Nanavati

=IF(AND((C3+E3)/2=-6,(C3+E3)/2<=6),"Yes","No")

--

Vasant


"themax16" wrote in message
...

--------------------------------------------------------------------------

------

I am trying to set up a formula that will add up multiple cells and
then create an average. I have no trouble with this atall .... but
after generating the average i wanted it to go on and display 'yes' if
between -6 and 6. and 'no' if it is out of this region.
This was my first attempt but this always displays 'Yes' as its always
either above -6 or below 6.
=IF((((C3+E3)/2)<=6)*OR(((C3+E3)/2)=(0-6)),"Yes","No")

Can anyone offer any help?


--
themax16
------------------------------------------------------------------------
themax16's Profile:

http://www.excelforum.com/member.php...o&userid=23622
View this thread: http://www.excelforum.com/showthread...hreadid=372948




Bob Phillips

other offerings in excel.misc

--

HTH

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


"themax16" wrote in message
...

--------------------------------------------------------------------------

------

I am trying to set up a formula that will add up multiple cells and
then create an average. I have no trouble with this atall .... but
after generating the average i wanted it to go on and display 'yes' if
between -6 and 6. and 'no' if it is out of this region.
This was my first attempt but this always displays 'Yes' as its always
either above -6 or below 6.
=IF((((C3+E3)/2)<=6)*OR(((C3+E3)/2)=(0-6)),"Yes","No")

Can anyone offer any help?


--
themax16
------------------------------------------------------------------------
themax16's Profile:

http://www.excelforum.com/member.php...o&userid=23622
View this thread: http://www.excelforum.com/showthread...hreadid=372948





All times are GMT +1. The time now is 02:12 AM.

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