Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default 3 logical condition if statement


Hi,

I.m sure this is simple if you know how but i'm confused.

I have a cell that I want to return 1 of 3 values, these being
"Ongoing" "Complete" or lastly "Overdue"

Condition 1 Ongoing is returned if the date in A1 is less than the date
in A2
Condition 2 Complete is returned if there is an "x" in A3 irrespective
of the date.
Condition 3 Overdue is returned if there is no "x" in A3 and the datein
A1 is greater than the date in A2


Thanks for any help you can offer


--
Mikehughes
------------------------------------------------------------------------
Mikehughes's Profile: http://www.excelforum.com/member.php...o&userid=36528
View this thread: http://www.excelforum.com/showthread...hreadid=562805

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 44
Default 3 logical condition if statement

Try

=if(A3="x","Complete",if(A1<A2,"Ongoing",if(A1A2, "Overdue","")))

"Mikehughes" wrote:


Hi,

I.m sure this is simple if you know how but i'm confused.

I have a cell that I want to return 1 of 3 values, these being
"Ongoing" "Complete" or lastly "Overdue"

Condition 1 Ongoing is returned if the date in A1 is less than the date
in A2
Condition 2 Complete is returned if there is an "x" in A3 irrespective
of the date.
Condition 3 Overdue is returned if there is no "x" in A3 and the datein
A1 is greater than the date in A2


Thanks for any help you can offer


--
Mikehughes
------------------------------------------------------------------------
Mikehughes's Profile: http://www.excelforum.com/member.php...o&userid=36528
View this thread: http://www.excelforum.com/showthread...hreadid=562805


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
CLR CLR is offline
external usenet poster
 
Posts: 1,998
Default 3 logical condition if statement

Here's one that will also check for TEXT values in A1 and A2......

=IF(OR(ISTEXT(A1),ISTEXT(A2)),"Improper
value",IF(A3="x","Complete",IF(A1<A2,"Ongoing",IF( A1A2,"Overdue",""))))

Vaya con Dios,
Chuck, CABGx3




"Mikehughes" wrote:


Hi,

I.m sure this is simple if you know how but i'm confused.

I have a cell that I want to return 1 of 3 values, these being
"Ongoing" "Complete" or lastly "Overdue"

Condition 1 Ongoing is returned if the date in A1 is less than the date
in A2
Condition 2 Complete is returned if there is an "x" in A3 irrespective
of the date.
Condition 3 Overdue is returned if there is no "x" in A3 and the datein
A1 is greater than the date in A2


Thanks for any help you can offer


--
Mikehughes
------------------------------------------------------------------------
Mikehughes's Profile: http://www.excelforum.com/member.php...o&userid=36528
View this thread: http://www.excelforum.com/showthread...hreadid=562805


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default 3 logical condition if statement


I knew it was simple!!!

Thanks a lot for helping me out

Mike


--
Mikehughes
------------------------------------------------------------------------
Mikehughes's Profile: http://www.excelforum.com/member.php...o&userid=36528
View this thread: http://www.excelforum.com/showthread...hreadid=562805

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I use a logical IF statement with TEXT in EXCEL SchnidRoCK Excel Worksheet Functions 6 June 2nd 06 01:55 PM
Blanks as a condition of a statement Stuck on Blanks New Users to Excel 2 November 23rd 05 01:24 AM
Condition Statement Django Excel Discussion (Misc queries) 5 August 26th 05 07:59 PM
If statement where the logical test is a range that equals a word Steve o Excel Worksheet Functions 8 June 27th 05 03:43 PM
Want to change the color of a true/false logical statement with i. gregspainting Excel Worksheet Functions 2 February 19th 05 07:42 PM


All times are GMT +1. The time now is 01:00 PM.

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"