Matching and summing matches to distinct values for multiple rows over multiple columns with blanks

tholder00

New Member
Joined
Jul 24, 2019
Messages
5
My data has multiple pairs of a "name column" and "hour column" that corresponds to third value in another "movie column." The names aren't always the same in each column and can sometimes be blank or repeat. I'm trying to match and sum across all of these columns. The end goal is to have a what is shown in the picture below. I've tried to handle this through a pivot table and through index match but can't get the whole thing to come together. Thanks in advance!

YlO0YnB.png
 
You might be able to speed up the formulas a little. This part of the A11 formula:

SUMPRODUCT(($B$2:$B$9<>"")/COUNTIF($B$2:$B$9,$B$2:$B$9&""))

just figures out how many unique movie names there are. If you put that formula in another cell, say Z1, you could replace that section of the A11 formula with Z1. Since it would only have to calculate that number once, it could speed things up. But still, what remains is still pretty computationally intensive.

I played around a bit with pivot tables, and I haven't figured anything out yet either. If I do, I'll let you know.
 
Upvote 0

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"

Forum statistics

Threads
1,224,823
Messages
6,181,169
Members
453,021
Latest member
Justyna P

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