ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   IF statements (https://www.excelbanter.com/excel-discussion-misc-queries/38935-if-statements.html)

cb3291u

IF statements
 

What would I do if I wanted to do a statement that said the following:

If Column A0 and B0 then =1 else = 0

Thanks in advance


--
cb3291u
------------------------------------------------------------------------
cb3291u's Profile: http://www.excelforum.com/member.php...fo&userid=7822
View this thread: http://www.excelforum.com/showthread...hreadid=393303


Colin Vicary


Try this

=if(and(a10,b10),1,0)

Colin


--
Colin Vicary
------------------------------------------------------------------------
Colin Vicary's Profile: http://www.excelforum.com/member.php...o&userid=10472
View this thread: http://www.excelforum.com/showthread...hreadid=393303



All times are GMT +1. The time now is 03:56 AM.

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