Want to write formula - =IF(H3=TRUE OR B2 < B3, TRUE)

Giganews Newsgroups
Subject: Want to write formula - =IF(H3=TRUE OR B2 < B3, TRUE)
Posted by:  Angus (anguscomb…@gmail.com)
Date: Thu, 5 Mar 2009

Hello

I want an if which checks two conditions

If it was in C++ would look like this:

if(H3 == "TRUE") || (B2 < B3)
  //update cell contents to "TRUE"

The || is like an OR - ie can be this or that.

Hopw can I do this in Excel VBA?

Angus

Replies