Multi-Formula Question - Prices/Date

ThomasD

New Member
Joined
Oct 23, 2023
Messages
8
Office Version
  1. 2019
Platform
  1. Windows
I am trying to get the last receipt price and date for each unique2nd Item Number.
1698078310415.png


The formula in row 1 is what I have tried for latest Purchase Price (copied, not my creation).

I appreciate any and all help.

Thanks.

Tom
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
Are the dates in col B always sorted oldest to newest?
 
Upvote 0
Ok, how about
Excel Formula:
=CHOOSECOLS(TAKE(SORT(FILTER($B$3:$C$7000,$A$3:$A$7000=K3),1,-1),1),2,1)
 
Upvote 0
Typed in the formula above but Excel does not like the "sort" in the formula
 
Upvote 0
Are you trying this in 365 as per your profile?
 
Upvote 0
Ok how about
Excel Formula:
=MAXIFS(B:B,A:A,K3)
and
Excel Formula:
=MAXIFS(C:C,A:A,K3,B:B,L3)
 
Upvote 0
In that case check that your dates are real dates & not text.
 
Upvote 0

Forum statistics

Threads
1,215,379
Messages
6,124,605
Members
449,174
Latest member
ExcelfromGermany

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