title: Compare two fields and produce results based on it
body: <p>I found this portal online and I'm hoping to find some help with Microsoft Excel.</p>
  
  <p>I have the below scenario. I want to print 1 if the due date is lesser than the closed date and 0 if it's more than the closed date. Is this possible to achieve in excel? </p>
  
  <pre><code>Closed date     Due date              Result
  5/3/2019 9:58   5/5/2019 4:22          1 (if Due Date is less than Closed date)
                                         0 (if Due Date is more than Closed date)
  </code></pre>