If column A and B have a match then multiply column C with D

Bob_ipc

Board Regular
Joined
Oct 18, 2017
Messages
67
Office Version
  1. 365
Platform
  1. Windows
Hey guys I seem to be stumped!

I have a spreadsheet and I am trying to get a value in an individual cell based on two rows of data on two different tabs and then multiply by another row of data :oops:

Sheet 1 has
column A, 63 lines with numbers
column B, 63 lines with numbers

Sheet 2 has
column A has 1200 lines with numbers
Column B has 1200 lines with numbers
Column C should have result

anytime column A in sheet 1 matches the value in column A in sheet two, then multiply the cell in Column B in sheet 2 with Column B in sheet 1 with the result in Sheet 2 column C

I could do 63 nested if statements but that just seems like I would be looking for trouble, is there an array formula that would get me the results I am looking for?

Any direction would be appreciated!

Thanks in advance
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
Hi,

If I understand correctly, try this in Sheet 2, Column C

Change/adjust cell references/range accordingly:

Excel Formula:
=IFERROR(INDEX(Sheet1!B$1:B$63,MATCH(A1,Sheet1!A$1:A$63,))*B1,"")
 
Upvote 0
Dude! that worked perfectly!! So Awesome!

Thank you!!

You're welcome.

If that worked for you, here's a shorter formula using VLOOKUP:

Excel Formula:
=IFERROR(VLOOKUP(A1,Sheet1!A$1:B$63,2,0)*B1,"")

Nothing wrong with the INDEX/MATCH I provided above, just another option.
 
Upvote 0

Forum statistics

Threads
1,224,818
Messages
6,181,152
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