have two sheets > SALES! & stocks!
date & code in SALES!$C$6:$C$5088 & SALES!$E$6:$E$5088 respectively
date out & item code in stocks!$C$59$:$C$1887 & stocks!F$59:$F$1887 respectively
once item code scanned into SALES!$E$6:$E$5088
the current date will appear on stocks!$C$59$:$C$1887 with this formula (**for item stocks!F170)
=INDEX(SALES!$C$5:$C$5087,MATCH(stocks!F170,SALES!$E$5:$E$5087,0))
but,let's say that item stocks!F170 have 4pcs and sold on different dates
how do i generate the updated date for the item?
did tried this
=INDEX(MAX(SALES!$C$5:$C$5087,MATCH(stocks!F170,SALES!$E$5:$E$5087,0)))
but it only give out the latest date in SALES!$C$6:$C$5088
not the lates date sold based on that item
please help and advance thank you
date & code in SALES!$C$6:$C$5088 & SALES!$E$6:$E$5088 respectively
date out & item code in stocks!$C$59$:$C$1887 & stocks!F$59:$F$1887 respectively
once item code scanned into SALES!$E$6:$E$5088
the current date will appear on stocks!$C$59$:$C$1887 with this formula (**for item stocks!F170)
=INDEX(SALES!$C$5:$C$5087,MATCH(stocks!F170,SALES!$E$5:$E$5087,0))
but,let's say that item stocks!F170 have 4pcs and sold on different dates
how do i generate the updated date for the item?
did tried this
=INDEX(MAX(SALES!$C$5:$C$5087,MATCH(stocks!F170,SALES!$E$5:$E$5087,0)))
but it only give out the latest date in SALES!$C$6:$C$5088
not the lates date sold based on that item
please help and advance thank you