Lookup to multiple 2 tables

Rolly_Sefu

Board Regular
Joined
Oct 25, 2013
Messages
149
Hello,

I want to multiply the numbers from 2 table but only if they match

T1 data : {"a123";"a124";"a125";"a126";"a127";"a128"}
T1 values: {11;12;13;14;15;16}
T1 criteria: {"a123";"a125";"a128";0;0;0}

in order to keep T1's number sequence I used the formula ( =IF(ISNUMBER(MATCH(A3:A8;C3:C8;0));B3:B8;0) ) to get the values based T1 criteria
the result: T1: {11;0;13;0;0;16}

T2 data: {0;"a123";0;0;"a125";"a128"}
T2 values: {0;2;0;0;3;4}

How can I multiply T1 * T2 ( {11;0;13;0;0;16} * {0;2;0;0;3;4} ) - NOK

I would need to multiply {11;0;13;0;0;16} * {2;0;3;0;0;4}

Any ideas ?
 
Hy, it's exactly what i needed.

I did not know about the T function, why does it work with vlookup ?

Thanks for the help.
 
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,226,114
Messages
6,189,051
Members
453,522
Latest member
Seeker2025

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