Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Freshman
 
Posts: n/a
Default Two Conditions Function

Dear all,

I've a table below:

Borrow Date Return Date Remarks
27 Jul 05
28 Jul 05
31 Jul 05

I want to set a function at cell C2 such that =IF(TODAY() - B2=6, "Late
Return",""). However, if I fill in a date at "Return Date" column, then the
wording of "Late Return" at cell C2 will not be shown.

Please advise what are combination functions for the above two conditions at
cell C2.

Thanks in advance.
  #2   Report Post  
Karthik
 
Posts: n/a
Default

Hi
You will get "Late Return" only when the difference between today and
the return date is greater than or equal to 6 days.

Example

Borrow Date Return Date Remarks
27-Jun-05 22-Jun-05 Late Return
28-Jun-05
1-Jul-05

the formula in C2 is the same
=IF(TODAY() - B2=6, "Late Return","")

Thanks
Karthik Bhat
Bangalore

  #3   Report Post  
Roger Govier
 
Posts: n/a
Default

Try
=IF(AND(B2="",TODAY()-A2=6),"Late Return",IF(B2-A2=6,"Late Return",""))

--
Regards

Roger Govier


"Freshman" wrote in message
...
Dear all,

I've a table below:

Borrow Date Return Date Remarks
27 Jul 05
28 Jul 05
31 Jul 05

I want to set a function at cell C2 such that =IF(TODAY() - B2=6, "Late
Return",""). However, if I fill in a date at "Return Date" column, then
the
wording of "Late Return" at cell C2 will not be shown.

Please advise what are combination functions for the above two conditions
at
cell C2.

Thanks in advance.



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
Use IF function for two conditions wuwu Excel Worksheet Functions 3 April 29th 23 11:42 AM
Excel option to store trendline's coefficients in cells for use Miguel Saldana Charts and Charting in Excel 9 June 20th 05 08:45 PM
Date & Time mully New Users to Excel 4 May 23rd 05 11:56 AM
Automatically up date time in a cell Mark Excel Discussion (Misc queries) 5 May 12th 05 12:26 AM
clock Wildman Excel Worksheet Functions 2 April 26th 05 10:31 AM


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