If F2 is -, then move that number to G2

mrsellshomes

New Member
Joined
Sep 23, 2017
Messages
8
I have bank statements that have some withdrawals (column G) in the deposit column (F). See example below. Can you PLEASE help me get these -$ figures into column G?! THANK YOU!!!

Post DateTransaction DescriptionAccount NumberAccount NumberTransaction DescriptionWithdrawalDeposit Balance
Jan 01 2016Previous BalancePrevious Balance$1141.11
Jan 03 2016Withdrawal Debit Card Signature DebitWithdrawal Debit Card Signature Debit -6$1135.11

<colgroup><col><col><col><col><col><col span="3"></colgroup><tbody>
</tbody>
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
Welcome to the MrExcel board!

I have bank statements that have some withdrawals (column G) in the deposit column (F). See example below. Can you PLEASE help me get these -$ figures into column G?! THANK YOU!!!
I presume that red G was meant to be an E. If so, try this in G3 and copy down

=SUM(G2,E3:F3)
 
Last edited:
Upvote 0
Re: If E2 is -, then move that number to E2

My apologies! Yes. Withdrawals are in E. Deposits are in F. Some withdrawals are showing up in column F as - numbers. I need those to be moved to column E on the same row on if the number is negative in column F. Otherwise I need it to stay there. Tried the formula but it didn't work.
 
Upvote 0
Re: If E2 is -, then move that number to E2

I need those to be moved to column E on the same row on if the number is negative in column F. Otherwise I need it to stay there.
Since a formula cannot remove a number from where it is, you must be looking for a macro?

Can you show us a slightly larger set of sample data so that we can see the variation in how it is arranged?

Also please show us the expected final result from that sample data so we know exactly what we are aiming for.
 
Last edited:
Upvote 0
Re: If F2 is -, then move that number to E2

I would be good with them copied to a third column or moved to E. Either way. You'll see the -3.04 and -79.46 that appear in column F. Those should be in column E or copied to a third column. As long as that third takes the negatives already in E and the negatives in F (there will never be a negative in E and F on the same row). You can see the desired result in the third column below. Again, there isn't a negative in E AND F in any row. I have thousands of rows :/

Example

Post DateTransaction DescriptionAccount NumberAccount NumberTransaction DescriptionWithdrawalDeposit
CU 9200 SE 82ND AVE HAPPY VALLEY ORCU 9200 SE 82ND AVE HAPPY VALLEY OR
Jan 22 2016Withdrawal POS #602303083491 POS SPACE AGE NO. 14Withdrawal POS #602303083491 POS SPACE AGE NO. 14-10.21
CLACKAMAS ORCLACKAMAS OR
Jan 23 2016Withdrawal POS #602319735645 POS FRED MEYER FREDWithdrawal POS #602319735645 POS FRED MEYER FRED-76.39
MEYER 143 HILLSBORO ORMEYER 143 HILLSBORO OR
Jan 23 2016-202.95
Jan 23 2016-82.95
SW BASELINE RUS HILLSBORO ORSW BASELINE RUS HILLSBORO OR
Jan 23 2016Withdrawal POS #602402397261 POS SPACE AGE NO. 14Withdrawal POS #602402397261 POS SPACE AGE NO. 14-3.04
CLACKAMAS ORCLACKAMAS OR
Jan 24 2016Withdrawal Debit Card Signature DebitWithdrawal Debit Card Signature Debit-79.46
6.02E+096.02E+09


<colgroup><col><col><col span="2"><col><col></colgroup><tbody>
</tbody>



Desired result

Post DateTransaction DescriptionAccount NumberAccount NumberTransaction DescriptionWithdrawalDeposit or add to another column
CU 9200 SE 82ND AVE HAPPY VALLEY ORCU 9200 SE 82ND AVE HAPPY VALLEY OR
Jan 22 2016Withdrawal POS #602303083491 POS SPACE AGE NO. 14Withdrawal POS #602303083491 POS SPACE AGE NO. 14-10.21-10.21
CLACKAMAS ORCLACKAMAS OR
Jan 23 2016Withdrawal POS #602319735645 POS FRED MEYER FREDWithdrawal POS #602319735645 POS FRED MEYER FRED-76.39-76.39
MEYER 143 HILLSBORO ORMEYER 143 HILLSBORO OR
Jan 23 2016-202.95-202.95
Jan 23 2016-82.95-82.95
SW BASELINE RUS HILLSBORO ORSW BASELINE RUS HILLSBORO OR
Jan 23 2016Withdrawal POS #602402397261 POS SPACE AGE NO. 14Withdrawal POS #602402397261 POS SPACE AGE NO. 14-3.04
CLACKAMAS ORCLACKAMAS OR
Jan 24 2016Withdrawal Debit Card Signature DebitWithdrawal Debit Card Signature Debit-79.46

<colgroup><col span="9"></colgroup><tbody>
</tbody>
 
Upvote 0
Re: If F2 is -, then move that number to E2

Since you are happy to have them in a third column then a formula could be used, as shown in H3, copied down.


Book1
EFGH
1WithdrawalDeposit
2
3-10.21-10.21
4
5-76.39-76.39
6
7-202.95-202.95
8-82.95-82.95
9
10-3.04-3.04
11
12-79.46-79.46
Collect Negatives
Cell Formulas
RangeFormula
H3=IF(OR(E3<0,F3<0),MIN(E3:F3),"")
 
Upvote 0
Re: If F2 is -, then move that number to E2

Now I guess I just have to remove the negatives from F :) Forgot about that part :/
 
Upvote 0
Re: If F2 is -, then move that number to E2

Now I guess I just have to remove the negatives from F :) Forgot about that part :/
Like this?


Book1
EFGHI
1WithdrawalDepositWithdrawalDeposit
2
3-10.21-10.21 
42525
5-76.39-76.39
6
7-202.95-202.95
8-82.95-82.95
9100100
10-3.04-3.04
112.232.23
12-79.46-79.46
Collect Negatives
Cell Formulas
RangeFormula
H3=IF(OR(E3<0,F3<0),MIN(E3:F3),"")
I3=IF(OR(F3="",F3<0),"",F3)
 
Upvote 0

Forum statistics

Threads
1,215,086
Messages
6,123,033
Members
449,092
Latest member
ikke

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