How to get last date sold from multiple products

Bram1212

New Member
Joined
Apr 12, 2018
Messages
36
Hi all,

Hope you can help me with this one. I am looking for a formula which will give me the date a product was last sold. In our BI system we have quantity sold and the date but nothing like last sold on.

I have attached a file and am looking for a formula which will retrieve the info in G2 G3 G4.

Hopefully the example is sufficient. Otherwise let me know!

Thanks in advance.
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Does this work?

9
http://tinypic.com/r/1znreow/9
 
Upvote 0
How about for product 1
=INDEX($A$2:$A$31,MATCH(9999,$B$2:$B$31,1))
just make sure that the value in red is larger than any number in the data.
 
Upvote 0
I'll see if this works. I figured it out with a =LOOKUP(999;L6:NL6;$L$5:$NL$5) formula (different reach).

Thanks anyway!
 
Upvote 0
Glad you sorted it & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,223,710
Messages
6,174,019
Members
452,542
Latest member
Bricklin

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top