Help with formula in Excel

Copper Contributor

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.

ABCD
DateDescriptionCreditDebit
12/26/18Withdrawal ACH VERIZON WIRELESS360.93 
12/26/18Withdrawal ACH Bear River319.28 
12/26/18Deposit ACH Square Inc88.36 
12/26/18Deposit ACH Square Inc17.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.

ABCD
DateDescriptionCreditDebit
12/26/18Withdrawal ACH VERIZON WIRELESS360.93 
12/26/18Withdrawal ACH Bear River319.28 
12/26/18Deposit ACH Square Inc 88.36
12/26/18Deposit ACH Square Inc 17.65

 

Thank you for your help.

2 Replies
Hi
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

Rich,

Thank you so much, that worked like a charm.