- You are here
- Microsoft Newsgroups Archived.At
- microsoft.public.excel
- 2009 March
- Want to write formula - =IF(H3=TRUE OR B2 < B3, TRUE)

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

- Re: Want to write formula - =IF(H3=TRUE OR B2 < B3, TRUE) posted by Bernd P on Thu, 5 Mar 2009
- Re: Want to write formula - =IF(H3=TRUE OR B2 < B3, TRUE) posted by Bernard Liengme on Thu, 5 Mar 2009