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 formula to determine if multiple dates are "greater than" one date

Hello,

I have a sheet with 10 columns across of dates, the dates are when we
received certain documents. There is one final column that has the date by
which all of the documents should have been received.

How do I have excel compare all 10 dates to the 1 final date, and have it
make note if any of the dates (in the set of 10) are greater than the 1 final
date?

I do not want it to produce late/not late for each individual document
(which I am able to do easily), as the pack of documents is considered
invalid if even just one document was late, so I need it to look at all dates
at once and just produce a "this document pack is compliant" or "this
document pack is not compliant".

I had attempted using IF (eg if A2:F2G2,"non compliant", "compliant") type
thing, but that produces a #VALUE for me, so I have to changesomething, I am
just not entirely sure what. Thanks!


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,441
Default formula to determine if multiple dates are "greater than" one date

Something like

=IF(SUMPRODUCT(--(A2:F2G2))0,"non compliant", "compliant")

HTH,
Bernie
MS Excel MVP


"kg82" wrote in message
...
Hello,

I have a sheet with 10 columns across of dates, the dates are when we
received certain documents. There is one final column that has the date by
which all of the documents should have been received.

How do I have excel compare all 10 dates to the 1 final date, and have it
make note if any of the dates (in the set of 10) are greater than the 1 final
date?

I do not want it to produce late/not late for each individual document
(which I am able to do easily), as the pack of documents is considered
invalid if even just one document was late, so I need it to look at all dates
at once and just produce a "this document pack is compliant" or "this
document pack is not compliant".

I had attempted using IF (eg if A2:F2G2,"non compliant", "compliant") type
thing, but that produces a #VALUE for me, so I have to changesomething, I am
just not entirely sure what. Thanks!




  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 14
Default formula to determine if multiple dates are "greater than" onedate

Purely out of interest, would you please explain this statement:
=IF(SUMPRODUCT(--(A2:F2G2))0

Please note, I am NOT the OP.
Thanks


On Oct 20, 12:26*pm, "Bernie Deitrick" <deitbe @ consumer dot org
wrote:
Something like

=IF(SUMPRODUCT(--(A2:F2G2))0,"non compliant", "compliant")

HTH,
Bernie
MS Excel MVP

"kg82" wrote in message

...



Hello,


I have a sheet with 10 columns across of dates, the dates are when we
received certain documents. There is one final column that has the date by
which all of the documents should have been received.


How do I have excel compare all 10 dates to the 1 final date, and have it
make note if any of the dates (in the set of 10) are greater than the 1 final
date?


I do not want it to produce late/not late for each individual document
(which I am able to do easily), as the pack of documents is considered
invalid if even just one document was late, so I need it to look at all dates
at once and just produce a "this document pack is compliant" or "this
document pack is not compliant".


I had attempted using IF (eg if A2:F2G2,"non compliant", "compliant") type
thing, but that produces a #VALUE for me, so I have to changesomething, I am
just not entirely sure what. Thanks!- Hide quoted text -


- Show quoted text -


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,441
Default formula to determine if multiple dates are "greater than" one date


Youa re asking about: SUMPRODUCT(--(A2:F2G2))0

This part

A2:F2G2

returns an array of True/False Values

This part

--(A2:F2G2)

converts the true values to 1, the false values to 0

This part

SUMPRODUCT(--(A2:F2G2))

sums those 1s and 0s to compare to 0. A Sum of 0 means that none where
G2, any other sum means at least one was, and that feeds into the
conditional, and the rest of the IF.

But note, we could also have used

COUNTIF(A2:F2,"" &G2)

in place of the SUMPRODUCT. or

SUM(--(A2:F2G2))

(but then we would need to array enter the formula using Ctrl-Shift-Enter.)

SUMPRODUCT was simply what came to mind first.

HTH,
Bernie
MS Excel MVP






"nlp239" wrote in message
...
Purely out of interest, would you please explain this statement:
=IF(SUMPRODUCT(--(A2:F2G2))0

Please note, I am NOT the OP.
Thanks


On Oct 20, 12:26 pm, "Bernie Deitrick" <deitbe @ consumer dot org
wrote:
Something like

=IF(SUMPRODUCT(--(A2:F2G2))0,"non compliant", "compliant")

HTH,
Bernie
MS Excel MVP

"kg82" wrote in message

...



Hello,


I have a sheet with 10 columns across of dates, the dates are when we
received certain documents. There is one final column that has the date
by
which all of the documents should have been received.


How do I have excel compare all 10 dates to the 1 final date, and have
it
make note if any of the dates (in the set of 10) are greater than the 1
final
date?


I do not want it to produce late/not late for each individual document
(which I am able to do easily), as the pack of documents is considered
invalid if even just one document was late, so I need it to look at all
dates
at once and just produce a "this document pack is compliant" or "this
document pack is not compliant".


I had attempted using IF (eg if A2:F2G2,"non compliant", "compliant")
type
thing, but that produces a #VALUE for me, so I have to changesomething,
I am
just not entirely sure what. Thanks!- 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
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
Formula for Multiple "IF's" or maybe "COUNTIF's"??? MM Lines Excel Discussion (Misc queries) 7 January 14th 08 08:30 AM
Multiple "source" workbooks linked to single "destination" workboo DAVEJAY Excel Worksheet Functions 1 September 17th 07 05:33 PM
freeze window creates multiple "views" suffixed with ":n" dgaex001 Excel Discussion (Misc queries) 5 March 22nd 06 05:28 PM
Find a "date" in a column of dates in Excel 2000 JR Hester Excel Worksheet Functions 3 November 1st 05 09:17 PM


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