+ Reply to Thread
Results 1 to 9 of 9

Decreasing numbers in cell

  1. #1
    Registered User
    Join Date
    01-23-2010
    Location
    Retford, England
    MS-Off Ver
    Excel 2004 for mac
    Posts
    2

    Decreasing numbers in cell

    Can anyone help me with programming a range of cells so that they decrease by a set amount.

    If I start with the top cell reading 200, then want the next cell down to read 195, then 190 etc can I do this without having to manual enter the numbers?

    Can this be done with dates as well?

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,436

    Re: Decreasing numbers in cell

    Enter 200 in A1
    Select range to populate, A1:A10

    Edit > Fill > Series
    Step value -5

    Just notice you are using Mac version. Not sure if the menu is in exactly the same place.
    Cheers
    Andy
    www.andypope.info

  3. #3
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: Decreasing numbers in cell

    try =200-5*ROWS($A$1:A1)

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

    Re: Decreasing numbers in cell

    Quote Originally Posted by AP
    Enter 200 in A1
    Select range to populate, A1:A10

    Edit > Fill > Series
    Step value -5
    Nice Andy! I always forget that you can do nice little things like that ! ... I can't give you rep though unfortunately... apparently I have to share the love first

    (zbor, either 205 or ROWS(A$1:A1)-1 else first number would be 195)

  5. #5
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Decreasing numbers in cell

    as an alternative to zbor's formula

    enter 200 in cell A1
    enter this formula in A2

    =A1-5

    copy down

    Nice Andy! I always forget that you can do nice little things like that !
    I often feel we're too keen on providing a VBA or formula solution rather than using built-in Excel features.

  6. #6
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: Decreasing numbers in cell

    Correct... Also can define starting value (A1) and step (A2)

    =$A$1-$A$2*(ROWS($A$1:A1)-1)

  7. #7
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,436

    Re: Decreasing numbers in cell

    You can also populate the first 2 values and then select and drag

    A1: =200
    A2: =195

    Select A1:A2 and drag when cursor changes to bold cross over bottom right corner of cell.

  8. #8
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Decreasing numbers in cell

    @zbor
    Quote Originally Posted by shg
    Entia non sunt multiplicanda sine necessitate.
    ..............

  9. #9
    Registered User
    Join Date
    01-23-2010
    Location
    Retford, England
    MS-Off Ver
    Excel 2004 for mac
    Posts
    2

    Re: Decreasing numbers in cell

    Wow!

    Thanks for the speedy responses and the number of replies!

    Some forums take days to answer!

+ 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