Need a formula to populate figures from other cells

Goddess

Board Regular
Joined
Dec 3, 2015
Messages
94
Office Version
  1. 2019
Platform
  1. Windows
Hi,

I have a table here, where members will key in the data (C4:D5) in the "Data Sheet" column. I will then need to populate the figures into the "Summary" column (H5:K7). Is there any formula to do this, or manually key in the cell references as what I'm doing now.

Book1
ABCDEFGHIJK
1Data SheetSummary
2
3Group1ApplesOrangeApplesOrange
4Asia13Asia EuropeAsia Europe
5Europe12Group11132
6Total25Group24558
7Group31556
8Group2ApplesOrangeTotal6111316
9Asia45
10Europe58
11Total913
12
13Group3ApplesOrange
14Asia15
15Europe56
16Total611
Sheet1
Cell Formulas
RangeFormula
H5H5=C4
I5I5=C5
J5J5=D4
K5K5=D5
H6H6=C9
I6I6=C10
J6,I7J6=D14
K6K6=D10
H7H7=C14
J7J7=D14
K7K7=D15
H8:K8H8=SUM(H5:H7)
C16:D16,C11:D11,C6:D6C6=SUM(C4:C5)


Thanks!
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
Not sure I really like my alternative, but I think this will work with formulas.

Book1
ABCDEFGHIJK
1Data SheetSummary
2
3Group1ApplesOrangeApplesOrange
4Asia13AsiaEuropeAsiaEurope
5Europe12Group11132
6Total25Group24558
7Group31556
8Group2ApplesOrangeTotal6111316
9Asia45
10Europe58
11Total913
12
13Group3ApplesOrange
14Asia15
15Europe56
16Total611
Sheet1
Cell Formulas
RangeFormula
H5:H7H5=INDEX($B$1:$D$16,3+MATCH($G5,$A$3:$A$16,0),COLUMN()-6)
I5:I7I5=INDEX($B$1:$D$16,4+MATCH($G5,$A$3:$A$16,0),COLUMN()-7)
J5:J7J5=INDEX($B$1:$D$16,3+MATCH($G5,$A$3:$A$16,0),COLUMN()-7)
K5:K7K5=INDEX($B$1:$D$16,4+MATCH($G5,$A$3:$A$16,0),COLUMN()-8)
H8:K8H8=SUM(H5:H7)
 
Upvote 0
Not sure I really like my alternative, but I think this will work with formulas.

Book1
ABCDEFGHIJK
1Data SheetSummary
2
3Group1ApplesOrangeApplesOrange
4Asia13AsiaEuropeAsiaEurope
5Europe12Group11132
6Total25Group24558
7Group31556
8Group2ApplesOrangeTotal6111316
9Asia45
10Europe58
11Total913
12
13Group3ApplesOrange
14Asia15
15Europe56
16Total611
Sheet1
Cell Formulas
RangeFormula
H5:H7H5=INDEX($B$1:$D$16,3+MATCH($G5,$A$3:$A$16,0),COLUMN()-6)
I5:I7I5=INDEX($B$1:$D$16,4+MATCH($G5,$A$3:$A$16,0),COLUMN()-7)
J5:J7J5=INDEX($B$1:$D$16,3+MATCH($G5,$A$3:$A$16,0),COLUMN()-7)
K5:K7K5=INDEX($B$1:$D$16,4+MATCH($G5,$A$3:$A$16,0),COLUMN()-8)
H8:K8H8=SUM(H5:H7)
thanks!
 
Upvote 0

Forum statistics

Threads
1,215,007
Messages
6,122,670
Members
449,091
Latest member
peppernaut

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