+ Reply to Thread
Results 1 to 5 of 5

sumifs if the right contitions are meet

  1. #1
    Registered User
    Join Date
    06-30-2018
    Location
    Denmark
    MS-Off Ver
    2013
    Posts
    44

    sumifs if the right contitions are meet

    Hi

    I have this workbook where the formular in C4 almost seams to work. My probem is, that the same article could go again serval time (D) and I only want to show this number once. It dosent matter if it shows in C4 or C7 but only ones and I can?t figure out the formular for this?

    Could someone help me with the last pcs. of a foumular?
    Attached Files Attached Files
    Last edited by Vibov; 10-13-2022 at 08:10 AM.

  2. #2
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,212

    Re: Sumifs -

    It is not clear what you want as a result your formula in c4 would produce the same result in c2:c3 as well

    you can add a if statement if(countifs(d$1:d2,d2,)=1,SUMIFS('omformer lager'!D:D,'omformer lager'!A:A,D4,'omformer lager'!E:E,"<>5650",'omformer lager'!E:E,"<>5660"),"")

    but is does not answer the value appearing in c2&c3

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,830

    Re: Sumifs -

    Administrative Note:

    We would very much like to help you with your query, however the thread title does not really convey what your request is about. Tell us what you are trying to do, not how you think it should be done.

    Please take a moment to amend your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).

    Please see Forum Rule #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.

    (Note: this change is not optional. No help to be offered until this moderation request has been fulfilled.)
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  4. #4
    Registered User
    Join Date
    06-30-2018
    Location
    Denmark
    MS-Off Ver
    2013
    Posts
    44

    Re: Sumifs -

    Hi Davsth

    Thanks for your comment. I'll try to explaint more in details.

    I'm trying to make a formular in C, that look at the material number and execute my formular in the last cell in C for each new material number.

    As you can see, the material number could have 6 or 9 lines and I only want the count once for each material number, but the formular should be able to do this so I could have the same formular i all cells in column C.

    It?s difficult to explain, but I hope you get my point?

  5. #5
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,562

    Re: sumifs if the right contitions are meet

    As the title appears to have been changed to "sumifs if the right contitions are meet" I'll attempt to help.
    The following formula could be pasted into cell C4:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Once the formula is in cell C4 press the Ctrl and c keys then select cell C7 and press the Ctrl and v keys, select cell C10 and press the Ctrl and v keys and so on with all cells in column C corresponding to Produktion in column A.
    To get a formula for all cells in column C I feel that we will need explanation as to how 504 is selected for cell C3, 96 is selected for cell C9 etc.
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 0
    Last Post: 08-22-2017, 03:49 PM
  2. [SOLVED] Sumifs formula without using sumifs....
    By blockbyblock in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-10-2017, 10:45 AM
  3. [SOLVED] If no SUMIFS matches, 1, otherwise the SUMIFS result...
    By JYTS in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-04-2016, 07:39 PM
  4. sumifs vs. Application.WorksheetFunction.SumIfs
    By flooyd in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-01-2016, 11:22 AM
  5. [SOLVED] Looking for something simpler than SUMIFS - SUMIFS
    By YAbdelaal in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-27-2014, 10:38 AM
  6. SUMIFS Puzzle - Trying to avoid adding multiple SUMIFS to get valid result
    By haldavid in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-09-2013, 03:42 PM
  7. [SOLVED] Sumifs, problem with the formula: =sumifs(c10:c200,<=today(),0)
    By Faustocruz in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-08-2012, 04:26 AM

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