Splitting Data

J

jez123456

Hi, I have an excel spreadsheet with 4000 rows. Sample data from the Amount
column is as follows:

Amount
£0.00
£400.00
-£20.00
-£20.00
£100.00
-£50.00
-£8.99
-£44.57
-£30.00
-£9.39
-£20.00
£100.00

Is there a quick way to seperate this data into positve and negative amounts
to give:

Credit Debit
£0.00
£400.00
-£20.00
-£20.00
£100.00
-£50.00
-£8.99
-£44.57
-£30.00
-£9.39
-£20.00
£100.00

Many Thanks
 
A

Andy Brown

jez123456 said:
Is there a quick way to seperate this data into positve and negative
amounts

How quick? In the first column to the right, use

=IF($A1>=0,$A1,"")

& copy down. In the second column to the right,

=IF($B1="",$A1,"")

& copy down. Select & copy the 2 columns, then Edit -- Paste Special --
Values.

Rgds,
Andy
 
D

David Jessop

Hi,

Assuming your data is in column A, then just put into column B
=IF (A1>=0,A1,"")
and in column C
=IF(A1<0,A1,"")

Or put whatever else you want as the third parameter.

HTH,

David Jessop
 
J

jez123456

Many thanks, that works great. How do I now get a running Balance in the next
column? I.E.

Credit Debit Balance
£0.00 £0.00
£400.00 £400.00
-£20.00 £380.00
-£20.00 £360.00
£100.00 £460.00
-£50.00 £410.00
 
A

Andy Brown

jez123456 said:
Many thanks, that works great. How do I now get a running Balance in the next
column? I.E.

Assuming a start figure in C2, use

=C2+SUM(A3:B3)

in C3 & copy down.

Rgds,
Andy
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top