A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Did you enter it as an array formula? It works properly in my spreadsheet using your supplied data.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
How would I use SIMIFS (or SUMIF) to add all rows with the same pay code? The Sum range is comprised of time format (13:30) values. The Criteria range is composed of numbers (generated from a VLOOKUP formula). The criteria is 231.
The SUMIFS formula below returns #VALUE!.
The SUMIF formula returns 0.
I am looking for a sum equal to either 1.5 or 1:30.
| Pay Code | Mon | Tue | Wed | Thurs |
|---|---|---|---|---|
| 20 | 7:15 | |||
| 10 | 8:00 | 7:15 | 8:00 | |
| 231 | 0:45 | 0:45 | ||
| =SUMIFS(B2:E4,A2:A4,231)*24 | USED Vacation | |||
| =SUMIF(A2:A4,231,B2:E4) | USED Vacation |
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
Answer accepted by question author
Did you enter it as an array formula? It works properly in my spreadsheet using your supplied data.
You can share a OneDrive or similar link
Enter this as an array formula by pressing Ctrl+Shift+Enter after entering it:
=SUM(IF(A2:A4=231,B2:E4))
Hello Ugo,
How do I upload a workbook?
I see the 🔗 (link) symbol for an URL, but I don't see an option to upload a file. I created the table to hopefully show the relevant information.
Thank you.
Ciao,
can you please share an example workbook to let me better understand the issue?
Thanks
Ugo