Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 61
Default Transfer amount into next column with condition?

Hi to all
I have data field for bank entry like

Tran Date, Description,Dr-Cr,Amt,Balance.

Now How can i transfer amt of Dr. and Cr. into next column.

What i want is if there is Dr. amt it should goto DR. Coulmn and if Cr. amt
it should goto Cr. cloumn.

I have inserted Dr. and Cr. column into worksheet.

Like

Tran Date, Description, Dr-Cr, Amt, Dr, Cr,Balance.

So if in Dr-Cr column if Dr. than that amount should move into Dr. Column
same for Cr amt also.

Any help.

Thanks

****al
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 111
Default Transfer amount into next column with condition?

Try using an IF statement in your DR and CR columns. Something similar to:

=if(c5="DR",d5,0)
=if(c5="CR",d5,0)

--
Damon Longworth

Don't miss out on the 2005 Excel User Conference
Sept 16th and 17th
Stockyards Hotel - Ft. Worth, Texas
www.ExcelUserConference.com


"****al shah" wrote in message
...
Hi to all
I have data field for bank entry like

Tran Date, Description,Dr-Cr,Amt,Balance.

Now How can i transfer amt of Dr. and Cr. into next column.

What i want is if there is Dr. amt it should goto DR. Coulmn and if Cr.
amt
it should goto Cr. cloumn.

I have inserted Dr. and Cr. column into worksheet.

Like

Tran Date, Description, Dr-Cr, Amt, Dr, Cr,Balance.

So if in Dr-Cr column if Dr. than that amount should move into Dr. Column
same for Cr amt also.

Any help.

Thanks

****al



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
calulate amount based on multi condition Lowan Chan Excel Discussion (Misc queries) 6 December 8th 09 04:07 PM
transfer stock on condition bestman21 Excel Worksheet Functions 2 January 10th 09 12:32 PM
add numbers in a column and transfer result to another column planecents Excel Worksheet Functions 3 March 2nd 07 06:05 PM
Based on a condition in one column, search for a year in another column, and display data from another column in the same row look [email protected] Excel Discussion (Misc queries) 1 December 27th 06 05:47 PM
transfer cell $ amount to other sheet month-to-month without overc Colin2u Excel Discussion (Misc queries) 1 July 28th 05 02:36 AM


All times are GMT +1. The time now is 07:20 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"