Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 367
Default Help with Compare Date Formula

to fix cells you need to enter $ signs before column and row.
the shortcut for that would be F4 which cycles through the 4 available
states (A1,$A$1,$A1,A$1)
Your formula should look like this:
=IF(AND(A4="2d",B4="sold",$M$9<=C4,C4<=$M$10),D4,0 )

hth

Carlo

On Dec 11, 10:56 am, catherine mix <catherine
wrote:
this is my first post, and I am not sure this is the right place to post this
question, but you seem to be very knowledgeable, so here goes.
I ask the user to enter a start and end date so I can test whether an item
has sold in that date range. In the same function, I am testing for 2 other
conditions too, so the date comparison test is nested in a 3 level function.
when i copy the formula down from top to bottom, the formula thinks the
location of the start and end date should have moved down along with the data
when actually it's static on the worksheet so I have to "fix" the formula for
each row.

here's my formula
=IF(AND(A4="2d",B4="sold",M9<=C4,C4<=M10),D4,0)
where M9=start date and M10=end date

I would assign these dates to a couple of variables if I could figure out
how to do that, no luck.



"Duke Carey" wrote:
=if(today()-A290,"Due","Not Due")


Assumes the other date is in A2


"Dax Arroway" wrote:


I'm hoping this is easy but could someone please help me with a formula?


I'm trying to compare a date with today's date and if the dates are more
than 90 days apart to display "Due" in the cell.


Any helpers?


Thanks in advance!
-Dax Arroway- Hide quoted text -


- Show quoted text -


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
compare date to various date ranges and sum value al Excel Worksheet Functions 2 January 10th 07 10:17 AM
Compare date against multiple dates Struggling Excel Discussion (Misc queries) 1 April 26th 06 03:19 PM
Compare values, display date DeejGCK Excel Worksheet Functions 2 March 16th 06 08:45 PM
compare date to column data Custermd Excel Worksheet Functions 1 February 21st 06 03:57 PM
compare date ranges to set up eq Custermd Excel Worksheet Functions 0 February 21st 06 02:27 PM


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