| F | G | H | I |
1 | cost code | date | | |
2 | 520 | 6/1/2017 | | 6/1/2017 |
3 | 350 | 4/5/2017 | | |
4 | 520 | 8/7/2017 | | |
5 | 520 | 7/7/2017 | | |
<tbody>
</tbody>
i2=MIN(IF(F2:F5=F2,G2:G5)) control +shift+enter format i2 as date
After you type in the formula, don't just press enter.
Instead, press CTRL + SHIFT + ENTER
If you've already entered the formula, then highlight the cell with the formula and press F2.
Then press CTRL + SHIFT + ENTER
When entered correctly, the formula will be enclosed in {brackets}