ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Writing a formula (https://www.excelbanter.com/excel-discussion-misc-queries/96303-writing-formula.html)

changetires

Writing a formula
 

I want to write this as a formula: 1 minus F6 divided by F6 plus Z6 plus
AA6, but only if AA6 is less than zero


--
changetires
------------------------------------------------------------------------
changetires's Profile: http://www.excelforum.com/member.php...o&userid=35414
View this thread: http://www.excelforum.com/showthread...hreadid=556093


Shaun

Writing a formula
 
=if(aa6<0,(1-f6)/(f6+aa6),0)

This will return 0 if aa6 is not less than 0. Replace the 0 with whatever
you want if aa6 is not less than 0.

Shaun


"changetires" wrote:


I want to write this as a formula: 1 minus F6 divided by F6 plus Z6 plus
AA6, but only if AA6 is less than zero


--
changetires
------------------------------------------------------------------------
changetires's Profile: http://www.excelforum.com/member.php...o&userid=35414
View this thread: http://www.excelforum.com/showthread...hreadid=556093




All times are GMT +1. The time now is 03:36 PM.

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