Solved

Excel 2010 - Select category per Max values

Posted on 2016-10-05
5
55 Views
Last Modified: 2016-10-05
Dear Experts,

Can you please have a short look on the attached file, basically on 'Sheet1' there is a small table with Products, which contains selling numbers per Countries (from column A to E):
Count and Select
Could you advise which Excel formula could provide result as color marked in column F? The logic of it is selecting that country from the header, which has the Max of selling at the certain product.

Thanks in advance,
CountValues-Select.xlsx
0
Comment
Question by:csehz
  • 3
5 Comments
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 41829581
Try this ARRAY formula

=INDEX($B$1:$E$1,MAX(SIGN(B2:E2)*COLUMN(B2:E2))-1)
0
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 41829583
Do you know how to enter array formulas?
0
 
LVL 50

Accepted Solution

by:
Ryan Chong earned 300 total points
ID: 41829586
try use formula:
=OFFSET($A$1, 0, MATCH( MAX(B2:E2),B2:E2))

Open in new window

CountValues-Select_b.xlsx
0
 
LVL 43

Assisted Solution

by:Saqib Husain, Syed
Saqib Husain, Syed earned 200 total points
ID: 41829591
Reread your criteria

=INDEX($B$1:$E$1,MATCH(MAX(B2:E2),B2:E2))
0
 
LVL 1

Author Closing Comment

by:csehz
ID: 41829598
Thank you for the advices, you are great
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question (http:/Q_27311462.html), I created an alternative function to the Excel Concatenate() function that you might find useful.  I tested several solutions and share the results in this article as well as t…
How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

789 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question