A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Selecting data by date differences



 
 
Thread Tools Display Modes
  #1  
Old August 26th, 2008, 03:25 PM posted to microsoft.public.excel.worksheet.functions
saylur
external usenet poster
 
Posts: 5
Default Selecting data by date differences

I have a large amount of data which includes account numbers and
'transactions.' Each account has more than one transaction, and each
transaction has an associated date. I.e.:

Account Transaction Date
123 1 1/1/08
123 2 1/31/08
234 1 1/15/08
234 2 1/16/08
234 3 1/17/08

OK; How do I create a report which extracts all account data for each
account with transactions less than a certain number of days apart (like 30
days apart)?

My macro and formula skills are limited.

THanks for any help!

  #2  
Old August 26th, 2008, 05:15 PM posted to microsoft.public.excel.worksheet.functions
Roger Govier[_3_]
external usenet poster
 
Posts: 2,297
Default Selecting data by date differences

Hi

Maybe something like
=SUMPRODUCT(($A$2:$A$6=A2)*($C$2:$C$6=C2-15)*($C$2:$C$6=C2+15))

--
Regards
Roger Govier

"saylur" wrote in message
...
I have a large amount of data which includes account numbers and
'transactions.' Each account has more than one transaction, and each
transaction has an associated date. I.e.:

Account Transaction Date
123 1 1/1/08
123 2 1/31/08
234 1 1/15/08
234 2 1/16/08
234 3 1/17/08

OK; How do I create a report which extracts all account data for each
account with transactions less than a certain number of days apart (like
30
days apart)?

My macro and formula skills are limited.

THanks for any help!

  #3  
Old August 26th, 2008, 05:28 PM posted to microsoft.public.excel.worksheet.functions
Roger Govier[_3_]
external usenet poster
 
Posts: 2,297
Default Selecting data by date differences

Please ignore post.
I had read it that you wanted to Count the transactions.

Having seen your duplicate posting in .programming, I have now read it
correctly, that you are wanting to EXTRACT transactions.

--
Regards
Roger Govier

"Roger Govier" roger@technology4unospamdotcodotuk wrote in message
...
Hi

Maybe something like
=SUMPRODUCT(($A$2:$A$6=A2)*($C$2:$C$6=C2-15)*($C$2:$C$6=C2+15))

--
Regards
Roger Govier

"saylur" wrote in message
...
I have a large amount of data which includes account numbers and
'transactions.' Each account has more than one transaction, and each
transaction has an associated date. I.e.:

Account Transaction Date
123 1 1/1/08
123 2 1/31/08
234 1 1/15/08
234 2 1/16/08
234 3 1/17/08

OK; How do I create a report which extracts all account data for each
account with transactions less than a certain number of days apart (like
30
days apart)?

My macro and formula skills are limited.

THanks for any help!

  #4  
Old August 26th, 2008, 06:56 PM posted to microsoft.public.excel.worksheet.functions
Herbert Seidenberg
external usenet poster
 
Posts: 1,113
Default Selecting data by date differences

Use Excel 2003 List
or Excel 2007 Table.
Helper column needed:
http://www.savefile.com/files/1751485


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 09:13 AM.


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