VivoSomnio
New Member
- Joined
- Sep 5, 2023
- Messages
- 3
- Office Version
- 365
- Platform
- Windows
So I want a count for each row of the cells in that row that have a numeric value (not a sum, a count) and match a specific column header. I manually filled out the first one to show what I mean: across row 2 there are 3 cells with a numeric value that match column header of "A", there is 1 cell with a numeric value that matches the column header of "B", and there are 2 cells with a numeric value that matches the column header of "C".
How do I do this as a formula? If you show me how to do it for column header "A" I can replicate it to the additional columns for B and C, I just can't figure out how to do it though. I know how to do it for a sum, =SUMIF(A1:J1,"A",A2:J2) but not for a count. And yes, I realize the picture I did has everything as a 1 but the numeric value isn't always a 1 so I can't use the sumif as a substitute for count.