Using Excel 2007 --
I am tracking various amounts associated with single transaction that will have two different dates. At times, I will need the amounts subtotaled by one column/date and at other times subtotaled by the other column/date. My research has pointed me in towards two different options.
1) use of a pivot table in worksheet #2 & worksheet #3. I began using this approach but have run into some issues with with the dates not sorting in order....as well as the need to continue to refresh the tables....I also did not like the "look" of the table format.... I would also want to then write a macro to auto refresh anyway (which i am unsure how to do).
2) write two seperate macros in worksheet #1 that will run upon use of a "push button" that will subtotal according the the Date column
The file information is:
Column A - amount
Column B - amount
Column C - amount
Column D - amount
Column E - amount
Column F - amount
Column G - Date #1
Column H - Date #2
Assuming I use option 2....Any suggestions on the code that would be necessary...to sort by column G (one button) and column H (second button)?
THANKS IN ADVANCE!
Bookmarks