Question

aroraaj

Board Regular
Joined
Jan 14, 2009
Messages
61
Office Version
  1. 365
Platform
  1. MacOS
I have two excel sheet. In one of the excel sheet I have two columns one for part name and the other for Single Source. My second sheet has 9 columns. It has Part Name, Gold Supplier, Gold Point, Capacity Ranking, Capacity Ranking Data, Scorecard, Scorecard Data, Quality Card, Quality Card Data.

Basically I have to add a formula in my first sheet and if the second column has Single Source listed I don't have to do anything but if its blank I need to calculate Gold Points + Capacity Ranking Data + Scorecard Data + Quality Card Data.

Is there a way to do that...I was thinking of doing VLOOKUP by matching the part name but I'm not sure how that'll work by adding the data.

Thanks
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
This will sum every other column in B:I for the row that contains the Part Name in column A:

=IF(B2="","",SUMPRODUCT(INDEX(Sheet2!$B$2:$I$3,MATCH(A2,Sheet2!A$2:A$3,FALSE),0),--(MOD(COLUMN(INDEX(Sheet2!$B$2:$I$3,MATCH(A2,Sheet2!A$2:A$3,FALSE),0)),2)=1)))

Adjust the sheet and range references to suit.
 
Upvote 0

Forum statistics

Threads
1,214,902
Messages
6,122,161
Members
449,069
Latest member
msilva74

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