If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
finding the earliest date in an array of cells
I have one column with various dates.....lets say B2:B20. The next column
(C2:c20) with values such as 1, 4, 8, etc. I am trying to calculate the earliest date with a value in the same row that is 0. So if B5 has the earliest date, but the value of C5 is 0, I do not want that date. |
#2
|
|||
|
|||
finding the earliest date in an array of cells
Buck wrote:
I have one column with various dates.....lets say B2:B20. The next column (C2:c20) with values such as 1, 4, 8, etc. I am trying to calculate the earliest date with a value in the same row that is 0. So if B5 has the earliest date, but the value of C5 is 0, I do not want that date. Array formula (commit with CTRL+SHIFT+ENTER): =MIN(IF(C2:C200,B2:B20,"")) Make sure to format the cell as date. |
#3
|
|||
|
|||
finding the earliest date in an array of cells
=MIN(IF(C2:C20"",B2:B20,""))
This is an array formula that must be entered with CNTRL-SHFT-ENTER rather than just the ENTER key. -- Gary''s Student - gsnu200852 "Buck" wrote: I have one column with various dates.....lets say B2:B20. The next column (C2:c20) with values such as 1, 4, 8, etc. I am trying to calculate the earliest date with a value in the same row that is 0. So if B5 has the earliest date, but the value of C5 is 0, I do not want that date. |
#4
|
|||
|
|||
finding the earliest date in an array of cells
Hi,
you can array enter (Ctrl+Shift+Enter) the following =INDEX($B$6:$C$8,MATCH(TRUE,C6:C80,0),1) -- Regards, Ashish Mathur Microsoft Excel MVP www.ashishmathur.com "Buck" wrote in message ... I have one column with various dates.....lets say B2:B20. The next column (C2:c20) with values such as 1, 4, 8, etc. I am trying to calculate the earliest date with a value in the same row that is 0. So if B5 has the earliest date, but the value of C5 is 0, I do not want that date. |
Thread Tools | |
Display Modes | |
|
|