chomocholas
New member
- Joined
- Jun 28, 2016
- Messages
- 4
- Reaction score
- 0
- Points
- 0
Hello Excel people!
My question is similar to many that I have seen but not exactly the same. I need to count the number of records/rows where a number of criteria are met. One of the criteria compares one range of cells with another range, and the next criteria compares one range of cells with a value.
I have a list of tasks each with planned & actual start dates, and planned and actual end dates. Here is an illustration (actual table is massive).
This Week 25-Apr > 29-Apr [this is the value I need to compare with]
Plan Strt | Plan End | Act Strt | Act End
Task 1 26-Apr | 19-Apr | 20-Apr | 26-Apr
Task 2 25-Apr | 22-Apr | 2-May | 25-Apr
Task 3 6-May | 4-Apr | 10-May | 10-May
Task 4 13-Apr | 11-Apr | 18-Apr | 18-Apr
Task 5 19-Apr | 13-Apr | 17-Apr | 26-Apr
Task 6 25-Apr | 14-Apr | 28-Apr | 2-May
Task 7 26-May | 16-May | 27-May | 18-May
[these are the ranges I need to compare]
I need to find out:
- Of the tasks completed this week, how many started earlier than planned, AND of these tasks how many finished later than planned.
It sounds simple, but I am confused about how to compare ranges and values in the same formula. I tried SUMPRODUCT, but could not figure out how to combine with COUNTIFS.
**I cannot add any columns to the table to make it easier***. I appreciate any help I can get. I have tried Excel Forum, but they cannot figure it out.
I have uploaded a spreadsheet with a more records which will help to understand the problem.
Thank you so much!
chomo (Tokyo)
My question is similar to many that I have seen but not exactly the same. I need to count the number of records/rows where a number of criteria are met. One of the criteria compares one range of cells with another range, and the next criteria compares one range of cells with a value.
I have a list of tasks each with planned & actual start dates, and planned and actual end dates. Here is an illustration (actual table is massive).
This Week 25-Apr > 29-Apr [this is the value I need to compare with]
Plan Strt | Plan End | Act Strt | Act End
Task 1 26-Apr | 19-Apr | 20-Apr | 26-Apr
Task 2 25-Apr | 22-Apr | 2-May | 25-Apr
Task 3 6-May | 4-Apr | 10-May | 10-May
Task 4 13-Apr | 11-Apr | 18-Apr | 18-Apr
Task 5 19-Apr | 13-Apr | 17-Apr | 26-Apr
Task 6 25-Apr | 14-Apr | 28-Apr | 2-May
Task 7 26-May | 16-May | 27-May | 18-May
[these are the ranges I need to compare]
I need to find out:
- Of the tasks completed this week, how many started earlier than planned, AND of these tasks how many finished later than planned.
It sounds simple, but I am confused about how to compare ranges and values in the same formula. I tried SUMPRODUCT, but could not figure out how to combine with COUNTIFS.
**I cannot add any columns to the table to make it easier***. I appreciate any help I can get. I have tried Excel Forum, but they cannot figure it out.
I have uploaded a spreadsheet with a more records which will help to understand the problem.
Thank you so much!
chomo (Tokyo)