Solved

Urgent question

Posted on 2002-05-24
8
154 Views
Last Modified: 2010-05-02
I have file in excel:

name           transaction   amount        
john                         D              20            
john                         W              10            
john                         I              5              
Marry                        D              10            

D=deposit transaction
I=interest transaction
W=Withdrawal transaction

my question is how to shape those data into  this figure below in excel ? i'm currently use VBA for excel

name   Total deposit  total interest  total withdrawal
john          20                 5                     10
marry         10
0
Comment
Question by:xaveboyz
8 Comments
 
LVL 44

Expert Comment

by:bruintje
ID: 7032985
Hi, xaveboyz

you mean you already have a macro or you want one to get this result?

HTH:O)Bruintje
0
 

Author Comment

by:xaveboyz
ID: 7032997
i mean, i dont know the code in vba  for doing that
0
 
LVL 44

Expert Comment

by:bruintje
ID: 7033000
ok i'm patching up a sample
0
Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

 

Author Comment

by:xaveboyz
ID: 7033001
i mean, i dont know the code in vba  for doing that
0
 
LVL 44

Expert Comment

by:bruintje
ID: 7033047
no need to code you can use a pivottable to do this

don't know which version of excel you use you can download a small sample here

http://www.bredlum.com/ee_temp/xlpivotsample.xls

just let me know if you need more help
:O)Bruintje
0
 

Author Comment

by:xaveboyz
ID: 7033808
sorry bruintje,but  i really need the vba code, thanks for help anyway
0
 
LVL 49

Expert Comment

by:DanRollins
ID: 7818518
Hi xaveboyz,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:

    Refund points and save as a 0-pt PAQ.

xaveboyz, Please DO NOT accept this comment as an answer.
EXPERTS: Post a comment if you are certain that an expert deserves credit.  Explain why.
==========
DanRollins -- EE database cleanup volunteer
0
 

Accepted Solution

by:
SpideyMod earned 0 total points
ID: 7909943
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question