I am not very much an expert in excel. I am trying to count the number of occurrences of keys in columns A as in the below example.
The VBA needs to count how many times am1, anip1, zora1, riP-1, una1, aya1, im1, nd#1 appers under Com, eae and sae.
Is it possible?
Input:
Output:
The VBA needs to count how many times am1, anip1, zora1, riP-1, una1, aya1, im1, nd#1 appers under Com, eae and sae.
Is it possible?
Input:
DADPNI.xlsm | ||||
---|---|---|---|---|
A | B | |||
1 | Column A | Column B | ||
2 | am1 anip1 zora1 riP-1 una1 una1 aya1 im1 nd#1 | Com ; sae ;eae ;%&*()1; | ||
3 | una1 aya1 im1 nd1 am1 anip1 zora1 riP-1 | Com ;Com ;sae; eae; sae ;eae ; | ||
4 | am1 anip1 zora1 am1 anip1 zora1 | sae ;eae ;%&*()1; | ||
5 | una1 aya1 | eae ;sae | ||
6 | anip1 zora1 | |||
7 | im1 | ;;; ; | ||
8 | ||||
9 | aya1 | eae ;sae ;eae ;sae sae;; | ||
10 | aya1 im1 riP-1 | Com | ||
11 | im1 | Com | ||
Sheet1 |
Output:
DADPNI.xlsm | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | |||
1 | Com | eae | sae | |||||||
2 | am1 | 4 | 5 | ? | ||||||
3 | anip1 | 1 | 4 | 4 | ||||||
4 | zora1 | 2 | ? | ? | ||||||
5 | riP-1 | 3 | ? | ? | ||||||
6 | una1 | 3 | ? | ? | ||||||
7 | aya1 | 3 | ? | ? | ||||||
8 | im1 | 6 | ? | ? | ||||||
9 | nd#1 | 1 | ? | ? | ||||||
Sheet2 |