我有一个活动的客人名单,我需要做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 |
所以我需要计算第3列中有多少单元格如果在第2列中有“VIP”则为“1”或“2”。