Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 397
Default If cell value between dates say "due"



Hi There.
Row 1 contains date information - the last fri in a month. Eg
Cell b1 is 3 Nov.
Cell c1 is 10 Nov
Cell d1 is 17 nov etc

In say A2 there will be a variable date - say 12 Nov
I need a formulae that will put the word DUE in cell d2 (as 12 Nov is
10 Nov, but < 17 Nov...

Any ideas...?
(dont have to worry about excluding weekends!)

Thanks!!!!!!
Regards

Darin



*** Sent via Developersdex http://www.developersdex.com ***
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,726
Default If cell value between dates say "due"

=IF(AND(A2C1,A2<D1),"Due","")

--

HTH

Bob Phillips

(replace xxxx in the email address with gmail if mailing direct)

"Darin Kramer" wrote in message
...


Hi There.
Row 1 contains date information - the last fri in a month. Eg
Cell b1 is 3 Nov.
Cell c1 is 10 Nov
Cell d1 is 17 nov etc

In say A2 there will be a variable date - say 12 Nov
I need a formulae that will put the word DUE in cell d2 (as 12 Nov is
10 Nov, but < 17 Nov...

Any ideas...?
(dont have to worry about excluding weekends!)

Thanks!!!!!!
Regards

Darin



*** Sent via Developersdex http://www.developersdex.com ***



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 397
Default If cell value between dates say "due"



Thank! - As always works perfectly, and quite simple too!

*** Sent via Developersdex http://www.developersdex.com ***
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 274
Default If cell value between dates say "due"


Darin,

I think this question should really have been posted to the Excel
General forum not the programmers forum.

However the following formula should help. You may want to consider
changing the and < arguments to = and <= as necessary so that if the
date is equal to the column header it will fall due according to your
arguments.

Place this in B2 (according to your example) and copy accross

=IF(AND($A2B1,$A2<C1),"Due","Not Due")

Regards

Michael Beckinsale

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
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell Steve Kay Excel Discussion (Misc queries) 2 August 8th 08 01:54 AM
"CELL("FILENAME") NOT UPDATE AFTER "SAVE AS" ACTION yossie6 Excel Discussion (Misc queries) 1 June 16th 08 12:16 PM
Help!!! Enter "7" in a cell and Excel changes the "7" to "11" immediately!!! [email protected] Excel Discussion (Misc queries) 3 January 5th 07 02:18 PM
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next BCB New Users to Excel 7 May 13th 06 10:02 PM
Complex if test program possible? If "value" "value", paste "value" in another cell? jseabold Excel Discussion (Misc queries) 1 January 30th 06 10:01 PM


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