In Google Sheets I want to create a formula that separates the values separated by "|" in the "Memory" column and count the same values, so that the result is the same as in the "Result" column:
| Memory | Result |
|---|---|
| 4GB | 4GB | 8GB | 8GB | 8GB | 8GB | 4GB | 3 x 4GB + 4 x 8GB |
| 4GB | 1 x 4GB |
| 4GB | 8GB | 1 x 4GB + 1 x 8GB |

You can use a formula like this, that splits the values and makes the count: