jmcgillis14
New Member
- Joined
- Sep 24, 2014
- Messages
- 12
I have a very long list that I run a macro for. I need the total credit cards (Visa + Master Card + American Express) for that day. On top of that I am running a Macro and the date range is different every time. I think I need a formula that consolidates the "Date" Column so it doesn't repeat then I can come up with a rules based on that to pull out the credit cards and add them up? Let me know if there is any way you can help. Thank you! Below is three columns which is an example of the data. To the right is an example of what I am trying to accomplish.
[TABLE="width: 712"]
<tbody>[TR]
[TD]Account Name[/TD]
[TD] Amount[/TD]
[TD] Date[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]ACH[/TD]
[TD="align: right"]$24.03[/TD]
[TD="align: right"]8/17/2018[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Cash[/TD]
[TD="align: right"]$21.00[/TD]
[TD="align: right"]8/17/2018[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Checks[/TD]
[TD="align: right"]$71.61[/TD]
[TD="align: right"]8/17/2018[/TD]
[TD][/TD]
[TD] TRYING TO ACCOMPLISH BELOW:[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Credit Card - Visa[/TD]
[TD="align: right"]$156.00[/TD]
[TD="align: right"]8/17/2018[/TD]
[TD][/TD]
[TD]Total Credits Credit Cards[/TD]
[TD]Date[/TD]
[/TR]
[TR]
[TD]Credit Card - Master Card[/TD]
[TD="align: right"]$25.00[/TD]
[TD="align: right"]8/17/2018[/TD]
[TD][/TD]
[TD="align: right"]$181.00[/TD]
[TD="align: right"]8/17/2018[/TD]
[/TR]
[TR]
[TD]Late Fee Revenue[/TD]
[TD="align: right"]$0.00[/TD]
[TD="align: right"]8/17/2018[/TD]
[TD][/TD]
[TD="align: right"]$233.00[/TD]
[TD="align: right"]8/20/2018[/TD]
[/TR]
[TR]
[TD]Rental Revenue[/TD]
[TD="align: right"]$0.00[/TD]
[TD="align: right"]8/17/2018[/TD]
[TD][/TD]
[TD="align: right"]$671.23[/TD]
[TD="align: right"]8/23/2018[/TD]
[/TR]
[TR]
[TD]Cash[/TD]
[TD="align: right"]$289.22[/TD]
[TD="align: right"]8/20/2018[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Credit Card - American Express[/TD]
[TD="align: right"]$120.00[/TD]
[TD="align: right"]8/20/2018[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Credit Card - Visa[/TD]
[TD="align: right"]$113.00[/TD]
[TD="align: right"]8/20/2018[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Administrative Fee Revenue[/TD]
[TD="align: right"]$0.00[/TD]
[TD="align: right"]8/20/2018[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Late Fee Revenue[/TD]
[TD="align: right"]$0.00[/TD]
[TD="align: right"]8/20/2018[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Airport Revenue[/TD]
[TD="align: right"]$0.00[/TD]
[TD="align: right"]8/20/2018[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Parking Revenue[/TD]
[TD="align: right"]$0.00[/TD]
[TD="align: right"]8/20/2018[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Parking Revenue[/TD]
[TD="align: right"]$0.00[/TD]
[TD="align: right"]8/21/2018[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Rental Revenue[/TD]
[TD="align: right"]$0.00[/TD]
[TD="align: right"]8/21/2018[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Credit Card - Visa[/TD]
[TD="align: right"]$413.00[/TD]
[TD="align: right"]8/22/2018[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Rental Revenue[/TD]
[TD="align: right"]$0.00[/TD]
[TD="align: right"]8/22/2018[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Credit Card - American Express[/TD]
[TD="align: right"]$260.00[/TD]
[TD="align: right"]8/23/2018[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Credit Card - Master Card[/TD]
[TD="align: right"]$59.90[/TD]
[TD="align: right"]8/23/2018[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Credit Card - Visa[/TD]
[TD="align: right"]$351.33[/TD]
[TD="align: right"]8/23/2018[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 712"]
<tbody>[TR]
[TD]Account Name[/TD]
[TD] Amount[/TD]
[TD] Date[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]ACH[/TD]
[TD="align: right"]$24.03[/TD]
[TD="align: right"]8/17/2018[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Cash[/TD]
[TD="align: right"]$21.00[/TD]
[TD="align: right"]8/17/2018[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Checks[/TD]
[TD="align: right"]$71.61[/TD]
[TD="align: right"]8/17/2018[/TD]
[TD][/TD]
[TD] TRYING TO ACCOMPLISH BELOW:[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Credit Card - Visa[/TD]
[TD="align: right"]$156.00[/TD]
[TD="align: right"]8/17/2018[/TD]
[TD][/TD]
[TD]Total Credits Credit Cards[/TD]
[TD]Date[/TD]
[/TR]
[TR]
[TD]Credit Card - Master Card[/TD]
[TD="align: right"]$25.00[/TD]
[TD="align: right"]8/17/2018[/TD]
[TD][/TD]
[TD="align: right"]$181.00[/TD]
[TD="align: right"]8/17/2018[/TD]
[/TR]
[TR]
[TD]Late Fee Revenue[/TD]
[TD="align: right"]$0.00[/TD]
[TD="align: right"]8/17/2018[/TD]
[TD][/TD]
[TD="align: right"]$233.00[/TD]
[TD="align: right"]8/20/2018[/TD]
[/TR]
[TR]
[TD]Rental Revenue[/TD]
[TD="align: right"]$0.00[/TD]
[TD="align: right"]8/17/2018[/TD]
[TD][/TD]
[TD="align: right"]$671.23[/TD]
[TD="align: right"]8/23/2018[/TD]
[/TR]
[TR]
[TD]Cash[/TD]
[TD="align: right"]$289.22[/TD]
[TD="align: right"]8/20/2018[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Credit Card - American Express[/TD]
[TD="align: right"]$120.00[/TD]
[TD="align: right"]8/20/2018[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Credit Card - Visa[/TD]
[TD="align: right"]$113.00[/TD]
[TD="align: right"]8/20/2018[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Administrative Fee Revenue[/TD]
[TD="align: right"]$0.00[/TD]
[TD="align: right"]8/20/2018[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Late Fee Revenue[/TD]
[TD="align: right"]$0.00[/TD]
[TD="align: right"]8/20/2018[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Airport Revenue[/TD]
[TD="align: right"]$0.00[/TD]
[TD="align: right"]8/20/2018[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Parking Revenue[/TD]
[TD="align: right"]$0.00[/TD]
[TD="align: right"]8/20/2018[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Parking Revenue[/TD]
[TD="align: right"]$0.00[/TD]
[TD="align: right"]8/21/2018[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Rental Revenue[/TD]
[TD="align: right"]$0.00[/TD]
[TD="align: right"]8/21/2018[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Credit Card - Visa[/TD]
[TD="align: right"]$413.00[/TD]
[TD="align: right"]8/22/2018[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Rental Revenue[/TD]
[TD="align: right"]$0.00[/TD]
[TD="align: right"]8/22/2018[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Credit Card - American Express[/TD]
[TD="align: right"]$260.00[/TD]
[TD="align: right"]8/23/2018[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Credit Card - Master Card[/TD]
[TD="align: right"]$59.90[/TD]
[TD="align: right"]8/23/2018[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Credit Card - Visa[/TD]
[TD="align: right"]$351.33[/TD]
[TD="align: right"]8/23/2018[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Last edited: