Lookup and sum across columns

JV0710

Active Member
Joined
Oct 26, 2006
Messages
440
Office Version
  1. 365
  2. 2016
  3. 2013
Platform
  1. Windows
Hi All

Please can I have some help wityh the folowing query:

As seen in the picture below, In cell D2, I want to:

Go to the column = to value in A2, and the row = value in B2.
Then from that point sum 3.6 columns across.

The value I am looking for in Cell D2 is 15.6 ==> " sum(g8:I8)+(j8*0.6) "

I require a formula to calculate this value please

Thanks

JVN

Book1
ABCDEFGHIJKLM
1
2w2Harry3.615.6
3
4w1w2w3w4w5w6w7
5John5657945
6Mary6547873
7Jane74377125
8Harry83276136
9Joe92175165
10Carol101474197
11Sue113673228
12Kevin128572255
13Steve136778284
14Len1478753111
15Alice158376348
16Ian169877379
17
Sheet1
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
One way:

=SUM(OFFSET(E4,MATCH(B2,E4:E16,FALSE)-1,MATCH(A2,E4:L4,FALSE)-1,1,3),(OFFSET(E4,MATCH(B2,E4:E16,FALSE)-1,MATCH(A2,E4:L4,FALSE)+2)*0.6))
 
Upvote 0
Here's Andrew's formula, but using the value in C2 to create the 3 and the .6
which is what I think you wanted...

=SUM(OFFSET($E$4,MATCH(B2,$E$5:$E$16,0),MATCH(A2,$F$4:$L$4,0),1,C2))+(OFFSET($E$4,MATCH(B2,$E$5:$E$16,0),MATCH(A2,$F$4:$L$4,0)+C2)*MOD(C2,1))

Excel Workbook
ABCDEFGHIJKL
1
2w2Harry3.615.6
3
4w1w2w3w4w5w6w7
5John5657945
6Mary6547873
7Jane74377125
8Harry83276136
9Joe92175165
10Carol101474197
11Sue113673228
12Kevin128572255
13Steve136778284
14Len1478753111
15Alice158376348
16Ian169877379
Sheet1
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,595
Messages
6,179,798
Members
452,943
Latest member
Newbie4296

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