Hi,
I have a spreadsheet that tracks delivery of equipment. Each item of equipment is made up of many parts and has a delivery date for each part.
I have an array formula that I have been using to find the latest delivery date for a piece of equipment (the latest delivery date for a part for that equipment). The formula is:
=MAX(INDEX(IF($A$2:$A$30000=G2,$B$2:$B$30000),0))
The way it works is:
If the value in G2 exists in the range A2:A30000, return it’s corresponding delivery date from the range B2:B30000, otherwise return 0.
I have since found that some parts have no delivery date as yet. My formula only looks for the latest date of parts that have arrived (or forecast dates). I need it to recognise that if an equipment item has a part with no delivery date (a blank cell in the delivery date range B2:B30000) then no delivery date should appear for the equipment. Otherwise my delivery date for the equipment will be misleading because there are parts required that don’t even have a forecast delivery date assigned yet that are missed by my formula. (A forecast date will be assigned to these items as a seperate excercise by purchasing dept.)
What changes need to be made to my formula to achieve this?
Thanks very much
DFB
Bookmarks