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 If formula with two condition


Hi, in cell E9 have date 1/15/2009 i have the following formula but its
return false.please solve this what mistake i did
=IF(TODAY()-E9<45,E9+45-TODAY()&"day's
remain","")=IF(TODAY()-E945,TODAY()-E9-45&"day's over","")

Thanks


--
adib
------------------------------------------------------------------------
adib's Profile: http://www.thecodecage.com/forumz/member.php?userid=165
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=73859

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,420
Default If formula with two condition

=IF(TODAY()-E9<45,E9+45-TODAY()&"day's
remain",IF(TODAY()-E945,TODAY()-E9-45&"day's over",""))


--
__________________________________
HTH

Bob

"adib" wrote in message
...

Hi, in cell E9 have date 1/15/2009 i have the following formula but its
return false.please solve this what mistake i did
=IF(TODAY()-E9<45,E9+45-TODAY()&"day's
remain","")=IF(TODAY()-E945,TODAY()-E9-45&"day's over","")

Thanks


--
adib
------------------------------------------------------------------------
adib's Profile: http://www.thecodecage.com/forumz/member.php?userid=165
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=73859



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 9,101
Default If formula with two condition

You don't need an equal sign in front of the 2nd IF.


=IF(TODAY()-E9<45,E9+45-TODAY()&"day's
remain",IF(TODAY()-E945,TODAY()-E9-45&"day's over",""))
"adib" wrote:


Hi, in cell E9 have date 1/15/2009 i have the following formula but its
return false.please solve this what mistake i did
=IF(TODAY()-E9<45,E9+45-TODAY()&"day's
remain","")=IF(TODAY()-E945,TODAY()-E9-45&"day's over","")

Thanks


--
adib
------------------------------------------------------------------------
adib's Profile: http://www.thecodecage.com/forumz/member.php?userid=165
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=73859


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,203
Default If formula with two condition

You need a nested if he

=IF(TODAY()-E9<=45,E9+45-TODAY()&" days
remain",IF(TODAY()-E945,TODAY()-E9-45&" days over",""))

should work for you.

"adib" wrote:


Hi, in cell E9 have date 1/15/2009 i have the following formula but its
return false.please solve this what mistake i did
=IF(TODAY()-E9<45,E9+45-TODAY()&"day's
remain","")=IF(TODAY()-E945,TODAY()-E9-45&"day's over","")

Thanks


--
adib
------------------------------------------------------------------------
adib's Profile: http://www.thecodecage.com/forumz/member.php?userid=165
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=73859


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
I need to add an IF condition to a formula JMALTO Excel Worksheet Functions 9 February 10th 09 04:53 AM
Please Help Again-Condition Formula Kareinia Excel Worksheet Functions 5 March 6th 08 08:06 PM
Condition Formula Kareinia Excel Worksheet Functions 4 March 6th 08 04:17 PM
Add Condition to Formula Karen Smith Excel Discussion (Misc queries) 2 December 21st 07 07:18 PM
Add condition to formula Pat Excel Worksheet Functions 0 November 16th 04 12:23 PM


All times are GMT +1. The time now is 10:16 AM.

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

About Us

"It's about Microsoft Excel"