+ Reply to Thread
Results 1 to 6 of 6

Copy formula across columns, but row number to increase

  1. #1
    Forum Contributor
    Join Date
    03-20-2013
    Location
    Manchester
    MS-Off Ver
    Excel 2010
    Posts
    200

    Copy formula across columns, but row number to increase

    =IF('Part 2'!C10="","","H,"&'Part 2'!C10&",allocation,"&TEXT('Part 2'!$F$9,"dd/mm/yy"))
    =IF('Part 2'!C11="","","H,"&'Part 2'!C11&",allocation,"&TEXT('Part 2'!$F$9,"dd/mm/yy"))
    =IF('Part 2'!C12="","","H,"&'Part 2'!C12&",allocation,"&TEXT('Part 2'!$F$9,"dd/mm/yy"))

    Hi

    i need to be able to copy the above, from A1 to BP1

    but for the C to stick and the row number to go up 1

    can any one help

    thanks

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Copy formula across columns, but row number to increase

    post an excel example without confidential information.

    please also add the desired (expected) result.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Forum Contributor
    Join Date
    03-20-2013
    Location
    Manchester
    MS-Off Ver
    Excel 2010
    Posts
    200

    Re: Copy formula across columns, but row number to increase

    Cheers
    attached


    so the formula in A1 to go across to BP1

    with just the row number in the formula increasing

    thanks
    Attached Files Attached Files

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Copy formula across columns, but row number to increase

    Replace each instance of:

    'Part 2'!C10

    With:

    INDEX('Part 2'!$C$10:$C$100,COLUMNS($A1:A1))

    Adjust for the correct end of range where I use down to C100.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  5. #5
    Forum Contributor
    Join Date
    03-20-2013
    Location
    Manchester
    MS-Off Ver
    Excel 2010
    Posts
    200

    Re: Copy formula across columns, but row number to increase

    thank you sir

  6. #6
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Copy formula across columns, but row number to increase

    You're welcome!

+ 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. Replies: 4
    Last Post: 06-27-2012, 01:21 AM
  2. How to increase the number of columns.
    By istancutu in forum Excel General
    Replies: 4
    Last Post: 06-24-2006, 06:41 PM
  3. increase the number of columns from 256 to 365
    By carlosgdlf in forum Excel General
    Replies: 6
    Last Post: 01-24-2006, 07:30 PM
  4. [SOLVED] How to increase number of columns appear in a worksheet?
    By Dhinesh in forum Excel General
    Replies: 1
    Last Post: 01-09-2006, 01:45 PM
  5. Replies: 2
    Last Post: 01-16-2005, 05:06 PM

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