SUM a dynamic range

SHOOTme

New Member
Joined
Mar 22, 2010
Messages
1
I'm new at this excel stuff.
My eyes are laying on my keyboard for having watched umteen "How To Videos" yet I still can't figure this out. ...just shoot me! I'm a DBA so my thought processes, well, is a bit different...

How do you SUM a dynamic range???
This is simple, right??

Heres my worksheet:
An invoice shows items sold: 1 thru 15 items (dynamic) and each price.
A SUM totaling (is that a word?) the prices of all items purchased.

The layout is typical:

Dog Food $3.00
Cat Food $1.00

Total $4.00

If I only offer 15 items for sale, yet a customer can purchase as few as 1 item, how do I total the dynamic range of prices for Items purchased?
 

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.
Hi and welcome to the forum.

Structure your spreadsheet so you have different columns, how many and a cost per item, then a total column multiplying the other 2

As other items are being added to the order you should then get a running total, if you add a sum of the last column a little further down the sheet, example as below:
Excel Workbook
BCDE
2TinsCost Per TinTotal
3Dog food30.752.25
4Cat Food10.560.56
5Another Tin231.227.6
6
7
8
9
10
11Total food30.41
Sheet2



ANother view with the formula shown

Excel Workbook
BCDE
2TinsCost Per TinTotal
3Dog food30.75=D3*C3
4Cat Food10.56=D4*C4
5Another Tin231.2=D5*C5
6
7
8
9
10
11Total food=SUM(E3:E10)
Sheet2
 
Upvote 0

Forum statistics

Threads
1,220,965
Messages
6,157,119
Members
451,399
Latest member
alchavar

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