ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   how do I write an "if then" statement in Excel. eg. If L47 = 0 the (https://www.excelbanter.com/excel-worksheet-functions/103380-how-do-i-write-if-then-statement-excel-eg-if-l47-%3D-0-a.html)

dxrok

how do I write an "if then" statement in Excel. eg. If L47 = 0 the
 
I need to set up a quick way to see if a certain set of data is within the
limits set.

I think it was called an "if then" statement.

I want to display the word "OK" in cell M47 if L47 is equal to zero. If it
is less than zero I want it to display "fix" in cell M47, and if it is more
than zero I want it to display "add" in cell M47

I know this formula exsists but I can't find it in my Excel training book.

Niek Otten

how do I write an "if then" statement in Excel. eg. If L47 = 0 the
 
=IF(M47=0,"OK",IF(M47<0,"fix","add"))

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"dxrok" wrote in message ...
|I need to set up a quick way to see if a certain set of data is within the
| limits set.
|
| I think it was called an "if then" statement.
|
| I want to display the word "OK" in cell M47 if L47 is equal to zero. If it
| is less than zero I want it to display "fix" in cell M47, and if it is more
| than zero I want it to display "add" in cell M47
|
| I know this formula exsists but I can't find it in my Excel training book.




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

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