我有一份活动的宾客名单,我需要对 RSVP 进行统计。
| Column 1 | Column 2 | Column 3 |
| (name) | (if the guest is VIP, | (Count RSVP: |
| | has text "VIP") | 2 - coming with a guest; |
| | | 1 - coming solo; |
| | | 0 - not attending) |
|----------|-----------------------|--------------------------|
| Anna | - | 2 |
| Ben | VIP | 1 |
| Robert | VIP | 2 |
| Ken | VIP | 0 |
| Olga | - | 2 |
因此,如果第 2 列中有“VIP”,我需要计算第 3 列中有多少个单元格包含“1”或“2”。