JimJohnson
New Member
- Joined
- Apr 29, 2008
- Messages
- 36
Yes, I should be able to figure this out, but I'm getting fed up. This formula needs to do two things:
1.) Find a value exists or not in another range (easy)
2.) If above is true, determine how many non-blank cells there are in a range of columns for that particular value
For the sake of argument, assume that I'm looking for the value in column A and I'm looking for non-blanks in columns C, D and E.
Here is the best I could come up with:
=COUNTIFS($A:$A,value,$C:$C,"<>"&"")+COUNTIFS($A:$A,value,$D:$D,"<>"&"")+CCOUNTIFS($A:$A,value,$E:$E,"<>"&"")
It works, but in practice, I am counting non-blanks in a LOT of columns, which is going to be brutal on the calculation time in this worksheet.
Does anyone have a better way of doing this?
Thanks!
1.) Find a value exists or not in another range (easy)
2.) If above is true, determine how many non-blank cells there are in a range of columns for that particular value
For the sake of argument, assume that I'm looking for the value in column A and I'm looking for non-blanks in columns C, D and E.
Here is the best I could come up with:
=COUNTIFS($A:$A,value,$C:$C,"<>"&"")+COUNTIFS($A:$A,value,$D:$D,"<>"&"")+CCOUNTIFS($A:$A,value,$E:$E,"<>"&"")
It works, but in practice, I am counting non-blanks in a LOT of columns, which is going to be brutal on the calculation time in this worksheet.
Does anyone have a better way of doing this?
Thanks!