Solved

Excel 2010 - Select category per Max values

Posted on 2016-10-05
67 Views
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):

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.

CountValues-Select.xlsx
0
Question by:csehz
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

• Help others & share knowledge
• Earn cash & points
• 3

LVL 43

Expert Comment

ID: 41829581
Try this ARRAY formula

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

LVL 43

Expert Comment

ID: 41829583
Do you know how to enter array formulas?
0

LVL 52

Accepted Solution

Ryan Chong earned 300 total points
ID: 41829586
try use formula:
``````=OFFSET(\$A\$1, 0, MATCH( MAX(B2:E2),B2:E2))
``````
CountValues-Select_b.xlsx
0

LVL 43

Assisted Solution

Saqib Husain, Syed earned 200 total points
ID: 41829591

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

LVL 1

Author Closing Comment

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

Featured Post

Question has a verified solution.

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

Suggested Solutions

how to read data from all excel sheet and copy it in in Master sheet 2 28
Excel - merge column values 3 27
Cell Manipulation 37 53
LOOK FOR 22 32
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 …
Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.
Suggested Courses
Course of the Month4 days, 7 hours left to enroll