+ Reply to Thread
Results 1 to 9 of 9

Sumifs criteria range with row and column

Hybrid View

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

    Sumifs criteria range with row and column

    Dear Forum Leader,

    Sheet 1Time Sheet)

    Row Range : A2:A378- Date

    Column Range: B1:J1- Names

    Column Range: B2:J378- Working hours

    Sheet 2 : (Payslip)

    How do sumifs one sheet to another sheet when criteria ranges meet both of column and row
    Attached Files Attached Files
    Last edited by 6StringJazzer; 05-01-2017 at 02:07 PM. Reason: added attachment

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Sumifs criteria range with ow

    I think it would help if you upload a small (clean) sample workbook (not a pic) of what you are working with, and what your expected outcome would look like.

    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

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

    Re: Sumifs criteria range with ow

    FDibbins;

    Thank you so much for quick reply

    as requested to you please delete the this thread due to unclear thread title. I have started another thread. sorry for the convenience.

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Sumifs criteria range with ow

    Thanks for the file, although you could have attached it here

    I will close this now
    https://www.excelforum.com/excel-for...nd-column.html

  5. #5
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2502
    Posts
    26,849

    Re: Sumifs criteria range with row and column

    Sorry, we got our signals crossed here. I closed the later thread as a duplicate, and added the attachment and title change to this one and then found it closed so I reopened it.

    silambarasan.J, if you have to make a change, edit the existing thread rather than open another copy of it. We discourage duplicate threads.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

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

    Re: Sumifs criteria range with row and column

    Thank you for your immediate action.

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

    Re: Sumifs criteria range with row and column

    Please help me. Sample work book attached.
    Attached Files Attached Files

  8. #8
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,799

    Re: Sumifs criteria range with row and column

    Try

    =SUMPRODUCT(('TIME SHEET'!$B$1:$J$1=$B4)*('TIME SHEET'!$A$2:$A$397>=PAYSLIP!$C$2)*('TIME SHEET'!$A$2:$A$397<=EOMONTH(PAYSLIP!$C$2,0))*('TIME SHEET'!$B$2:$J$397))

    OR

    =SUMIFS(INDEX('TIME SHEET'!$B:$J,,MATCH($B4,'TIME SHEET'!$B$1:$J$1,0)),'TIME SHEET'!A:A,">=" & $C$2,'TIME SHEET'!A:A,"<=" & EOMONTH($C$2,0))
    Last edited by JohnTopley; 05-01-2017 at 04:12 PM.

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

    Re: Sumifs criteria range with row and column

    Thank you so much for your help Mr.JohnTopley. Both of formula working fine way.

    Thank a lot.

+ 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: 3
    Last Post: 02-02-2017, 04:32 AM
  2. [SOLVED] SUMIFS with multiple criteria WITH specified dynamic range criteria
    By dluhut in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 01-20-2017, 11:03 AM
  3. Replies: 5
    Last Post: 12-15-2016, 07:37 PM
  4. Replies: 5
    Last Post: 10-03-2016, 03:39 AM
  5. How to sum SUMIFS - multiple criteria for one criteria range???
    By trstew in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-06-2016, 02:37 PM
  6. Replies: 3
    Last Post: 11-21-2012, 04:57 PM
  7. Replies: 1
    Last Post: 05-16-2011, 05:00 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