Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 205
  • Last Modified:

Replacing TRUE and FALSE with more meaningful text in date compare formula

Column B and Column D contain date/time stamps. I am using this formula below to check whether the date in Column B is newer than the one in Column D, and Column E gives TRUE or FALSE results:

=($B2)/($D2)>1

I would like a formula that replaces TRUE and FALSE results with more meaningful text as follows:

If FALSE, then "Book okay"
IF TRUE, then "Update book"

Thanks,
Andrea
0
Andreamary
Asked:
Andreamary
1 Solution
 
Saqib Husain, SyedEngineerCommented:
=if(($B2)/($D2)>1,"Update book","Book okay")
0
 
AndreamaryAuthor Commented:
Thanks for your quick response...works perfectly!

Andrea
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now