Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Consolidating Data


I have data in following format:

1 a 3
1 a 4
1 a 5
1 b 6
1 b 8
2 a 3
2 a 6
2 b 9
2 b 12

I need this to become:
1 a 12
1 b 14
2 a 9
2 b 21

Many thanks for a Macro which can assist me in this.


--
T De Villiers
------------------------------------------------------------------------
T De Villiers's Profile: http://www.excelforum.com/member.php...o&userid=26479
View this thread: http://www.excelforum.com/showthread...hreadid=529545

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Consolidating Data


hi!

try this!

=SUMPRODUCT(--(A1:A9=E1)*(B1:B9=F1)*(C1:C9))

assuming that your data in A1:C9
and your conditional value of COL A & COL B in E1 & F1 respectively!!!

-via13

--
via13
-----------------------------------------------------------------------
via135's Profile: http://www.excelforum.com/member.php...fo&userid=2672
View this thread: http://www.excelforum.com/showthread.php?threadid=52954

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Consolidating Data


Thats good, however my list actually involves over 10000 rows,
so im not sure if the solution to date is practical.

Regard

--
T De Villier
-----------------------------------------------------------------------
T De Villiers's Profile: http://www.excelforum.com/member.php...fo&userid=2647
View this thread: http://www.excelforum.com/showthread.php?threadid=52954

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Consolidating Data


don't worry the formula will take care of any number of rows! but yo
must specify the range!!!

-via13

--
via13
-----------------------------------------------------------------------
via135's Profile: http://www.excelforum.com/member.php...fo&userid=2672
View this thread: http://www.excelforum.com/showthread.php?threadid=52954

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Consolidating Data


The problem is I have loads of conditional values, how canI easil
identify thes

--
T De Villier
-----------------------------------------------------------------------
T De Villiers's Profile: http://www.excelforum.com/member.php...fo&userid=2647
View this thread: http://www.excelforum.com/showthread.php?threadid=52954



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Consolidating Data

Use a pivotTable on your data

Data=PivotTable report. Make the first two columns Row Fields and the
third column a Data Field. Set it to SUM (usually the default for numbers).


--
Regards,
Tom Ogilvy


"T De Villiers" wrote:


The problem is I have loads of conditional values, how canI easily
identify these


--
T De Villiers
------------------------------------------------------------------------
T De Villiers's Profile: http://www.excelforum.com/member.php...o&userid=26479
View this thread: http://www.excelforum.com/showthread...hreadid=529545


  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Consolidating Data


Sorry Tom,

wasnt completely clear in my original response. The data is in th
following
format:

1 a d e 3
1 a c e 4
2 a c v 5

Regard

--
T De Villier
-----------------------------------------------------------------------
T De Villiers's Profile: http://www.excelforum.com/member.php...fo&userid=2647
View this thread: http://www.excelforum.com/showthread.php?threadid=52954

  #8   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Consolidating Data

Answer is pretty much the same.

--
Regards,
Tom Ogilvy


"T De Villiers"
wrote in message
news:T.De.Villiers.25qn9b_1144151406.7767@excelfor um-nospam.com...

Sorry Tom,

wasnt completely clear in my original response. The data is in the
following
format:

1 a d e 3
1 a c e 4
2 a c v 5

Regards


--
T De Villiers
------------------------------------------------------------------------
T De Villiers's Profile:

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



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
Consolidating Data Steve Excel Discussion (Misc queries) 1 May 28th 10 03:14 PM
Consolidating Data Sisell Excel Worksheet Functions 1 February 17th 09 03:18 AM
Consolidating Data tgilmour Excel Discussion (Misc queries) 1 November 7th 07 02:06 AM
Need advice : consolidating data from multiple CSV files in Excel - External data handling Matthieu Gaillet Excel Programming 0 December 1st 05 09:02 AM
Consolidating data?? Louise Excel Worksheet Functions 2 November 8th 05 01:40 PM


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