willow1985
Well-known Member
- Joined
- Jul 24, 2019
- Messages
- 929
- Office Version
- 365
- Platform
- Windows
I need help with a formula or possibly another way to figuring out this problem:
I want to count everything in 'WO Report'!$Y:$Y that states: TRUE
Only IF
'WO Report'!B:B Matches List!B2
However only if there is no match between 'WO Report'!B:B and List!B2
I want to count everything in 'WO Report'!$Y:$Y that states: TRUE
IF
'WO Report'!Z:Z, Matches List!B2
So basically toggling between: =COUNTIFS('WO Report'!$Y:$Y,TRUE,'WO Report'!B:B,List!B2 OR 'WO Report'!$Y:$Y,TRUE,'WO Report'!Z:Z,List!B2)
Is there a way to do this?
I will also require the same with a SUMIF but it will reference different columns.
Note: I am using a combo box that has a link to B2, however when the combo box is selected to ALL, I want the formula to count everything but there is no match to "ALL", so what I did was added a column (WO Report'!Z:Z) that just has the word "ALL" all the way down and would have the formula count that if Column Y:Y is TRUE. I have no idea if this is even possible but hope someone can help.
Thank you very much!
Carla
I want to count everything in 'WO Report'!$Y:$Y that states: TRUE
Only IF
'WO Report'!B:B Matches List!B2
However only if there is no match between 'WO Report'!B:B and List!B2
I want to count everything in 'WO Report'!$Y:$Y that states: TRUE
IF
'WO Report'!Z:Z, Matches List!B2
So basically toggling between: =COUNTIFS('WO Report'!$Y:$Y,TRUE,'WO Report'!B:B,List!B2 OR 'WO Report'!$Y:$Y,TRUE,'WO Report'!Z:Z,List!B2)
Is there a way to do this?
I will also require the same with a SUMIF but it will reference different columns.
Note: I am using a combo box that has a link to B2, however when the combo box is selected to ALL, I want the formula to count everything but there is no match to "ALL", so what I did was added a column (WO Report'!Z:Z) that just has the word "ALL" all the way down and would have the formula count that if Column Y:Y is TRUE. I have no idea if this is even possible but hope someone can help.
Thank you very much!
Carla
Last edited: