#1   Report Post  
Hodge
 
Posts: n/a
Default SUMIF problem


I am trying to create a SUMIF formula (maybe nested) that will take the
correct sum from a table of data that looks a little like below;

Initials Week created No of entries

AB 45 100
GH 46 80

I am trying to use this data to return a result into a summary table as
below

Week
45 46
Initials

AB
GH

for the person to the left & for the week specified above sum the
entries found in the data.

Hope someone can help.


--
Hodge
------------------------------------------------------------------------
Hodge's Profile: http://www.excelforum.com/member.php...o&userid=16342
View this thread: http://www.excelforum.com/showthread...hreadid=277308

  #2   Report Post  
Max
 
Posts: n/a
Default

One way ..

In Sheet1
-------------
Assume the table is in cols A to C,
data from row2 down, i.e.:

Initials WeekCreated NoOfEntries
AB 45 100
GH 46 80
etc

In Sheet2
-------------
With initials listed in A3 down,
and week #s listed in B2 across, viz.:

Week
Initials 45 46 etc
AB ? ?
GH ? ?
etc

Put in B3:

=SUMPRODUCT((Sheet1!$A$2:$A$1000=$A3)*(Sheet1!$B$2 :$B$1000=B$2),Sheet1!$C$2:
$C$1000)

Copy B3 across as required,
then fill down to populate the table

(Adjust the ranges to suit - these have to be identical,
and note that entire col references [B:B, C:C, etc]
cannot be used in SUMPRODUCT)

For the sample data in Sheet1, you'll get:

Week
Initials 45 46
AB 100 0
GH 0 80

To have a cleaner look,
you could suppress extraneous zeros from showing via:
Tools Options View tab Uncheck Zero values OK

--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----
"Hodge" wrote in message
...

I am trying to create a SUMIF formula (maybe nested) that will take the
correct sum from a table of data that looks a little like below;

Initials Week created No of entries

AB 45 100
GH 46 80

I am trying to use this data to return a result into a summary table as
below

Week
45 46
Initials

AB
GH

for the person to the left & for the week specified above sum the
entries found in the data.

Hope someone can help.


--
Hodge
------------------------------------------------------------------------
Hodge's Profile:

http://www.excelforum.com/member.php...o&userid=16342
View this thread: http://www.excelforum.com/showthread...hreadid=277308



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
Row Autofit problem Excel 2003 Matthias Klaey Excel Discussion (Misc queries) 0 January 19th 05 05:33 PM
Problem with date base units for x axis Peter Carr Charts and Charting in Excel 1 December 15th 04 09:11 AM
Paper Tray selection Problem, Michael Hoffmann Excel Discussion (Misc queries) 4 December 3rd 04 09:08 PM
label problem Raven Maniac Excel Worksheet Functions 5 November 10th 04 10:10 PM
Problem with Pivot Table Drop-Down Menus Mac Excel Worksheet Functions 4 November 7th 04 01:18 PM


All times are GMT +1. The time now is 07:37 PM.

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

About Us

"It's about Microsoft Excel"