+ Reply to Thread
Results 1 to 5 of 5

Formula to copy to values to specific rows

  1. #1
    Registered User
    Join Date
    10-31-2008
    Location
    England
    MS-Off Ver
    MS 2013
    Posts
    42

    Formula to copy to values to specific rows

    Evening All,

    Wondered if anyone had any ideas on the attached. It's layed out exactly the same as an output I have from an accounts report package.

    Column A lists an account code on the summary line of each invoice. I'd like to copy this account code upwards for each individual line of the invoice so that I can summarise each type of charge by account code in a pivot table.

    I'm a bit stumped as to how to do it. If possible I don't want to have to modify the data itself in any way so that I can paste new data in the each day without altering it.

    I've started on the right with a CountA function for each row, which I was intending as a means to identifying the blanks rows and discount them, but it also showed up that each line requiring an account code to be copied returns a 4 and each invoice summary line returns a 9. I'm just not sure how to reflect this in a function.

    Any ideas greatfully recieved!
    Last edited by Simon1185; 12-03-2009 at 04:55 AM.

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Formula to copy to values to specific rows

    attachment has dissapeared into the wilder reaches of the internet!
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    10-31-2008
    Location
    England
    MS-Off Ver
    MS 2013
    Posts
    42

    Re: Formula to copy to values to specific rows

    This should do it!
    Attached Files Attached Files

  4. #4
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Formula to copy to values to specific rows

    If you want to use formulae... let's assume codes to be listed in M

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    10-31-2008
    Location
    England
    MS-Off Ver
    MS 2013
    Posts
    42

    Re: Formula to copy to values to specific rows

    Very sorry I didn't reply following your suggestion, it worked perfectly thanks!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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