ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Min/Max based on criteria (2 sheets) (https://www.excelbanter.com/excel-worksheet-functions/214010-min-max-based-criteria-2-sheets.html)

Jean-Francois Gauthier

Min/Max based on criteria (2 sheets)
 
Hi,

I have a sheet providing the summary of a contract (TOTALSBYPO). Another
sheet provides the details, including amendments made to a contract
(CONTRACTDATAENTRY).

I want to get the earliest date of a contract and the latest date of a
contract into my summary based on the PO number being the same.

Exemple. On sheet TOTALSBYPO I want to indicate the "Start Date" of PO
9841 in cell C5.

here's what I have:

=MIN((CONTRACTDATAENTRY!D:D)*(CONTRACTDATAENTRY!A: A=$C5))

I get #num error based on this.

Any help is greatly appreciated.



Jean-Francois Gauthier

Min/Max based on criteria (2 sheets)
 
Hi I also tried

=MIN(IF(CONTRACTDATAENTRY!$A:$A=$C6,CONTRACTDATAEN TRY!$D:$D))

These are all with { } (array) crtl-shift-enter being entered after the
formula

Thanks again

"Jean-Francois Gauthier" wrote:

Hi,

I have a sheet providing the summary of a contract (TOTALSBYPO). Another
sheet provides the details, including amendments made to a contract
(CONTRACTDATAENTRY).

I want to get the earliest date of a contract and the latest date of a
contract into my summary based on the PO number being the same.

Exemple. On sheet TOTALSBYPO I want to indicate the "Start Date" of PO
9841 in cell C5.

here's what I have:

=MIN((CONTRACTDATAENTRY!D:D)*(CONTRACTDATAENTRY!A: A=$C5))

I get #num error based on this.

Any help is greatly appreciated.




All times are GMT +1. The time now is 03:55 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com