+ Reply to Thread
Results 1 to 2 of 2

sumif()- or sumifs()?

  1. #1
    Registered User
    Join Date
    05-22-2015
    Location
    Copenhagen
    MS-Off Ver
    2010
    Posts
    4

    sumif()- or sumifs()?

    Hi

    I want to add the cells in a column (let's assume column "C") that contains hours and minutes in a new column (let's assume column "D") if two criteria are met:

    1) If column "B" contains either "val" or "45x" (usually in the beginning but can also be in the middle of the string)

    2) Column "A" is a date column which spands over a week. The numbers are added only for the specific date.

    I was thinking of using the sumifs() function (which would be useful because it contains if-statements that I can use for the first and second criteria) , but I have trouble with the 1) criteria.

    Any suggestions?

    Thx!

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

    Re: sumif()- or sumifs()?

    If you are also open for a NON VBS solution:

    You get better help on your question if you add a small excel file, without confidential information.

    Please also add manualy the expected result in your file.
    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.

+ 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. Using SUMIF (or SUMIFS) with HLOOKUP
    By rmj6h in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-26-2019, 11:27 PM
  2. [SOLVED] Sumif/Sumifs
    By kimsem in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-10-2014, 09:37 PM
  3. [SOLVED] Forumla Help - SumIf/SumIfs??
    By jlo33 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-31-2013, 02:25 PM
  4. problem with sumif and sumifs
    By mlevitt in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 02-01-2013, 02:10 PM
  5. Sumifs Or Sumif?
    By Carp in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-20-2007, 03:27 PM

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