ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Pls Help Me!! (https://www.excelbanter.com/excel-discussion-misc-queries/33651-pls-help-me.html)

davidtips

Pls Help Me!!
 

:confused: Hi there!

Thank you in advance, as I really enjoy this site that solved most of
my problems.


01 File attached.
How can I have only 2 answers at *column C* (answer: 1 or 0) base on my
date input at *column A and B*?

If DATE B is earlier than DATE A = 1
If DATE B is same as DATE A = 1

If DATE B is later than DATE A = 0
IF DATE B is empty, = 0

Thanks again for solving my problem!
davidiew


+-------------------------------------------------------------------+
|Filename: Date123xx.doc |
|Download: http://www.excelforum.com/attachment.php?postid=3562 |
+-------------------------------------------------------------------+

--
davidtips
------------------------------------------------------------------------
davidtips's Profile: http://www.excelforum.com/member.php...o&userid=19103
View this thread: http://www.excelforum.com/showthread...hreadid=384251


ScottO

Try this ...
=IF(AND(NOT(ISBLANK(B1)),B1<=A1),1,0)
Rgds,
ScottO

"davidtips" wrote in message
...
|
| :confused: Hi there!
|
| Thank you in advance, as I really enjoy this site that solved most of
| my problems.
|
|
| 01 File attached.
| How can I have only 2 answers at *column C* (answer: 1 or 0) base on my
| date input at *column A and B*?
|
| If DATE B is earlier than DATE A = 1
| If DATE B is same as DATE A = 1
|
| If DATE B is later than DATE A = 0
| IF DATE B is empty, = 0
|
| Thanks again for solving my problem!
| davidiew
|
|
| +-------------------------------------------------------------------+
| |Filename: Date123xx.doc |
| |Download: http://www.excelforum.com/attachment.php?postid=3562 |
| +-------------------------------------------------------------------+
|
| --
| davidtips
| ------------------------------------------------------------------------
| davidtips's Profile: http://www.excelforum.com/member.php...o&userid=19103
| View this thread: http://www.excelforum.com/showthread...hreadid=384251
|



Bob Phillips

=--(AND(B1<"",B1<A1))

--
HTH

Bob Phillips

"davidtips" wrote
in message ...

:confused: Hi there!

Thank you in advance, as I really enjoy this site that solved most of
my problems.


01 File attached.
How can I have only 2 answers at *column C* (answer: 1 or 0) base on my
date input at *column A and B*?

If DATE B is earlier than DATE A = 1
If DATE B is same as DATE A = 1

If DATE B is later than DATE A = 0
IF DATE B is empty, = 0

Thanks again for solving my problem!
davidiew


+-------------------------------------------------------------------+
|Filename: Date123xx.doc |
|Download: http://www.excelforum.com/attachment.php?postid=3562 |
+-------------------------------------------------------------------+

--
davidtips
------------------------------------------------------------------------
davidtips's Profile:

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





All times are GMT +1. The time now is 04:55 PM.

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