+ Reply to Thread
Results 1 to 5 of 5

Sumif roundup and divide used in the same formula

  1. #1
    Registered User
    Join Date
    02-29-2012
    Location
    Germany
    MS-Off Ver
    Excel 2011 MAC
    Posts
    77

    Sumif roundup and divide used in the same formula

    I have a spread sheet that I want to add values together if they meet a certain criteria and I want that value divided by 0.20 and round it up to the whole number... Anyone have an idea of how to do this
    Here is what I have for the sumif formula


    <code>=SUMIF(A64:A88;"*kabel*";(B64:B88)) <code>

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Sumif roundup and divide used in the same formula

    =ROUNDUP(SUMIF(A64:A88;"*kabel*";B64:B88)/0.2;0)
    or
    =CEILING(SUMIF(A64:A88;"*kabel*";B64:B88)/0.2;1)
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Registered User
    Join Date
    02-29-2012
    Location
    Germany
    MS-Off Ver
    Excel 2011 MAC
    Posts
    77

    Re: Sumif roundup and divide used in the same formula

    Quote Originally Posted by Ace_XL View Post
    =ROUNDUP(SUMIF(A64:A88;"*kabel*";B64:B88)/0.2;0)
    or
    =CEILING(SUMIF(A64:A88;"*kabel*";B64:B88)/0.2;1)
    I tried that but I keep getting an error

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Sumif roundup and divide used in the same formula

    works just fine see attached
    Attached Files Attached Files
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  5. #5
    Registered User
    Join Date
    02-29-2012
    Location
    Germany
    MS-Off Ver
    Excel 2011 MAC
    Posts
    77

    Re: Sumif roundup and divide used in the same formula

    I have no idea what was going on but now it works... lol Thanks a million!

+ 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