reiroch171
New Member
- Joined
- May 6, 2019
- Messages
- 2
Hello Board,
Here is my dilemma.
I am trying to populate column H with the MAX date from column C where:
If no items in D are blank, make zero. (I will conditional format so it's blank and not 1/0/1900 if I need to)
Note, this table A-D will NOT be sorted at all, so I don't think lookup will work?
I searched the forums and came up with the parts - sumproduct, max(if(etc)) but I can't get the whole thing to work.
<colgroup><col><col><col><col><col><col><col><col><col></colgroup><tbody>
</tbody>
What I tried:
Example: =SUMPRODUCT((Table13[renting serial]=$H2)*(Table13[Actual back]=0)) gets me just the count of lines
=MAX(IF(Table13[renting serial]=H2,Table13[Expected back])) gets me just the max date in the whole column.
Thanks so much,
Susan
Here is my dilemma.
I am trying to populate column H with the MAX date from column C where:
- item code matches (A=G)
- D is blank
If no items in D are blank, make zero. (I will conditional format so it's blank and not 1/0/1900 if I need to)
Note, this table A-D will NOT be sorted at all, so I don't think lookup will work?
I searched the forums and came up with the parts - sumproduct, max(if(etc)) but I can't get the whole thing to work.
| A | B | C | D | G | H | ||
1 | renting serial | Date out | Expected back | Actual back | ItemCode | Date expected back | ||
2 | ABC | 10-Feb | 12-Feb | 12-Feb | ABC | 1/0/1900 | ||
3 | ABC | 10-Apr | 15-Apr | 12-Apr | DEF | 5/20/2019 | ||
4 | ABC | 2-May | 5-May | 6-May | GHI | 1/0/1900 | ||
5 | DEF | 1-May | 5-May | 5-May | JKL | 2/12/2019 | ||
6 | DEF | 1-May | 20-May | | | |||
7 | GHI | 8-Feb | 10-Feb | |||||
8 | GHI | 1-Apr | 10-Apr | 10-Apr | ||||
9 | JKL | 10-Feb | 12-Feb |
<colgroup><col><col><col><col><col><col><col><col><col></colgroup><tbody>
</tbody>
What I tried:
Example: =SUMPRODUCT((Table13[renting serial]=$H2)*(Table13[Actual back]=0)) gets me just the count of lines
=MAX(IF(Table13[renting serial]=H2,Table13[Expected back])) gets me just the max date in the whole column.
Thanks so much,
Susan