+ Reply to Thread
Results 1 to 18 of 18

Using SOMIF To sum cels only if other cell is checked please look the example

  1. #1
    Registered User
    Join Date
    05-18-2013
    Location
    holland
    MS-Off Ver
    Excel 2011
    Posts
    27

    Using SOMIF To sum cels only if other cell is checked please look the example

    Hey my second thead here b4 i start explaining ty again guys for giving your time to read this ^^

    so i have a row N5:N12 it has to sum it at cel N13 now next to it i have row O5:O13 in there you can click it to change it walue from emty to 0 to 1 so i want it to sum cells only who have a cell next to theam whit a value of 1 please see screen schot i dont realy know if this even is possible T-T Schermafbeelding 2013-05-19 om 16.15.56.png btw if any one whats my file im happy to share it

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Using SOMIF To sum cels only if other cell is checked please look the example

    @western

    it's sumif (in english) som.als (in dutch).

    You get better help if you add your excel file, without confidentional information.

    Please also add the desired (expected) result.


    Please Login or Register  to view this content.
    I don't any cell B4 in your posted PNG.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Using SOMIF To sum cels only if other cell is checked please look the example

    I don't understand your screencap.

    Maybe something like this:

    =SUMIF(O5:O12,1,N5:N12)
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  4. #4
    Registered User
    Join Date
    05-18-2013
    Location
    holland
    MS-Off Ver
    Excel 2011
    Posts
    27

    Re: Using SOMIF To sum cels only if other cell is checked please look the example

    I tried the code but dint work for some reason gave error but if i think it now maby im using wrong aproch take a look at the new image of what i ment ty guys for this any how ^^Schermafbeelding 2013-05-19 om 22.10.31.png

  5. #5
    Registered User
    Join Date
    05-18-2013
    Location
    holland
    MS-Off Ver
    Excel 2011
    Posts
    27

    Re: Using SOMIF To sum cels only if other cell is checked please look the example

    sorry the b4 was (before) so yeh you know b4 but was kinda stupid to type becouse this is a excel form hehe sorry for the misunderstanding

  6. #6
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Using SOMIF To sum cels only if other cell is checked please look the example

    I saw your PNG.

    My appoach would be using pivot table for that.

    You get better help if you add your excel file, without confidentional information.

    Then the forummembers can work with it (and test it).

  7. #7
    Registered User
    Join Date
    05-18-2013
    Location
    holland
    MS-Off Ver
    Excel 2011
    Posts
    27

    Re: Using SOMIF To sum cels only if other cell is checked please look the example

    yes ty (bedankt ^^) here is my file its still raw tho but you kan get the idea what i want to make :P

    here is the download link: http://we.tl/u709p7yZrU

    ty all for the help so far

  8. #8
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Using SOMIF To sum cels only if other cell is checked please look the example

    @western

    Please post your excel file on the forum.

    Most members don't like files with external links.

  9. #9
    Registered User
    Join Date
    05-18-2013
    Location
    holland
    MS-Off Ver
    Excel 2011
    Posts
    27

    Re: Using SOMIF To sum cels only if other cell is checked please look the example

    sorry i dint know how to post the file this way ^^
    Attached Files Attached Files

  10. #10
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Using SOMIF To sum cels only if other cell is checked please look the example

    Dutch N14
    Please Login or Register  to view this content.
    English N14
    Please Login or Register  to view this content.

  11. #11
    Registered User
    Join Date
    05-18-2013
    Location
    holland
    MS-Off Ver
    Excel 2011
    Posts
    27

    Re: Using SOMIF To sum cels only if other cell is checked please look the example

    hey thx voor de code it works perfect now i have a last quastion if this is possible?

    =ALS(O14=1"SOM.ALS($O$5:$O$13;1;$N$5:$N$13)","0")

    so basicly a extra if so if cell O14=1 it uses that code that you gave me befor and if not it gets value of 0

    what i did atm to create the effect of what i want i combined your code and put it at a diffect cell and use this value on other
    Please Login or Register  to view this content.
    if its not possible its ok then il use this by pass for the rest tyvm so far ^^

  12. #12
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Using SOMIF To sum cels only if other cell is checked please look the example

    Show in your excel file, what you want to achieve.

  13. #13
    Registered User
    Join Date
    05-18-2013
    Location
    holland
    MS-Off Ver
    Excel 2011
    Posts
    27

    Re: Using SOMIF To sum cels only if other cell is checked please look the example

    @oeldere
    I have made a bypass to create exact what i want so far in combination of your code ^^ ty for your help if its possible or not you did solve my case so il wait for your replay befor i mark this solved ^^
    Attached Files Attached Files

  14. #14
    Registered User
    Join Date
    05-18-2013
    Location
    holland
    MS-Off Ver
    Excel 2011
    Posts
    27

    Re: Using SOMIF To sum cels only if other cell is checked please look the example

    i finaly found exactly what i wanti it was this code:
    Please Login or Register  to view this content.
    in combination of this in other cel:
    Please Login or Register  to view this content.
    the code given before
    Last edited by western; 07-10-2013 at 04:27 PM.

  15. #15
    Registered User
    Join Date
    05-18-2013
    Location
    holland
    MS-Off Ver
    Excel 2011
    Posts
    27

    Re: Using SOMIF To sum cels only if other cell is checked please look the example

    and this is exactly combination i was looking for managed to combine it ^^
    Please Login or Register  to view this content.
    and i think english would be this one:
    Please Login or Register  to view this content.

  16. #16
    Registered User
    Join Date
    05-18-2013
    Location
    holland
    MS-Off Ver
    Excel 2011
    Posts
    27

    Re: Using SOMIF To sum cels only if other cell is checked please look the example

    and i also used ths formula
    Please Login or Register  to view this content.
    and english i think is:
    Please Login or Register  to view this content.
    Last edited by western; 07-11-2013 at 07:34 AM.

  17. #17
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Using SOMIF To sum cels only if other cell is checked please look the example

    @western

    for your information:

    many english excel users use a colon ( , ) instead of a semi-colon ( ; ) in the file.
    Last edited by oeldere; 07-11-2013 at 11:34 AM.

  18. #18
    Registered User
    Join Date
    05-18-2013
    Location
    holland
    MS-Off Ver
    Excel 2011
    Posts
    27

    Re: Using SOMIF To sum cels only if other cell is checked please look the example

    Ah! ok thx just updated it ^^ thx for your code for the help it helpt me to make this code ^^ (the one above)

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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