lezawang
Well-known Member
- Joined
- Mar 27, 2016
- Messages
- 1,805
- Office Version
- 2016
- Platform
- Windows
Hi
I want to count number of cells based on color. So I used conditional formatting to highlight cells which has value >70. The under column A I typed =subtotal (2,B2:B25) then I used to auto fill to copy that formula to column C, D, and E.
Now all subtotal() returned 24 (so far so good). Then I used Filter to filter column A based on cell color (Red). All subtotal() functions returned the same number 7. Which is only right for column B not the other. The unfilter and tried to filter column C this time and same story, all subtotals returned 4 which is only correct for column C.
Why subtotal behave like that? Thank you
I want to count number of cells based on color. So I used conditional formatting to highlight cells which has value >70. The under column A I typed =subtotal (2,B2:B25) then I used to auto fill to copy that formula to column C, D, and E.
Now all subtotal() returned 24 (so far so good). Then I used Filter to filter column A based on cell color (Red). All subtotal() functions returned the same number 7. Which is only right for column B not the other. The unfilter and tried to filter column C this time and same story, all subtotals returned 4 which is only correct for column C.
Why subtotal behave like that? Thank you