+ Reply to Thread
Results 1 to 3 of 3

Adding Owner Name Based on Account Code in Column A

  1. #1
    Registered User
    Join Date
    08-31-2013
    Location
    Seattle
    MS-Off Ver
    Excel 2013
    Posts
    2

    Adding Owner Name Based on Account Code in Column A

    This is a copy of part of my long Financial Repor list in which I have to manually type in the name of the owners on top of each account in column B. It looks like below samples

    I want a macro that automatically insert the owner names on top of each account number on column B based on account code in column A. It looks like this: If 40 on Column A, insert Taylor on the top of Column B, if 50, insert Brandon; if 60 insert Duval and so on….Then I will continue finish your macro until reaching the end of my record.

    Thank you for your help! Tango

    A B C
    Taylor
    40 12.14 7/1/2013
    40 5.16 7/5/2013
    40 8.43 7/12/2013
    25.73


    Brandon
    50 6.12 7/1/2013
    50 8.19 7/5/2013
    50 125 7/12/2013
    139.31


    Duval
    60 5.78 7/1/2013
    60 6.45 7/5/2013
    60 5.12 7/12/2013
    17.35

    Carlos
    80 11.11 7/1/2013
    80 31.16 7/5/2013
    80 48.12 7/12/2013
    80 134 7/18/2013
    80 45.32 7/20/2013
    269.71
    Last edited by t.tango; 08-31-2013 at 02:13 AM.

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Adding Owner Name Based on Account Code in Column A

    Please attach a sample workbook with enough data to make it clear what is needed.

    If 40 on Column A, insert Taylor on the top of Column B, if 50, insert Brandon; if 60 insert Duval and so on….Then I will continue finish your macro until reaching the end of my record
    At the same time enter the Number and Name in a separate sheet so that we can match and add the names.

    Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are demonstrated, mock them up manually if needed. Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic

    Note: Please don't attach documents containing confidential data like (address, telephone, ID#s, etc.).


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Registered User
    Join Date
    08-31-2013
    Location
    Seattle
    MS-Off Ver
    Excel 2013
    Posts
    2

    Re: Adding Owner Name Based on Account Code in Column A

    Thank you for your quick response Sixthsense!

    I will get the samples when get back to work on Tuesday 9/3. However, I describe briefly the processing that bring the report to this point:
    I receive 10-page monthly financial report that list money of 47 owners deposited during the month. Then, I run a macro that delete no need information, sort, total, insert rows, format the report. Finally, it ends up to this point as you can see in my sample from which look exactly my real report: Account code on Column A, money deposited on Column B and date deposited on Column C.

    I want to add to my current macro that can insert the names of the owners on top of column B for each owner based on account code on Column A. Of course, I will edit your suggested macro to fit my report.

    Do you still want to see my real report? Thank you Sixthsense!

    Tango

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] How to censor account numbers based on how many characters are in the account number
    By Mcorydon in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-25-2013, 01:06 PM
  2. [SOLVED] Adding Values from One Column Based on Criteria in another column
    By andymc80 in forum Excel General
    Replies: 1
    Last Post: 01-30-2013, 09:29 AM
  3. Replies: 3
    Last Post: 04-19-2012, 10:45 AM
  4. VBA code for raw data + account code + dept id
    By mingali in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 06-06-2010, 07:29 PM
  5. adding values of a column based on another column content
    By gideong in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-16-2009, 11:53 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1