Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
MJS MJS is offline
external usenet poster
 
Posts: 16
Default IF Statement - Correct Function?

Hey,
I am putting together a task schedule on Excel and struggling to pull
together the formula i require.
Basically i have a formula in place, located in cell B5, to say whether a
task is "overdue" or "In Progress".

=IF((AND(R2<TODAY(),R5="")),"Overdue","In Progress")

However i need an overriding formula, or some way to integrate the below
formula into to original so that when i put a "u" in cell AH21, it changes
cell B5 to "Complete", ignoring "Overdue" and "In progress".

=IF(AH21="u","Complete")

Thanks,

Mike

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,420
Default IF Statement - Correct Function?

=IF(AH21="u","Complete",IF(AND(R2<TODAY(),R5="")," Overdue","In Progress"))

is that AND correct? < today AND blank, that is just the same as blank.

--
__________________________________
HTH

Bob

"MJS" wrote in message
...
Hey,
I am putting together a task schedule on Excel and struggling to pull
together the formula i require.
Basically i have a formula in place, located in cell B5, to say whether a
task is "overdue" or "In Progress".

=IF((AND(R2<TODAY(),R5="")),"Overdue","In Progress")

However i need an overriding formula, or some way to integrate the below
formula into to original so that when i put a "u" in cell AH21, it changes
cell B5 to "Complete", ignoring "Overdue" and "In progress".

=IF(AH21="u","Complete")

Thanks,

Mike



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 747
Default IF Statement - Correct Function?

=IF(AH21="u","Complete",IF(AND(R2<TODAY(),R5="")," Overdue","In
Progress"))


On Feb 12, 6:08*pm, MJS wrote:
Hey,
I am putting together a task schedule on Excel and struggling to pull
together the formula i require.
Basically i have a formula in place, located in cell B5, to say whether a
task is "overdue" or "In Progress". *

=IF((AND(R2<TODAY(),R5="")),"Overdue","In Progress")

However i need an overriding formula, or some way to integrate the below
formula into to original so that when i put a "u" in cell AH21, it changes
cell B5 to "Complete", ignoring "Overdue" and "In progress".

=IF(AH21="u","Complete")

Thanks,

Mike


  #4   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default IF Statement - Correct Function?

Maybe like this:
=IF(AH21="u","Complete",IF(R5="","",IF(R2<TODAY(), "Overdue","In Progress")))
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:23,000 Files:370 Subscribers:66
xdemechanik
---
"MJS" wrote:
I am putting together a task schedule on Excel and struggling to pull
together the formula i require.
Basically i have a formula in place, located in cell B5, to say whether a
task is "overdue" or "In Progress".

=IF((AND(R2<TODAY(),R5="")),"Overdue","In Progress")

However i need an overriding formula, or some way to integrate the below
formula into to original so that when i put a "u" in cell AH21, it changes
cell B5 to "Complete", ignoring "Overdue" and "In progress".

=IF(AH21="u","Complete")


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,276
Default IF Statement - Correct Function?

Hi,
=IF(AH21="u","Complete",IF((AND(R2<TODAY(),R5="")) ,"Overdue","In Progress"))

"MJS" wrote:

Hey,
I am putting together a task schedule on Excel and struggling to pull
together the formula i require.
Basically i have a formula in place, located in cell B5, to say whether a
task is "overdue" or "In Progress".

=IF((AND(R2<TODAY(),R5="")),"Overdue","In Progress")

However i need an overriding formula, or some way to integrate the below
formula into to original so that when i put a "u" in cell AH21, it changes
cell B5 to "Complete", ignoring "Overdue" and "In progress".

=IF(AH21="u","Complete")

Thanks,

Mike



  #6   Report Post  
Posted to microsoft.public.excel.misc
MJS MJS is offline
external usenet poster
 
Posts: 16
Default IF Statement - Correct Function?

Brilliant guys€¦All worked perfectly.

Cheers,


"Eduardo" wrote:

Hi,
=IF(AH21="u","Complete",IF((AND(R2<TODAY(),R5="")) ,"Overdue","In Progress"))

"MJS" wrote:

Hey,
I am putting together a task schedule on Excel and struggling to pull
together the formula i require.
Basically i have a formula in place, located in cell B5, to say whether a
task is "overdue" or "In Progress".

=IF((AND(R2<TODAY(),R5="")),"Overdue","In Progress")

However i need an overriding formula, or some way to integrate the below
formula into to original so that when i put a "u" in cell AH21, it changes
cell B5 to "Complete", ignoring "Overdue" and "In progress".

=IF(AH21="u","Complete")

Thanks,

Mike

  #7   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default IF Statement - Correct Function?

"MJS" wrote:
Brilliant guys€¦All worked perfectly.


Except for my guess, which sticks out like a sore thumb <g

I'd admit I was, like Bob?, a bit hesitant about your term:
AND(R2<TODAY(),R5="")
(though you didn't ask for it to be reviewed in your post)

Thought you might actually want to disregard blanks in R5
(imo, blanks might just mean: data not available, omitted, etc
rather than be construed as deadline not met?)

hence revised it instead to check sequentially as:
.... IF(R5="","",IF(R2<TODAY(),"Overdue","In Progress") ..

Above fwiw ..
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:23,000 Files:370 Subscribers:66
xdemechanik
---
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
is this function correct? Honza Excel Worksheet Functions 3 November 11th 08 11:00 PM
Correct Function? Jane Doe[_2_] Excel Worksheet Functions 1 June 5th 08 09:46 PM
I need the correct function or formula... Crystal Excel Discussion (Misc queries) 1 March 13th 08 07:56 PM
IF STATEMENT - PLACEMENT OF VALUE IN THE CORRECT CELL SSJ New Users to Excel 2 October 11th 06 04:51 PM
What is the correct function to use, please? DDF Excel Worksheet Functions 2 July 9th 05 01:41 AM


All times are GMT +1. The time now is 10:29 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"