LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Bruno G.
 
Posts: n/a
Default Display specific rows from table on other worksheet

Here's what I would like to do, starting with the following data:

Date Year Amount Description
25/04/04 2005 25.65 Aaaa
26/04/04 2004 32.25 Bbbb
27/04/04 2004 48.54 Cccc
28/04/04 2005 63.24 Dddd
01/01/05 2004 14.25 Eeee
02/01/05 2004 96.57 Ffff
03/01/05 2005 48.57 Gggg
04/01/05 2004 73.50 Hhhh

I have a table with 4 columns: Date the payment is made, Year for wich the
payment is made, Amount and Description. Each columns is associated with a
dynamic named range (AllDates, AllYears, AllAmounts, AllDesc).

On a different worksheet, I would like to automatically list the rows in
which a payment is made for a different year, with separate lists for
payments for 2004 made in 2005 and for payments for 2005 made in 2004.
Something like that:

For 2004 (payments made in 2005):
Date Year Amount Description
01/01/05 2004 14.25 Eeee
02/01/05 2004 96.57 Ffff
04/01/05 2004 73.50 Hhhh

For 2005 (payments made in 2004):
Date Year Amount Description
25/04/04 2005 25.65 Aaaa
28/04/04 2005 63.24 Dddd

I'm guessing that I need some kind of array formula, but can't really find a
way to do it...
The only thing I could come up with is
{ =IF(AND(YEAR(AllDates)=2004;AllYears=2005);AllDate s;"") }
but it doesn't return anything (no errors either), and even if it did I
would have empty rows inbetween the rows I want.

I also looked at Pivot Tables, but couldn't really put my mind around
that...

So, is it possible to do this with worksheet functions? Or do I have to go
the VBA way, and generate my lists 'manually'?

I'm usually pretty good finding stuff with Google, but I have a hard time
finding appropriate search words for this...

Thank you!

Bruno G.


 
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
Hyperlink to specific worksheet in Excel Glenn Mulno Links and Linking in Excel 2 February 7th 05 06:01 PM
How to get pivot table data columns instead of rows Jessica Excel Discussion (Misc queries) 0 January 19th 05 04:29 PM
empty rows at bottom of worksheet michael g Excel Discussion (Misc queries) 2 January 18th 05 09:17 PM
How to use outline data (grouped rows) in a protected worksheet? biometris Excel Discussion (Misc queries) 0 January 17th 05 09:47 AM
How do I display a data table in an Excel 2002 chart? Dr. Mark F. Charts and Charting in Excel 3 December 29th 04 03:04 PM


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