Problems with (Probably) simple formula

petiteshiraz

Board Regular
Joined
May 16, 2005
Messages
145
Hi!

I have a spreadsheet with two tabs. The first tab, “AM” has several bits of information and the names of different persons under the D column. In the second tab, “Stats” I’ll like to tally up the information based on the names in the D column of the first tab.

In other words, if Jane Smith has four line items of $1000 each, totaling $4000 – I want one line item in the second tab, totaling her sum as $4000.

Any ideas?
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.

rae30

Board Regular
Joined
May 27, 2002
Messages
147
page references

where is the data you want to add up. what columns..
 

pgc01

MrExcel MVP
Joined
Apr 25, 2006
Messages
19,887
Hi petiteshiraz

SUMIF will work but you'll have to set up the list manually and if the names change you'll have to rearrange the list.

Take a look at Pivot Tables. A Pivot Table will build the list automatically and besides the sum of sales by person, you can specify average value of a sale, highest sale, total by department, total sales overall, etc.

Hope this helps
PGC
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,168,128
Messages
5,857,531
Members
431,884
Latest member
Gcmoore63

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
Top