Max & sumproduct

Steeviee

Active Member
Joined
Sep 9, 2009
Messages
380
Hello gang,

I'm hoping that you will be patient and help me out here. I am sure that this is possible but have not been able to understand the logic from the archive posts.

I have a table of data in tab 'PO'. I want to extract the latest date from that table. the number of lines varies and so I have used 10,000 as the number of rows.

Code:
=SUMPRODUCT(MAX((PO!BC13:$BC$10000=$B5)*(PO!BB13:$BB$10000=$C3),(PO!AD13:$AD$10000)))

Where column BC contains the part number in 'PO' tab and column B in the current tab has the part numbers listed.
Col BB in 'PO' has the category, Col C in the current tab
Col AD in 'PO' has the date

I am trying to find the latest/max date for a particular part number for a particular category.

I just don't know how to do it! Do I need ISNUMBER or SEARCH anywhere, and if so why? Is the data range being larger than the amount of data an issue?

As always, all help much appreciated.

Thanks,
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
Try this array entered with CTRL + SHIFT + ENTER

=MAX(IF(PO!BC13:$BC$10000=$B5,IF(PO!BB13:$BB$10000=$C3,PO!AD13:$AD$10000)))

Hope that helps.
 
Upvote 0

Forum statistics

Threads
1,224,617
Messages
6,179,914
Members
452,949
Latest member
beartooth91

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