#1   Report Post  
Junior Member
 
Posts: 9
Default If, And Or

Hi,

OK I'm struggling! I'm going from beginner to intermediate with EXCEL and have come across something I can't work out. Sorry if this has been posted before.

I have a cell that has a drop down in with 4 options - Quoted, In Progress, Invoiced & Paid. This sits within list of quotes etc for the month.

I have another cell which is working out if the month is after the current date then it is returing a true or false.

What I want to do and not sure if I am able to do this in one formula is as follows:

IF the result of the date validation is showing a True result (it is out of date) and the cell with 4 options is showing anything other than invoiced or paid then display text.

I tried this but it has failed :(
=IF(AND(A1=TRUE, B1="Quoted", B1="In Progress"),"Please Move To May","")

Any help would be much appreciated.

Cheers

Nick
  #2   Report Post  
Senior Member
 
Posts: 663
Default

Quote:
Originally Posted by Nick_GB View Post
Hi,

OK I'm struggling! I'm going from beginner to intermediate with EXCEL and have come across something I can't work out. Sorry if this has been posted before.

I have a cell that has a drop down in with 4 options - Quoted, In Progress, Invoiced & Paid. This sits within list of quotes etc for the month.

I have another cell which is working out if the month is after the current date then it is returing a true or false.

What I want to do and not sure if I am able to do this in one formula is as follows:

IF the result of the date validation is showing a True result (it is out of date) and the cell with 4 options is showing anything other than invoiced or paid then display text.

I tried this but it has failed :(
=IF(AND(A1=TRUE, B1="Quoted", B1="In Progress"),"Please Move To May","")

Any help would be much appreciated.

Cheers

Nick
Hi Nick,

You're missing an OR in there. You want to say A1 = TRUE AND B1 = either Quoted OR In Progress..

=IF(AND(A1=TRUE,OR(B1="Quoted",B1="In Progress")),"Please Move To May","")
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,872
Default If, And Or

Hi Nick,

Am Thu, 5 Apr 2012 16:02:34 +0000 schrieb Nick_GB:

IF the result of the date validation is showing a True result (it is out
of date) and the cell with 4 options is showing anything other than
invoiced or paid then display text.


try:
=IF(AND(OR(B1="Quoted",B1="In Progress"),A1=TRUE),"Please Move To May","")


Regards
Claus Busch
--
Win XP PRof SP2 / Vista Ultimate SP2
Office 2003 SP2 /2007 Ultimate SP2
  #4   Report Post  
Junior Member
 
Posts: 9
Default

Quote:
Originally Posted by Spencer101 View Post
Hi Nick,

You're missing an OR in there. You want to say A1 = TRUE AND B1 = either Quoted OR In Progress..

=IF(AND(A1=TRUE,OR(B1="Quoted",B1="In Progress")),"Please Move To May","")
Thank you both!
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:35 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"