I have two columns of data showing ordered shirt sizes and gifted shirt sizes, please see below. I entered each row by hand for this example, but double checked that no hidden characters are present via the trim() function. The formula =COUNTIFS(B2:B30, "S", C2:C30, "S") is returning a zero. I have changed columns B and C to text, general, etc. and nothing is fixing this issue. I thought perhaps the blanks were causing an error, but when I changed the ranges to match the shorter C column =COUNTIFS(B2:B11, "S", C2:C11, "S"), the formula is still incorrectly returning a zero. Thank you in advance for any assistance!
Row Number | Shirt Size | Gifted Shirt Size |
2 | S | M |
3 | M | S |
4 | L | S |
5 | S | M |
6 | L | L |
7 | L | S |
8 | S | L |
9 | S | M |
10 | L | S |
11 | S | L |
12 | M | |
13 | L | |
14 | S | |
15 | M | |
16 | L | |
17 | S | |
18 | M | |
19 | M | |
20 | S | |
21 | M | |
22 | L | |
23 | L | |
24 | L | |
25 | L | |
26 | S | |
27 | M | |
28 | M | |
29 | S | |
30 | S |