Sum of values with dynamic reference

mk5584

New Member
Joined
Jan 23, 2014
Messages
8
Hi everyone,

Can someone help with a formula for below scenario,

The values in Cells D1, D2 and D3 are user inputs.
A formula in B16 should sum values in database (ie sum of B6 to B11)

Example :
A
B
C
D
E
1
Enter the column no
B
2
Enter the start row no
6
3
Enter the end row no
11
4
5
13
7
2
8
73
6
15
4
38
8
0
7
21
13
32
89
156
8
32
55
78
97
121
9
40
36
21
30
60
10
17
13
2
6
23
11
21
28
53
96
157
12
25
43
61
79
97
13
18
18
18
18
18
14
15
16
Result
149

<tbody>
</tbody>
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.

Forum statistics

Threads
1,217,383
Messages
6,136,257
Members
450,001
Latest member
KWeekley08

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