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 Comparing and sum'ing data


Hi - I have 2 coloumns of mixed data, 1 with values and 1 with a
catergory code. I would like to summarise the data, ie I may have 50
items of catergory "STK" but would like to know the total value. The
aim is to have 2 sheets in excel, 1 as a summary page, the other as the
data sheet.

What formulae would I use please?


--
danuk2006
------------------------------------------------------------------------
danuk2006's Profile: http://www.excelforum.com/member.php...o&userid=36522
View this thread: http://www.excelforum.com/showthread...hreadid=562742

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Comparing and sum'ing data


Try

Data Filter advance filter on your list. Click Unique records.

Copy these over to your summary page in cell A1 say. Put this forumla
into cell B1

Note Change Data to Sheet name where your data is based. Change ranges
as appropriate.

=SUMPRODUCT(--(Data!$A$1:$A$100=Summary!A1)*(--(Data!B1:B100)))

VBA Noob


--
VBA Noob
------------------------------------------------------------------------
VBA Noob's Profile: http://www.excelforum.com/member.php...o&userid=33833
View this thread: http://www.excelforum.com/showthread...hreadid=562742

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,339
Default Comparing and sum'ing data

Try:

=Sumproduct(--(range1="STK"),(range2))

ranges cannot be columns i.e. must of form $A$1:$A$100 not $A:$A

HTH

"danuk2006" wrote:


Hi - I have 2 coloumns of mixed data, 1 with values and 1 with a
catergory code. I would like to summarise the data, ie I may have 50
items of catergory "STK" but would like to know the total value. The
aim is to have 2 sheets in excel, 1 as a summary page, the other as the
data sheet.

What formulae would I use please?


--
danuk2006
------------------------------------------------------------------------
danuk2006's Profile: http://www.excelforum.com/member.php...o&userid=36522
View this thread: http://www.excelforum.com/showthread...hreadid=562742


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Comparing and sum'ing data


TOP BANANNA !

cheers


--
danuk2006
------------------------------------------------------------------------
danuk2006's Profile: http://www.excelforum.com/member.php...o&userid=36522
View this thread: http://www.excelforum.com/showthread...hreadid=562742

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



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