Forum Discussion
Excel formula Help
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)
So it wasn't really your desired result.
My solution requires Power Query.
The result from PQ is loaded into the pivot table.
14 Replies
- SergeiBaklanDiamond Contributor
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?
- doraymiCopper Contributor
SergeiBaklan 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!
- Detlef_LewinSilver Contributor
- doraymiCopper Contributor
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.
- Detlef_LewinSilver Contributor