+ Reply to Thread
Results 1 to 4 of 4

SUMIF function

  1. #1
    Registered User
    Join Date
    10-29-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2010
    Posts
    27

    SUMIF function

    Good afternoon all

    I want to use the above function SUM some totals based on criteria. However I have 2 sets of criteria too match for the sum too happen

    Please advise how this can be done

    Basically I want to say if cell A1 = 1 and cell B2 = 2 then SUM

    Thanks in advance

  2. #2
    Forum Contributor
    Join Date
    08-24-2006
    Location
    Sevenoaks, Kent
    MS-Off Ver
    Office 365 ProPlus
    Posts
    459

    Re: SUMIF function

    There is probably a better way to do it but put this code in column C
    Please Login or Register  to view this content.
    This would return a 3 if 1 was present in A and 2 was present in B

  3. #3
    Forum Expert
    Join Date
    12-03-2009
    Location
    Florence, Italy
    MS-Off Ver
    Excel 2019
    Posts
    1,796

    Re: SUMIF function

    Hi All,

    a possible alternative solution

    Please Login or Register  to view this content.

    sumproduct can read also number in external closed files.

    Regards
    -----------------------------------------------------

    At Excelforum, you can say "Thank you!" by clicking the star icon ("Add Reputation") below the post.

    Please, mark your thread [SOLVED] if you received your answer.

  4. #4
    Registered User
    Join Date
    10-29-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2010
    Posts
    27

    Re: SUMIF function

    Thanks for the replies

    However, I think i am looking for something like this

    If A1=1 then SUMIF(whatever), else 0

    Thanks

+ 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] How to nest a left function within a sumif function?
    By LisaK in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-09-2017, 09:21 AM
  2. Replies: 4
    Last Post: 10-08-2013, 05:10 PM
  3. Sumif function using indirect function and data from different sheet
    By pronky007 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-26-2013, 12:40 PM
  4. [SOLVED] SUMIF Function Inside SUMPRODUCT Function
    By Abdul Waheed in forum Excel Formulas & Functions
    Replies: 17
    Last Post: 09-19-2005, 12:05 PM
  5. Replies: 2
    Last Post: 01-11-2005, 07:06 PM

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