How to pickup value from non continuous columns?

xlmaniac

Well-known Member
Joined
Jul 2, 2009
Messages
527
Office Version
  1. 2010
Platform
  1. Windows
Dear All,
I do have a sample data set across A7:M12 as follows:-
Week1Week1Week1Week2Week2Week2Week3Week3Week3Week4Week4Week4
Store(A8)ABCABCABCABC
161%64%39%64%63%41%66%66%44%60%62%37%
282%59%48%82%63%52%81%54%44%70%67%46%
382%63%51%77%82%63%61%61%38%63%70%44%
Overall67%60%40%68%63%43%67%60%40%62%63%39%(M12)
I want to pickup value from the above table as per following summary across B1:F5.
The value from Column Headers under C needs to be picked up under every week.[C=A*B]
Can somebody help me out with the formulae across columns C to F which can populate the desired results from the data set?
Store(B1)Week1(C1)Week2(D1)Week3(E1)Week4(F1)
139%41%44%37%
248%52%44%46%
351%63%38%44%
Overall40%43%40%39%
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
try this

Book1
ABCDEFGHIJKLM
1Store(B1)Week1Week2Week3Week4
2139%41%44%37%
3248%52%44%46%
4351%63%38%44%
5Overall40%43%40%39%
6
7Week1Week1Week1Week2Week2Week2Week3Week3Week3Week4Week4Week4
8Store(A8)ABCABCABCABC
9161%64%39%64%63%41%66%66%44%60%62%37%
10282%59%48%82%63%52%81%54%44%70%67%46%
11382%63%51%77%82%63%61%61%38%63%70%44%
12Overall67%60%40%68%63%43%67%60%40%62%63%39%
Sheet2
Cell Formulas
RangeFormula
C2:F5C2=SUMPRODUCT($B$9:$M$12*(--($B$7:$M$7=C$1)*($B$8:$M$8="C")*($A$9:$A$12=$B2)))
 
Upvote 0
Solution
try this

Book1
ABCDEFGHIJKLM
1Store(B1)Week1Week2Week3Week4
2139%41%44%37%
3248%52%44%46%
4351%63%38%44%
5Overall40%43%40%39%
6
7Week1Week1Week1Week2Week2Week2Week3Week3Week3Week4Week4Week4
8Store(A8)ABCABCABCABC
9161%64%39%64%63%41%66%66%44%60%62%37%
10282%59%48%82%63%52%81%54%44%70%67%46%
11382%63%51%77%82%63%61%61%38%63%70%44%
12Overall67%60%40%68%63%43%67%60%40%62%63%39%
Sheet2
Cell Formulas
RangeFormula
C2:F5C2=SUMPRODUCT($B$9:$M$12*(--($B$7:$M$7=C$1)*($B$8:$M$8="C")*($A$9:$A$12=$B2)))
Thank you AlanY for the excellent solution.
Really appreciate your support!!
 
Upvote 0

Forum statistics

Threads
1,214,812
Messages
6,121,696
Members
449,048
Latest member
81jamesacct

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