+ Reply to Thread
Results 1 to 4 of 4

Trying to copy ledger account names and numbers to each row

  1. #1
    Registered User
    Join Date
    04-22-2014
    Location
    Finland, Turku
    MS-Off Ver
    Excel 2010
    Posts
    2

    Trying to copy ledger account names and numbers to each row

    Hello!

    I've been working with ledgers to analyze companies financials in detail mostly using pivot tables and charts.

    I usually get the data in a format that has the account name and number as a title on top and then each entry for this account under the title. In order to get my pivots working I need to copy the account name and number to each row until the next title.

    Here is a picture to help understand what I mean:
    Makrokyssäri.png

    So is there a formula or a macro that could help me avoid doing the copying manually?

    Thank you in advance for your help!

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2504 Win 11
    Posts
    24,717

    Re: Trying to copy ledger account names and numbers to each row

    Picture:

    Hi and welcome to the forum

    Please do not upload a picture of your file...rather, upload a sample of your workbook, showing what data you are working with, a few samples of your expected outcome (manually entered is ok) and how you arrived at that. (Exclude sensitive info). Pictures are pretty much impossible to edit, and no-one wants to re-type your data for you. Also, not all members can upload picture files (Company firewalls, etc.)

    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Trying to copy ledger account names and numbers to each row

    Hi and welcome to the forum
    In general

    1. Select the range you need to update
    2. Hit the F5 key, choose Goto Special and select Blanks
    3. In the first blank cell (which will be active by default) enter =, {Up Arrow}, Ctrl-Enter
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  4. #4
    Registered User
    Join Date
    04-22-2014
    Location
    Finland, Turku
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Trying to copy ledger account names and numbers to each row

    Thanks a lot! I'd never thought it would be that simple!

+ 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. Auto transfer some information from stock ledger to Party Ledger......
    By mahsanpk in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 10-04-2013, 02:42 AM
  2. [SOLVED] Remove an account range form a column with account numbers.
    By kokapelly in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 09-09-2013, 11:34 AM
  3. [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
  4. Sales Ledger auto creates Customer account
    By Point5 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-11-2011, 07:58 AM
  5. Account Ledger
    By tariqnaz2005 in forum Access Programming / VBA / Macros
    Replies: 0
    Last Post: 06-24-2010, 09:21 AM

Tags for this Thread

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