Sumproduct formula won't work after copied

FrigidDigit

Board Regular
Joined
May 10, 2005
Messages
203
Hi all,

I have this formula below to find the latest date for an invoice by company name and it worked perfectly in the 1st cell it was created in. But when I copied it across columns, it doesn't work.

Can anyone tell me what stupid mistake I made this time?

Thanks!


=SUMPRODUCT(--('Invoice Listing'!$J$2:$J$1000=H$2),--('Invoice Listing'!$E$2:$E$1000=MAX('Invoice Listing'!$E$2:$E$1000))*'Invoice Listing'!$E$2:$E$1000)
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
I see what you're saying NBVC!

My formula requires that the max date value for the entire column appears next to the subname.

What do I need to change if I just want the max date for that particular sub name, even if it isn't the max of all date entries?
 
Upvote 0
FrigidDigit said:
...

My formula requires that the max date value for the entire column appears next to the subname.

What do I need to change if I just want the max date for that particular sub name, even if it isn't the max of all date entries?

Compiling a guess from the formula you tried (see your initial post)...

=MAX(IF('Invoice Listing'!$J$2:$J$1000=H$2,'Invoice Listing'!$E$2:$E$1000))

which uou need to confirm with control+shift+enter, not just with enter.
 
Upvote 0
Nope Aladin,

This formula still just gave me the latests date in the entire list, not the latest date for that subname.

Seems like a good idea to play with tho.

FD
 
Upvote 0
Sorry Aladin,

Update on my last post.

Like an idiot I forgot Ctr + SHift +Enter.

It works perfectly!

Thanks!!
 
Upvote 0

Forum statistics

Threads
1,215,043
Messages
6,122,825
Members
449,096
Latest member
Erald

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