Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Summing values in a database against certain criteria

Hi, I'm really struggling with this formula, I'm sure there must be a way to
do it, but I just can't work it out!

I would like to sum values in a certain column in a database against
criteria set out in a cell.

I've got two sheets in my workbook, one with all the data, and one where I
need the data translated to. So my database is Sheet1!A1:M100 which counts
information, signups, calls etc which is all split according to different
agents. Each agent has a unique code in the format "MP23050" which are in
the data sheet. On Sheet2 I want to be able to identify the totals for each
agent under the various different headings.

I'm sure there must be a way to do it, but I'm really struggling
here...please help me!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Summing values in a database against certain criteria

One way is to create a pivot table, with the agents' codes' col header placed
in the ROW area, then the different headings' col headers placed in the DATA
area, set to summarize by counts/sum as appropriate. Then in the pivot sheet,
just drag "Data" & drop it over "Total" to achieve a col format.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Bella Gray" wrote:
Hi, I'm really struggling with this formula, I'm sure there must be a way to
do it, but I just can't work it out!

I would like to sum values in a certain column in a database against
criteria set out in a cell.

I've got two sheets in my workbook, one with all the data, and one where I
need the data translated to. So my database is Sheet1!A1:M100 which counts
information, signups, calls etc which is all split according to different
agents. Each agent has a unique code in the format "MP23050" which are in
the data sheet. On Sheet2 I want to be able to identify the totals for each
agent under the various different headings.

I'm sure there must be a way to do it, but I'm really struggling
here...please help me!

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Finding Most Recent Values in Col1 -- Summing Matching Values Rothman Excel Discussion (Misc queries) 5 December 20th 07 08:19 PM
=DMIN(database,field,criteria) question about criteria Dummy Excel Discussion (Misc queries) 2 April 16th 07 08:02 PM
summing values in a data table based on criteria in another column Dave F Excel Worksheet Functions 7 August 26th 06 04:36 PM
V-lookup and summing values if more than 1 matches criteria holcay Excel Worksheet Functions 3 February 6th 06 03:52 PM
Summing with multiple criteria qflyer Excel Worksheet Functions 3 June 21st 05 07:43 AM


All times are GMT +1. The time now is 04:14 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"