Excel Help

2,076 Views | 9 Replies | Last: 3 yr ago by Caliber
harge57
How long do you want to ignore this user?
AG
For each column I would like to count the total number of rows that had a 1 to the left and are now blank. (i.e. for R1 I would like to count week 3.)

This sheet represents resources joining and leaving a project. I would like to count the number of resources leaving the project each week.

I can't just sum the rows and take the difference as that does not account for new resources coming on and will miss resources leaving. Thinking some sort of CountIF, but can't quite get it.



And for the favor.

John Francis Donaghy
How long do you want to ignore this user?
Here you go: https://texags.com/forums/12/topics/3123524
harge57
How long do you want to ignore this user?
AG
Think I figured it out with CountIfs

Thanks
Lightning Dexter
How long do you want to ignore this user?
If the count ifs don't work, look into using an array function. {=sum(if(B2:B9-C2:C9=1,1,""))} or some variation of this.
jh0400
How long do you want to ignore this user?
AG
If that's the extent of your table I'd just create a second one using if(and) to get to the answer. Much simpler than writing a complicated formula.
jm94
How long do you want to ignore this user?
AG
Jebus that gif is mesmerizing.
AliasMan02
How long do you want to ignore this user?
AG
This is weird, but this is the thread that has made me decide to do no more work today. Combination of the gif and being enticed to go work on some Excel challenges of my own did it.
King moto moto
How long do you want to ignore this user?
AG
AliasMan02 said:

This is weird, but this is the thread that has made me decide to do no more work today. Combination of the gif and being enticed to go work on some Excel challenges of my own did it.
is that your code for chokin' the chicken???
Ol Army 01 Post Boobs
rambo_99
How long do you want to ignore this user?
My advice for quick excel turnarounds is to keep it simple - copy and paste value your entire table right below the existing table or in a new tab. Then in the newly pasted table just run a simple column 2 minus column 1 (repeating through the Time period) - if the answer is 0 then no change for that weekly period. If the answer is negative you removed headcount for that week. If the answer is positive you added someone for that week.
Drawkcab
How long do you want to ignore this user?
rambo_99 said:

My advice for quick excel turnarounds is to keep it simple - copy and paste value your entire table right below the existing table or in a new tab. Then in the newly pasted table just run a simple column 2 minus column 1 (repeating through the Time period) - if the answer is 0 then no change for that weekly period. If the answer is negative you removed headcount for that week. If the answer is positive you added someone for that week.

This is my exact method as a financial auditor. When a client sends a new spreadsheet and says "I made changes to cell X" I compare the tables to make sure there are no other changes they didn't mention.
Caliber
How long do you want to ignore this user?
AG
rambo_99 said:

My advice for quick excel turnarounds is to keep it simple - copy and paste value your entire table right below the existing table or in a new tab. Then in the newly pasted table just run a simple column 2 minus column 1 (repeating through the Time period) - if the answer is 0 then no change for that weekly period. If the answer is negative you removed headcount for that week. If the answer is positive you added someone for that week.

How does that capture a resource leaving if a new one started? He is dealing with turnover type stuff not total headcount.

Countifs was definitely an easy solution.

=Countifs(C1:C10,"",B1:B10,1)
*Ranges to be set as needed

Fill across the weeks needed.

That would count any current blank cell with a 1 to the left of it.
Refresh
Page 1 of 1
 
×
subscribe Verify your student status
See Subscription Benefits
Trial only available to users who have never subscribed or participated in a previous trial.