+ Reply to Thread
Results 1 to 5 of 5

Formula for Specific number addition

  1. #1
    Registered User
    Join Date
    02-15-2011
    Location
    London, England
    MS-Off Ver
    Excel 2007 & 2010
    Posts
    32

    Question Formula for Specific number addition

    Hi All,

    I am looking for a formula to return a figure as follows:

    Cell A3 is updated during an on going month, the result is to appear in A10 which which will update according to A3.

    If A3 = 0 return 0

    If A3 = 1 to 4 return 1

    If A3 = 5 to 8 return 2

    If A3 = 9 to 12 return 3

    If A3 = 13 to 16 return 4

    If A3 = 17 to 20 return 5

    etc etc

    Thanks in advance.
    Last edited by Sandpit; 03-09-2011 at 09:47 AM.

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

    Re: Formula for Specific number addition

    Perhaps:

    Please Login or Register  to view this content.
    obviously if A3 can sit outside of 0-20 boundary you might want to add an IFERROR handler or pre-emptive test.

    (whole numbers assumed given outlined bands)

  3. #3
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: Formula for Specific number addition

    Perhaps
    Please Login or Register  to view this content.
    in A10

  4. #4
    Registered User
    Join Date
    02-15-2011
    Location
    London, England
    MS-Off Ver
    Excel 2007 & 2010
    Posts
    32

    Re: Formula for Specific number addition

    Thanks very much, CEILING Formula works a treat!!

  5. #5
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: Formula for Specific number addition

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

+ 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