#1   Report Post  
jez123456
 
Posts: n/a
Default Splitting Data

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

  #2   Report Post  
Andy Brown
 
Posts: n/a
Default

"jez123456" wrote in message
...
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


  #3   Report Post  
David Jessop
 
Posts: n/a
Default

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

"jez123456" wrote:

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

  #4   Report Post  
jez123456
 
Posts: n/a
Default

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




"David Jessop" wrote:

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

"jez123456" wrote:

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

  #5   Report Post  
Andy Brown
 
Posts: n/a
Default

"jez123456" wrote in message
...
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


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with data not getting plotted Scott Ehrlich Excel Discussion (Misc queries) 2 January 25th 05 05:17 AM
Help with data not getting plotted Scott Ehrlich Charts and Charting in Excel 1 January 23rd 05 05:15 PM
Pulling data from 1 sheet to another Dave1155 Excel Worksheet Functions 1 January 12th 05 05:55 PM
Charting data ranges that change mikelee101 Charts and Charting in Excel 2 December 16th 04 11:07 PM
Running Data Table using an input that triggers DDE linked data [email protected] Excel Discussion (Misc queries) 1 December 16th 04 11:56 AM


All times are GMT +1. The time now is 06:01 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"