Excel: Finding max value and then stating the name of the value
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}
I have one sheet with two columns, one "NAME" column and one "VALUE" column.
In the next sheet, I want to find the max value from the "VALUE" column, but show the name from the "NAME" column.
Is there a simple way to do this?
microsoft-excel worksheet-function
add a comment |
I have one sheet with two columns, one "NAME" column and one "VALUE" column.
In the next sheet, I want to find the max value from the "VALUE" column, but show the name from the "NAME" column.
Is there a simple way to do this?
microsoft-excel worksheet-function
add a comment |
I have one sheet with two columns, one "NAME" column and one "VALUE" column.
In the next sheet, I want to find the max value from the "VALUE" column, but show the name from the "NAME" column.
Is there a simple way to do this?
microsoft-excel worksheet-function
I have one sheet with two columns, one "NAME" column and one "VALUE" column.
In the next sheet, I want to find the max value from the "VALUE" column, but show the name from the "NAME" column.
Is there a simple way to do this?
microsoft-excel worksheet-function
microsoft-excel worksheet-function
edited Feb 6 at 1:17
angelofdev
929120
929120
asked Feb 5 at 15:40
Helmet545Helmet545
31
31
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
A simple INDEX/MATCH with MAX will do it:
=INDEX(Sheet1!A:A,MATCH(MAX(Sheet1!B:B),Sheet1!B:B,0))
Make sure your numbers are true numbers and not numbers stored as text. MAX will ignore the numbers stored as text.
Thanks, but I get this error message: Tried to add picture. But it says "There's a problem with this formula. Not trying to type a formula? When the first character is an Equal (=) or minus (-) sign, Excel thinks it's a formula"
– Helmet545
Feb 5 at 16:02
@Helmet545 does your local setting require the use of;
instead of,
to delimit the parts of the formula?
– Scott Craner
Feb 5 at 16:09
Yes, it works now! Thanks, a lot. That's why no formulas I try works...
– Helmet545
Feb 5 at 16:13
@Helmet545 please consider marking as correct by clicking the check mark by the answer.
– Scott Craner
Feb 5 at 16:13
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1402307%2fexcel-finding-max-value-and-then-stating-the-name-of-the-value%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
A simple INDEX/MATCH with MAX will do it:
=INDEX(Sheet1!A:A,MATCH(MAX(Sheet1!B:B),Sheet1!B:B,0))
Make sure your numbers are true numbers and not numbers stored as text. MAX will ignore the numbers stored as text.
Thanks, but I get this error message: Tried to add picture. But it says "There's a problem with this formula. Not trying to type a formula? When the first character is an Equal (=) or minus (-) sign, Excel thinks it's a formula"
– Helmet545
Feb 5 at 16:02
@Helmet545 does your local setting require the use of;
instead of,
to delimit the parts of the formula?
– Scott Craner
Feb 5 at 16:09
Yes, it works now! Thanks, a lot. That's why no formulas I try works...
– Helmet545
Feb 5 at 16:13
@Helmet545 please consider marking as correct by clicking the check mark by the answer.
– Scott Craner
Feb 5 at 16:13
add a comment |
A simple INDEX/MATCH with MAX will do it:
=INDEX(Sheet1!A:A,MATCH(MAX(Sheet1!B:B),Sheet1!B:B,0))
Make sure your numbers are true numbers and not numbers stored as text. MAX will ignore the numbers stored as text.
Thanks, but I get this error message: Tried to add picture. But it says "There's a problem with this formula. Not trying to type a formula? When the first character is an Equal (=) or minus (-) sign, Excel thinks it's a formula"
– Helmet545
Feb 5 at 16:02
@Helmet545 does your local setting require the use of;
instead of,
to delimit the parts of the formula?
– Scott Craner
Feb 5 at 16:09
Yes, it works now! Thanks, a lot. That's why no formulas I try works...
– Helmet545
Feb 5 at 16:13
@Helmet545 please consider marking as correct by clicking the check mark by the answer.
– Scott Craner
Feb 5 at 16:13
add a comment |
A simple INDEX/MATCH with MAX will do it:
=INDEX(Sheet1!A:A,MATCH(MAX(Sheet1!B:B),Sheet1!B:B,0))
Make sure your numbers are true numbers and not numbers stored as text. MAX will ignore the numbers stored as text.
A simple INDEX/MATCH with MAX will do it:
=INDEX(Sheet1!A:A,MATCH(MAX(Sheet1!B:B),Sheet1!B:B,0))
Make sure your numbers are true numbers and not numbers stored as text. MAX will ignore the numbers stored as text.
edited Feb 5 at 16:05
answered Feb 5 at 15:42
Scott CranerScott Craner
12.6k11318
12.6k11318
Thanks, but I get this error message: Tried to add picture. But it says "There's a problem with this formula. Not trying to type a formula? When the first character is an Equal (=) or minus (-) sign, Excel thinks it's a formula"
– Helmet545
Feb 5 at 16:02
@Helmet545 does your local setting require the use of;
instead of,
to delimit the parts of the formula?
– Scott Craner
Feb 5 at 16:09
Yes, it works now! Thanks, a lot. That's why no formulas I try works...
– Helmet545
Feb 5 at 16:13
@Helmet545 please consider marking as correct by clicking the check mark by the answer.
– Scott Craner
Feb 5 at 16:13
add a comment |
Thanks, but I get this error message: Tried to add picture. But it says "There's a problem with this formula. Not trying to type a formula? When the first character is an Equal (=) or minus (-) sign, Excel thinks it's a formula"
– Helmet545
Feb 5 at 16:02
@Helmet545 does your local setting require the use of;
instead of,
to delimit the parts of the formula?
– Scott Craner
Feb 5 at 16:09
Yes, it works now! Thanks, a lot. That's why no formulas I try works...
– Helmet545
Feb 5 at 16:13
@Helmet545 please consider marking as correct by clicking the check mark by the answer.
– Scott Craner
Feb 5 at 16:13
Thanks, but I get this error message: Tried to add picture. But it says "There's a problem with this formula. Not trying to type a formula? When the first character is an Equal (=) or minus (-) sign, Excel thinks it's a formula"
– Helmet545
Feb 5 at 16:02
Thanks, but I get this error message: Tried to add picture. But it says "There's a problem with this formula. Not trying to type a formula? When the first character is an Equal (=) or minus (-) sign, Excel thinks it's a formula"
– Helmet545
Feb 5 at 16:02
@Helmet545 does your local setting require the use of
;
instead of ,
to delimit the parts of the formula?– Scott Craner
Feb 5 at 16:09
@Helmet545 does your local setting require the use of
;
instead of ,
to delimit the parts of the formula?– Scott Craner
Feb 5 at 16:09
Yes, it works now! Thanks, a lot. That's why no formulas I try works...
– Helmet545
Feb 5 at 16:13
Yes, it works now! Thanks, a lot. That's why no formulas I try works...
– Helmet545
Feb 5 at 16:13
@Helmet545 please consider marking as correct by clicking the check mark by the answer.
– Scott Craner
Feb 5 at 16:13
@Helmet545 please consider marking as correct by clicking the check mark by the answer.
– Scott Craner
Feb 5 at 16:13
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1402307%2fexcel-finding-max-value-and-then-stating-the-name-of-the-value%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown