+ Reply to Thread
Results 1 to 10 of 10

Increase cell by +1 to previous cell

  1. #1
    Registered User
    Join Date
    01-31-2013
    Location
    Waupun, WI
    MS-Off Ver
    Excel 2010
    Posts
    4

    Increase cell by +1 to previous cell

    An old newbie here, trying to get number value to increase by 1 in the cell previous descending down a column. Please keep in mind I have very little experience with formulas in Excel, but very willing to learn.

    Thanks in advance for any help I get.

  2. #2
    Forum Expert Moo the Dog's Avatar
    Join Date
    09-28-2012
    Location
    Wisconsin
    MS-Off Ver
    Office 365 (PC & Mac)
    Posts
    1,845

    Re: Increase cell by +1 to previous cell

    If you have the number 1 in cell A1, then in A2 enter: =A1+1 then hit enter.

    Then you can hover over the lower right corner of cell A2, a small square will appear. Click and hold on that square, and drag down however many rows you need to increase the count, then let go of the mouse button.

    - Moo

  3. #3
    Registered User
    Join Date
    01-31-2013
    Location
    Waupun, WI
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Increase cell by +1 to previous cell

    I should have explained what I am trying to do better. I have numbers like 0040-01 and want it to go to 0040-02 and so on. Is this even possible, these are drawing numbers.

  4. #4
    Forum Contributor Legend Rubber's Avatar
    Join Date
    09-21-2012
    Location
    Tillsonburg, Ontario
    MS-Off Ver
    Excel 2010
    Posts
    392

    Re: Increase cell by +1 to previous cell

    just drag the little square in the bottom right down however many you like...
    it will increase by 1 each time...

  5. #5
    Forum Expert Moo the Dog's Avatar
    Join Date
    09-28-2012
    Location
    Wisconsin
    MS-Off Ver
    Office 365 (PC & Mac)
    Posts
    1,845

    Re: Increase cell by +1 to previous cell

    OK, if your range starts in cell A1, you can try this in A2:

    =LEFT(A1,FIND("-",A1))&TEXT(RIGHT(A1,2)+1,"00")

    - Moo

  6. #6
    Registered User
    Join Date
    01-31-2013
    Location
    Waupun, WI
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Increase cell by +1 to previous cell

    Thanks a bunch Moo, now I just need to try to understand the formula you wrote. So maybe I can write my own in time.

  7. #7
    Forum Expert Moo the Dog's Avatar
    Join Date
    09-28-2012
    Location
    Wisconsin
    MS-Off Ver
    Office 365 (PC & Mac)
    Posts
    1,845

    Re: Increase cell by +1 to previous cell

    =LEFT(A1,FIND("-",A1))&TEXT(RIGHT(A1,2)+1,"00")

    The LEFT function, as written, is looking in cell A1 for a -, and will return all of the characters up to and including the -
    So, in your example (0040-01), it finds the - at character 5, and returns 0040-

    The "&" combines the two operations so the output is concatenated into one cell

    The RIGHT function, as written, is getting the last two digits of cell A1. I then add 1 (+1) to those digits to increment the value, which results in 0040-2

    To format it as 02, the TEXT function handles that by defining the format as "00"

    Hope that helps!

    - Moo

  8. #8
    Registered User
    Join Date
    01-31-2013
    Location
    Waupun, WI
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Increase cell by +1 to previous cell

    Hey Moo,
    That helps a bunch, I can see I will have some home work if I am going to learn what all the text and symbols stand for and can do when placed correctly in a formula.

  9. #9
    Forum Guru Winon's Avatar
    Join Date
    02-20-2007
    Location
    East Rand, R.S.A.
    MS-Off Ver
    2010
    Posts
    6,113

    Re: Increase cell by +1 to previous cell

    @ Moo the Dog,

    Very nice and well explained.
    Please consider:

    Be polite. Thank those who have helped you. Then Click on the star icon in the lower left part of the contributor's post and add Reputation. Cleaning up when you're done. If you are satisfied with the help you have received, then Please do Mark your thread [SOLVED] .

  10. #10
    Forum Expert Moo the Dog's Avatar
    Join Date
    09-28-2012
    Location
    Wisconsin
    MS-Off Ver
    Office 365 (PC & Mac)
    Posts
    1,845

    Re: Increase cell by +1 to previous cell

    Thanks Winon. Appreciate the comment.

    - Moo

+ 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