Cell Reference Challenge

absherzad

New Member
Joined
Jun 19, 2017
Messages
42
Hello everyone,

I have two tables named Movies and Users.
I want to create let's say something like a matrix of Movies and Users table by adding and multiplying a row from Users with another row from Movies. The SUMPRODUCT is an elegant method doing the calculation.

The problem is I have to manually write a formula for each user and then drag it for all movies, and I have to repeat this process for another user and all movies. The problem is with RELATIVE and ABSOLUTE cell reference!!!

I just want to know if it is possible to do without VBA in Excel in efficient way. Please see the attached screenshot to have a better understanding of the subject.

Regards,
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Hi

Not tested (because I don't have access to the data, you just posted a picture), but if I understood what you want, try

in C17:

=SUMPRODUCT(INDEX($H:$J,MATCH(C$16,$G:$G,0),0),INDEX($C:$E,MATCH($B17,$B:$B,0),0))

Copy down and across
 
Upvote 0
Thanks a lot :-)
A nice trick. I am wondering why I did not think of considering INDEX and MATCH.

The only concern is that the row and column headers must be identical corresponding to their actual headers which is not a big deal.

Regards,
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,324
Members
452,635
Latest member
laura12345

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