ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   multiple IF Statements (https://www.excelbanter.com/excel-worksheet-functions/169741-multiple-if-statements.html)

Steve

multiple IF Statements
 
Good morning all.

I did a quick search for the answer to my question, unfortuantely I was
unable to find exactly what i was looking for. I know I have done it before i
am just drawing a blank on how to do it now. Below is what I would like to
do, could someone help me convert it to an if statement?

if worksheet 1 a1 = "" then "" otherwise if worksheet 1 a1 = worksheet 2 a2
then 1 otherwise 0.

Thanks in advance for any help you may beable to offer.
Steve

Max

multiple IF Statements
 
Perhaps this placed in a cell in say, Sheet3,
eg in B1:
=IF(Sheet1!A1="","",IF(Sheet1!A1=Sheet2!A2,1,0))
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Steve" wrote:
Good morning all.

I did a quick search for the answer to my question, unfortuantely I was
unable to find exactly what i was looking for. I know I have done it before i
am just drawing a blank on how to do it now. Below is what I would like to
do, could someone help me convert it to an if statement?

if worksheet 1 a1 = "" then "" otherwise if worksheet 1 a1 = worksheet 2 a2
then 1 otherwise 0.

Thanks in advance for any help you may beable to offer.
Steve



All times are GMT +1. The time now is 01:59 AM.

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