Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default SUMPRODUCT DUPLICATES

I am having issues with duplicating lines of info i am currently using a
SUMPRODUCT and and INDEX function but can n ot seem to get it to work
acurately.

Current Data
EQ# Cost Code Hours
1 2.2.200
1 3.2.710 4
1 3.4.700 3
1 3.4.710 5
1 3.4.710 6
1 3.4.710 5
1 3.4.710 2
1 3.4.710 2
1 3.4.710 2
1 3.4.710 8
1 3.4.710 7
1 3.4.710 8
1 3.4.710 7
1 3.4.710 6
1 3.4.710 4
1 3.4.710 6
1 5.2.100 5

I would like to go to a second sheet put in 1 eq number and have it populate
the cost codes and sum of hours within those cost codes without duplicating
cost codes and hours.





  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default SUMPRODUCT DUPLICATES

Hi,

I'm struggling to understand the relevance of 1 in the EQ# column because
everything is 1. To sum cost codes from another sheet simply use

=SUMPRODUCT((Sheet1!B1:B17="3.4.710")*(Sheet1!C1:C 17))

In practice I'd use a cell reference for "3.4.710"

Mike

"GSemler" wrote:

I am having issues with duplicating lines of info i am currently using a
SUMPRODUCT and and INDEX function but can n ot seem to get it to work
acurately.

Current Data
EQ# Cost Code Hours
1 2.2.200
1 3.2.710 4
1 3.4.700 3
1 3.4.710 5
1 3.4.710 6
1 3.4.710 5
1 3.4.710 2
1 3.4.710 2
1 3.4.710 2
1 3.4.710 8
1 3.4.710 7
1 3.4.710 8
1 3.4.710 7
1 3.4.710 6
1 3.4.710 4
1 3.4.710 6
1 5.2.100 5

I would like to go to a second sheet put in 1 eq number and have it populate
the cost codes and sum of hours within those cost codes without duplicating
cost codes and hours.





  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,180
Default SUMPRODUCT DUPLICATES

Use Excel 2007 PivotTable.
No formulas needed.
http://www.savefile.com/files/1853571


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
Conditional SUMPRODUCT or SUMPRODUCT with Filters Ted M H Excel Worksheet Functions 4 August 14th 08 07:50 PM
Condensing a list with duplicates to a list with non-duplicates Nuclear Excel Worksheet Functions 2 July 29th 08 08:03 PM
Duplicates in excel that aren't 100% DUPLICATES ... [email protected] Excel Discussion (Misc queries) 4 May 2nd 08 06:43 PM
Duplicates Guy Lydig Excel Discussion (Misc queries) 7 November 20th 07 04:40 AM
SUMPRODUCT to count items with duplicates where another column contains two defined items PCLIVE Excel Worksheet Functions 4 September 8th 07 10:33 AM


All times are GMT +1. The time now is 04:47 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"