ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Multiple Criteria (https://www.excelbanter.com/excel-worksheet-functions/52700-multiple-criteria.html)

themax16

Multiple Criteria
 

Morning/Afternoon everyone,
I am trying to set up a conditional formula..

I have a date in cell A1 and another in Cell A2. Cell A3 is populated
with either 'complete, on hold or open'

I would like cell A4 to read 'ok' if the date in A1 is less then or
equal to date in A2. and A3 can read either 'complete, on hold or
open'

But
'
If cell the date in A1 in more then date in A2 and A3 = 'on hold or
open' it should read 'Failed' in A4.

Can anyone help??

James


--
themax16
------------------------------------------------------------------------
themax16's Profile: http://www.excelforum.com/member.php...o&userid=23622
View this thread: http://www.excelforum.com/showthread...hreadid=480068


Mike S

Multiple Criteria
 
Hi James,

What do you want to show in A4 if the date in A1 is greater than A2 and A3 =
"complete" ?

Mike

Mike S

Multiple Criteria
 
That said assuming that when the date in A1 is greater than A2 and A3 =
"complete" is also ok then this formula should work for you.

=IF(AND(A1A2,OR(A3="on hold",A3="open")),"failed","ok")

Mike

Grandslam90

Multiple Criteria
 

assuming that when the date in A1 is greater than A2 and A3 =
"complete" is also ok then this formula should work for you.

=IF(AND(A1A2,OR(A3="on hold",A3="open")),"failed","ok")

Mike :)


--
Grandslam90
------------------------------------------------------------------------
Grandslam90's Profile: http://www.excelforum.com/member.php...o&userid=17408
View this thread: http://www.excelforum.com/showthread...hreadid=480068


themax16

Multiple Criteria
 

thanks mike..
this seems to work just as it should!
your a great help
james


--
themax16
------------------------------------------------------------------------
themax16's Profile: http://www.excelforum.com/member.php...o&userid=23622
View this thread: http://www.excelforum.com/showthread...hreadid=480068



All times are GMT +1. The time now is 08:27 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com