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
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
Last edited by 6StringJazzer; 05-01-2017 at 02:07 PM. Reason: added attachment
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
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.
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
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.
Thank you for your immediate action.
Please help me. Sample work book attached.
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.
Thank you so much for your help Mr.JohnTopley. Both of formula working fine way.
Thank a lot.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks