Forum Discussion
rack38
Jan 23, 2019Copper Contributor
Help with formula in Excel
I am trying to separate some cells from a bank exported file in excel and need some help from someone much smarter than I am.
This is what I have: All the numbers in column C are together as credits and debits. I need to move the debits to column D.
A | B | C | D |
Date | Description | Credit | Debit |
12/26/18 | Withdrawal ACH VERIZON WIRELESS | 360.93 | |
12/26/18 | Withdrawal ACH Bear River | 319.28 | |
12/26/18 | Deposit ACH Square Inc | 88.36 | |
12/26/18 | Deposit ACH Square Inc | 17.65 |
This is what I need it to look like: I need a formula that puts column C and moves it to column
D if the text in column B has the word "deposit". If it has the word "withdrawal" then it stays
in column C.
A | B | C | D |
Date | Description | Credit | Debit |
12/26/18 | Withdrawal ACH VERIZON WIRELESS | 360.93 | |
12/26/18 | Withdrawal ACH Bear River | 319.28 | |
12/26/18 | Deposit ACH Square Inc | 88.36 | |
12/26/18 | Deposit ACH Square Inc | 17.65 |
Thank you for your help.
2 Replies
Sort By
- Rich99Iron ContributorHi
I would create a new column for the deposit and use this formula =IF(LEFT(B3,4)="Depo",C3,"")
for the withdrawal use this one =IF(LEFT(B3,4)="With",C3,""). If you want to delete your original column of values remember to highlight the columns with the formulas and copy special, Values then paste the values back into the cells, otherwise hide the original column.
Rich- rack38Copper Contributor
Rich,
Thank you so much, that worked like a charm.