+ Reply to Thread
Results 1 to 5 of 5

SumIf Using Multiple Columns and Rows

  1. #1
    Registered User
    Join Date
    11-14-2008
    Location
    Papua New Guinea
    Posts
    15

    SumIf Using Multiple Columns and Rows

    Hi All
    Trying to put together an attendance report to count number of days each staff is at work, AL, LSL, etc…
    Thought l could get the SUMIFS formula to work but having trouble.
    Needs to go across multiple range of cells in columns and rows.
    Can anyone please help?
    Attached Files Attached Files

  2. #2
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,873

    Re: SumIf Using Multiple Columns and Rows

    Hi,

    Put this in B16, and Drag down and across

    =COUNTIF(INDEX($B$5:$G$9,MATCH(B$14,$A$5:$A$9,0),0),$A16)
    Cheers!
    Deep Dave

  3. #3
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,458

    Re: SumIf Using Multiple Columns and Rows

    Or:

    =SUMPRODUCT(($A$5:$A$9=B$14)*($B$5:$G$9=$A16))
    Quang PT

  4. #4
    Registered User
    Join Date
    11-14-2008
    Location
    Papua New Guinea
    Posts
    15

    Re: SumIf Using Multiple Columns and Rows

    sorry guys, l must be doing something wrong, all l get is zero's

  5. #5
    Registered User
    Join Date
    11-14-2008
    Location
    Papua New Guinea
    Posts
    15

    Re: SumIf Using Multiple Columns and Rows

    My mistake, sorry guys, they both work.
    Thanks heaps

+ 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. SUMIF with Multiple Columns and rows?
    By alohadboy in forum Excel General
    Replies: 7
    Last Post: 02-22-2018, 06:57 PM
  2. [SOLVED] Sumif or Sumproduct with Multiple Rows & Columns
    By lqorri in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-12-2017, 09:05 AM
  3. Sumif or Sumproduct with Multiple Rows & Columns
    By vulches in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-12-2017, 02:06 AM
  4. Search Multiple Columns and Rows - Show results in Multiple columns and rows
    By heykeighley in forum Excel Programming / VBA / Macros
    Replies: 20
    Last Post: 08-12-2015, 10:16 AM
  5. [SOLVED] SUMIF across multiple columns and rows
    By GTretick in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-10-2015, 07:41 PM
  6. SUMIF Rows and Columns Not working
    By SHUTTEHFACE in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 09-29-2014, 05:59 AM
  7. SUMIF with rows and columns
    By David Howdon in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-17-2005, 01:05 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