+ Reply to Thread
Results 1 to 6 of 6

Increment cell range

  1. #1
    Registered User
    Join Date
    04-06-2011
    Location
    Charlotte, NC
    MS-Off Ver
    Excel 2007
    Posts
    9

    Increment cell range

    i want to increment the range I am pasting to from C5 to C41
    Please Login or Register  to view this content.
    i was thinking I could do something like this, but it keeps giving me errors

    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: Increment cell range

    hi, djhatrick12, can you explain what do you have and what should be the result?

  3. #3
    Registered User
    Join Date
    04-06-2011
    Location
    Charlotte, NC
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: Increment cell range

    I think that I figured it out.

    Does is make sense to do :

    Please Login or Register  to view this content.
    I think that works....

    But what if I have a string called "sFile5"

    how would I increment the 5 from 5 to 41 also? Is there any way to connect it to the "i" I am unsing?

  4. #4
    Valued Forum Contributor jwright650's Avatar
    Join Date
    12-10-2010
    Location
    Va, USA
    MS-Off Ver
    Excel 2003, Excel 2010
    Posts
    606

    Re: Increment cell range

    Please Login or Register  to view this content.
    .....don't you want to go from 5 to 41?...and not row5+i (ie row10 through 46)

    If so try the red line above.
    Life is like a roll of toilet paper. The closer it gets to the end, the faster it goes.
    John Wright

  5. #5
    Registered User
    Join Date
    04-06-2011
    Location
    Charlotte, NC
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: Increment cell range

    Awesome. Yeah that makes more sense. Thanks a lot!

    Now how do you mark the post as answered?

  6. #6
    Valued Forum Contributor jwright650's Avatar
    Join Date
    12-10-2010
    Location
    Va, USA
    MS-Off Ver
    Excel 2003, Excel 2010
    Posts
    606

    Re: Increment cell range

    go back to your first post in this thread and "edit"...Go Advanced....change title prefix to Solved

+ 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