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

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.

Forum statistics

Threads
1,215,374
Messages
6,124,574
Members
449,173
Latest member
Kon123

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