+ Reply to Thread
Results 1 to 4 of 4

Fill Formulas

  1. #1
    Forum Contributor
    Join Date
    12-04-2003
    Location
    Burrton, Kansas USA
    MS-Off Ver
    2003
    Posts
    162

    Fill Formulas

    Hi!
    I export a report from Quickbooks that has data columns running left to right in Descending order.
    I have formulas that refer to this data but I want my columns to run left to right in Ascending order which means I have to write each formula separately in stead of lettting me copy-fill my cells to the right.

    Is there a way to do this with a macro more easily?

    Is there a way to do it without a macro?

    Thanks for any help you may give!!

  2. #2
    Forum Expert pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2016
    Posts
    5,330

    Re: Fill Formulas Problem

    Brian
    use something like
    Please Login or Register  to view this content.
    If the solution helped please donate to RSPCA

    Site worth visiting: Rabbitohs

  3. #3
    Forum Contributor
    Join Date
    12-04-2003
    Location
    Burrton, Kansas USA
    MS-Off Ver
    2003
    Posts
    162

    Re: Fill Formulas Problem

    Pike:

    K4 Refers to J4 then L4 refers to K4 etc.

    When I fill it needs to refer to cells going left.

    K4 refers to J4 then L4 refers to I4 then M4 refers to H4 and so on.

    Can you help do this? Thanks for the feedback!!!

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

    Re: Fill Formulas Problem

    In terms of native formulae, you can use INDEX

    K4: =INDEX($A4:$J4,COLUMNS($A4:$J4)-(COLUMNS($K4:K4)-1))
    copied across

    Or OFFSET

    K4: =OFFSET($J4,,1-COLUMNS($K4:K4))
    copied across

    the latter though shorter in terms of syntax is Volatile - both can be dragged etc...

+ 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