Categorizing formula

jwillits

New Member
Joined
Jul 10, 2018
Messages
36
Office Version
  1. 2010
Platform
  1. Windows
So we have bank statements that come in and we are trying to organize everything from example A to look like example B. To do this, we need to have a formula that takes into account the date, to put it in the correct month, as well as listing it under the correct subcategory.

What would the formula look like if I wanted to list the all Paymentech Deposits from example A under the Bank Fees subcategory in example B in September.

Also, for the chargeback, what would the formula look like if I wanted to list all Paymentech Chargebacks from Example A into McKesson from example B in September?

Take into account that one is negative and one is positive and it will have to be able to include all deposits/chargebacks from the list of data.


Example A

<style type="text/css"><!--td {border: 1px solid #ccc;}br {mso-data-placement:same-cell;}--></style>
DEBIT09/27/2018PAYMENTECH CHARGEBACK 234234 CCD ID: 124234213-2000DEBIT_CARD112093.06
CREDIT09/26/2018PAYMENTECH DEPOSIT 2524323 CCD ID: 14613465122745.32ACH_CREDIT110430.76
DEBIT09/24/2018PAYMENTECH CHARGEBACK 25435234 CCD ID: 12512451-747ACH_DEBIT
CREDIT09/05/2018PAYMENTECH DEPOSIT 221342343 CCD ID: 12343214257.76ACH_DEBIT

<colgroup><col style="width: 113px"><col width="100"><col width="443"><col width="115"><col width="100"><col width="100"></colgroup><tbody>
</tbody>

Example B

<style type="text/css"><!--td {border: 1px solid #ccc;}br {mso-data-placement:same-cell;}--></style>
EXPENSE

JULYAUGSEP
COGS

RETAIL

SKINCARE

DERMALOGICA

1,00000
SKINCEUTICALS

1,5002,0001,000
MAKEUP

JANE IREDALE

02501,000
MEDICAL SUPPLIES

MCKESSON

1,5002005,000
MEDICINE

COMPOUNDED

OLYMPIA PHARMACY

00500
BRAND NAME

MCKESSON

07000
TOTAL

4,0003,1507,500
SGA
TRAVEL

SOUTHWEST

05000
TOTAL

5,5004,55013,000
FINANCING

BANK FEES

150200100
TOTAL

9,6509,10020,600
GRAND TOTAL

19,15016,80041,100

<colgroup><col style="width: 33px"><col width="34"><col width="34"><col width="34"><col width="36"><col width="100"><col width="100"><col width="100"><col width="100"></colgroup><tbody>
</tbody>
<style type="text/css"><!--td {border: 1px solid #ccc;}br {mso-data-placement:same-cell;}--></style>
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Date might use =Text(cell,"mm-yy")
 
Upvote 0

Forum statistics

Threads
1,214,606
Messages
6,120,490
Members
448,967
Latest member
visheshkotha

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top