Apr 20 2019 03:07 AM
Hi all,
I have a problems on my formula.
I have two worksheet 1 and 2.
for worksheet 1, the yellow highlighted contains all the country name but i have to use worksheet 2 as a data set (green highlighted; which contains country name with item 'frequency'), and to find out the related frequency for those items in worksheet 1. I've tried Index and match functions but it can't help. Could anyone help on solving the problems?
thanks!
(Attached a testing file for reference)
Apr 20 2019 04:56 AM - edited Apr 20 2019 04:56 AM
Apr 20 2019 04:59 AM
@doraymi , could you please clarify - you have 6 columns in Sheet1 with country names, for which one you need the frequency? Or you'd like calculate the frequency based on these columns?
Apr 20 2019 07:11 AM
@Detlef Lewin Big thanks for your prompt reply! i've got the desired result. I would like to ask a more questions...after searching the frequency for each column (F, H, J, L, N, P and R) and gives out column (G, I, K, M, O and Q), can I further sort out all the 'High' frequency country?(say for row 2, sort out Thailand, Hong Kong, Indonesia and Thailand), in order to achieve the goal in presenting the countries which have high frequency against the company name (column c) in pivot table. thanks.
Apr 20 2019 07:21 AM
@Sergei Baklan yes, i'd like to calculate frequency for all six column, and then to list out all the most "high frequency" items (it might have more than 1 high frequent country in each row), so as to use those information and compare with company name (column C) in the pivot table. thanks!
Apr 20 2019 07:46 AM
Apr 20 2019 08:38 AM
Apr 20 2019 09:44 AM
Hm, your pivot table shows only a grand total of 6. But it should be 42 (6 rows by 7 columns).
Apr 20 2019 10:25 AM
Apr 20 2019 10:25 AM
Apr 20 2019 11:25 AM
SolutionSo it wasn't really your desired result.
My solution requires Power Query.
The result from PQ is loaded into the pivot table.
Apr 21 2019 03:47 AM
@Detlef Lewin sorry for bothering again, I've tried to replicate a pivot table as your file sent to me but fails, could you please help to advise on how to put the 'Frequency' to the pivot table? thanks.
Apr 21 2019 05:57 AM
As I stated before the data for the pivot table comes from Power Query.
Open the PQ editor and see the queries on the left pane and the steps for each query on the right pane.
Apr 20 2019 11:25 AM
SolutionSo it wasn't really your desired result.
My solution requires Power Query.
The result from PQ is loaded into the pivot table.