+ Reply to Thread
Results 1 to 4 of 4

Sumif value ignore two cell value

  1. #1
    Forum Contributor
    Join Date
    08-07-2014
    Location
    India
    MS-Off Ver
    2007
    Posts
    372

    Sumif value ignore two cell value

    Hi Excel Forum.

    I want sumif value excluding two cells.(A11 and A19)

    Data:

    Part Qty

    A1 6925283 1
    A2 6021309 1
    A3 BS5-24P 1
    A4 AC5R-24 1
    A5 6253081 1
    A6 6921080 1
    A7 6071042 1
    A8 6964076 1
    A9 6215251 1
    A10 6719233 1(Ignore Value)
    A11 100-280 1
    A12 FSG6300 1
    A13 6254606 1
    A14 6253930 1
    A15 1477H 1
    A16 1700000 1
    A17 6243855 1
    A18 108-109 2(Ignore Value)
    A19 6925159 4

    Desired Result:

    Part Desired Results

    G4 AC5R-24 1
    G5 6253081 1
    G6 6921080 1
    G7 6071042 1
    G7 6719233 0(Desired Results)
    G8 6241550 20
    G9 6246857 15
    G10 6941084 1
    G11 108-109 0(Desired Results)

    Sum 40.

    File attached.please help me.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,078

    Re: Sumif value ignore two cell value

    =sumif(a1:a18)-a11
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Sumif value ignore two cell value

    Since you're not giving any specific criteria as to why to ignore those values, there are a couple possibilities

    One
    In B11 and B19, put a ' before the value, it won't show but will treat the value as text so it will not be counted

    Two
    Subtract those cells from your final number
    Keeping with your original formula. In I5

    =SUMIF($A:$A,$G$4:$G$12,$B:$B)- IF($G$4:$G$12 = $A$11, $B$11,0)- IF($G$4:$G$12 = $A$19, $B$19,0)
    I'd go with option 1.
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  4. #4
    Forum Contributor
    Join Date
    08-07-2014
    Location
    India
    MS-Off Ver
    2007
    Posts
    372

    Re: Sumif value ignore two cell value

    Special-K & ChemistB

    thank you so much for your reply sir.

+ 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. [SOLVED] Ignore #N/A in sumif and average if
    By justinr in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-14-2015, 04:08 PM
  2. [SOLVED] Using SUMIF and IFERROR to sum all $ values and ignore NUM
    By JC_LA_1979 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-29-2014, 06:19 PM
  3. [SOLVED] Sumif two colomns to ignore if a value is present
    By nickmax1 in forum Excel Formulas & Functions
    Replies: 21
    Last Post: 01-21-2013, 10:45 AM
  4. Ignore NA in sumif
    By amartino44 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-04-2013, 08:40 PM
  5. Ignore blanks using =SUMIF/COUNTIF
    By Casper9T9 in forum Excel General
    Replies: 10
    Last Post: 06-05-2009, 05:26 PM
  6. how do i create a SUMIF to ignore cells hidden with autofilter
    By JONNY981 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 02-06-2009, 10:14 AM
  7. How do you ignore hidden rows in a SUMIF() function?
    By Gerry in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-21-2005, 09:05 AM

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