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 Summing Data by Date

I would like to summarise data by date for example
A1 B1 - Date, Value
1/2/9 10
1/2/9 12
2/2/9 34
3/2/9 27
4/2/9 56

with results in another range of cells:
1/2/9 22
2/2/9 34
3/2/9 27
4/2/9 56
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Summing Data by Date

Put headers for your data. Use advanced filter to generate unique records to
say Col D

DataFilterAdvanced FilterSelect Copy to another location..Select the list
range, Mention 'copy to' as (say cell D1). Check "Unique Records only'..OK
In E2 use the below formula and copy that down
=SUMIF(A:A,D2,B:B)

If this post helps click Yes
---------------
Jacob Skaria


"Nigel P" wrote:

I would like to summarise data by date for example
A1 B1 - Date, Value
1/2/9 10
1/2/9 12
2/2/9 34
3/2/9 27
4/2/9 56

with results in another range of cells:
1/2/9 22
2/2/9 34
3/2/9 27
4/2/9 56

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Summing Data by Date

Forgot to mention to selection the date column only

DataFilterAdvanced FilterSelect Copy to another location..Select the date
column...

If this post helps click Yes
---------------
Jacob Skaria


"Jacob Skaria" wrote:

Put headers for your data. Use advanced filter to generate unique records to
say Col D

DataFilterAdvanced FilterSelect Copy to another location..Select the list
range, Mention 'copy to' as (say cell D1). Check "Unique Records only'..OK
In E2 use the below formula and copy that down
=SUMIF(A:A,D2,B:B)

If this post helps click Yes
---------------
Jacob Skaria


"Nigel P" wrote:

I would like to summarise data by date for example
A1 B1 - Date, Value
1/2/9 10
1/2/9 12
2/2/9 34
3/2/9 27
4/2/9 56

with results in another range of cells:
1/2/9 22
2/2/9 34
3/2/9 27
4/2/9 56

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Summing Data by Date



"Jacob Skaria" wrote:

Forgot to mention to selection the date column only

DataFilterAdvanced FilterSelect Copy to another location..Select the date
column...

If this post helps click Yes
---------------
Jacob Skaria


"Jacob Skaria" wrote:

Put headers for your data. Use advanced filter to generate unique records to
say Col D

DataFilterAdvanced FilterSelect Copy to another location..Select the list
range, Mention 'copy to' as (say cell D1). Check "Unique Records only'..OK
In E2 use the below formula and copy that down
=SUMIF(A:A,D2,B:B)

If this post helps click Yes
---------------
Jacob Skaria


"Nigel P" wrote:

I would like to summarise data by date for example
A1 B1 - Date, Value
1/2/9 10
1/2/9 12
2/2/9 34
3/2/9 27
4/2/9 56

with results in another range of cells:
1/2/9 22
2/2/9 34
3/2/9 27
4/2/9 56


Hi thanks for the help. It gives the desired result. One small question
though, is it possible to keep adding values in the colums A and B after
performing the Advanced filter copy, and see the new data appear in the
summary columns automatically? I want to give this spreadsheet to a friend to
continue to add data too, and would not want to ask the person to do Advanced
filter copy. thanks
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Summing Data by Date

Nigel

Try the below formulas in Col D

In D2
=SMALL(A2:A1000,1)

In D3 and the below cells use the below formula. Please note that this is an
array formula. Within the cell in edit mode (F2) paste this formula and press
Ctrl+Shift+Enter to apply this formula. If successful in 'Formula Bar' you
can notice the curly braces at both ends like "{=<formula}"

(in one line).
=IF(OR(MAX($A$2:$A$1000)=D2,D2=""),"",MIN(IF($A$2: $A$1000D2,$A$2:$A$1000)))

In Col E use the previous formula itself

If this post helps click Yes
---------------
Jacob Skaria


"Nigel P" wrote:



"Jacob Skaria" wrote:

Forgot to mention to selection the date column only

DataFilterAdvanced FilterSelect Copy to another location..Select the date
column...

If this post helps click Yes
---------------
Jacob Skaria


"Jacob Skaria" wrote:

Put headers for your data. Use advanced filter to generate unique records to
say Col D

DataFilterAdvanced FilterSelect Copy to another location..Select the list
range, Mention 'copy to' as (say cell D1). Check "Unique Records only'..OK
In E2 use the below formula and copy that down
=SUMIF(A:A,D2,B:B)

If this post helps click Yes
---------------
Jacob Skaria


"Nigel P" wrote:

I would like to summarise data by date for example
A1 B1 - Date, Value
1/2/9 10
1/2/9 12
2/2/9 34
3/2/9 27
4/2/9 56

with results in another range of cells:
1/2/9 22
2/2/9 34
3/2/9 27
4/2/9 56


Hi thanks for the help. It gives the desired result. One small question
though, is it possible to keep adding values in the colums A and B after
performing the Advanced filter copy, and see the new data appear in the
summary columns automatically? I want to give this spreadsheet to a friend to
continue to add data too, and would not want to ask the person to do Advanced
filter copy. thanks



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Summing Data by Date

Nigel

Forgot to mention to format Column D as Date..

If this post helps click Yes
---------------
Jacob Skaria


"Jacob Skaria" wrote:

Nigel

Try the below formulas in Col D

In D2
=SMALL(A2:A1000,1)

In D3 and the below cells use the below formula. Please note that this is an
array formula. Within the cell in edit mode (F2) paste this formula and press
Ctrl+Shift+Enter to apply this formula. If successful in 'Formula Bar' you
can notice the curly braces at both ends like "{=<formula}"

(in one line).
=IF(OR(MAX($A$2:$A$1000)=D2,D2=""),"",MIN(IF($A$2: $A$1000D2,$A$2:$A$1000)))

In Col E use the previous formula itself

If this post helps click Yes
---------------
Jacob Skaria


"Nigel P" wrote:



"Jacob Skaria" wrote:

Forgot to mention to selection the date column only

DataFilterAdvanced FilterSelect Copy to another location..Select the date
column...

If this post helps click Yes
---------------
Jacob Skaria


"Jacob Skaria" wrote:

Put headers for your data. Use advanced filter to generate unique records to
say Col D

DataFilterAdvanced FilterSelect Copy to another location..Select the list
range, Mention 'copy to' as (say cell D1). Check "Unique Records only'..OK
In E2 use the below formula and copy that down
=SUMIF(A:A,D2,B:B)

If this post helps click Yes
---------------
Jacob Skaria


"Nigel P" wrote:

I would like to summarise data by date for example
A1 B1 - Date, Value
1/2/9 10
1/2/9 12
2/2/9 34
3/2/9 27
4/2/9 56

with results in another range of cells:
1/2/9 22
2/2/9 34
3/2/9 27
4/2/9 56


Hi thanks for the help. It gives the desired result. One small question
though, is it possible to keep adding values in the colums A and B after
performing the Advanced filter copy, and see the new data appear in the
summary columns automatically? I want to give this spreadsheet to a friend to
continue to add data too, and would not want to ask the person to do Advanced
filter copy. thanks

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Summing Data by Date


Nigel P;392126 Wrote:
I would like to summarise data by date for example
A1 B1 - Date, Value
1/2/9 10
1/2/9 12
2/2/9 34
3/2/9 27
4/2/9 56

with results in another range of cells:
1/2/9 22
2/2/9 34
3/2/9 27
4/2/9 56


If your dates are truly sequential like that... then you can enter the
first date somewhere and fill down the column to get the sequential
dates...then in adjacent column, use SUMIF...

e.g =Sumif($A$1:$A$100,X1,$B$1:$B$100)

where A1:B100 contain your original table of dates/values and X1
contains first date to summarize...

... alternatively look into Pivot tables... (Google Pivot Tables
Tutorials, and similar).


--
NBVC

Where there is a will there are many ways.
------------------------------------------------------------------------
NBVC's Profile: http://www.thecodecage.com/forumz/member.php?userid=74
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=109598

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
summing transactions based on date bobby769 Excel Discussion (Misc queries) 2 May 25th 09 04:40 AM
Summing data between two date criteria Anna Wood Excel Worksheet Functions 5 February 27th 09 10:25 PM
Summing Data by date from different tables Sarahbeth Excel Worksheet Functions 3 June 22nd 07 05:38 AM
summing a date range david72 Excel Discussion (Misc queries) 1 May 18th 06 01:14 PM
Summing clock in and out by date Jim Excel Worksheet Functions 1 January 19th 06 03:16 PM


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