How to omit returning the rows for “false” values
I have a worksheet with multiple tabs. The first tab is the master sheet and columns A-G contain identifying data. In the second tab I have created a formula to return the value in column A of the master sheet if the value in column H is greater than Z.
The problem with the formula that I created is that it will also return all of the blank rows if column H is not greater than 0. How do I create a formula that will skip / not return the "false" rows?
microsoft-excel
add a comment |
I have a worksheet with multiple tabs. The first tab is the master sheet and columns A-G contain identifying data. In the second tab I have created a formula to return the value in column A of the master sheet if the value in column H is greater than Z.
The problem with the formula that I created is that it will also return all of the blank rows if column H is not greater than 0. How do I create a formula that will skip / not return the "false" rows?
microsoft-excel
I basically understand what you want, without knowing how you are doing this the best answer is going to use the IF function. `=IF(condition, value if true, value if false). Edit your question with an EXACT formula that you are using, and I'll write an answer.
– Tyson
Aug 15 '14 at 16:08
=IF(H1<>"",<Your formula here>)
– cybernard
Aug 15 '14 at 16:29
We need to see your formula so we can help you.
– CharlieRB
Aug 15 '14 at 16:50
Take a look at this website which uses formulas to filter a table. Unfortunately excel doesn't have an easy way to do this like google docs
– gtwebb
Aug 15 '14 at 18:17
add a comment |
I have a worksheet with multiple tabs. The first tab is the master sheet and columns A-G contain identifying data. In the second tab I have created a formula to return the value in column A of the master sheet if the value in column H is greater than Z.
The problem with the formula that I created is that it will also return all of the blank rows if column H is not greater than 0. How do I create a formula that will skip / not return the "false" rows?
microsoft-excel
I have a worksheet with multiple tabs. The first tab is the master sheet and columns A-G contain identifying data. In the second tab I have created a formula to return the value in column A of the master sheet if the value in column H is greater than Z.
The problem with the formula that I created is that it will also return all of the blank rows if column H is not greater than 0. How do I create a formula that will skip / not return the "false" rows?
microsoft-excel
microsoft-excel
edited Aug 15 '14 at 16:39
ydaetskcoR
6,3963715
6,3963715
asked Aug 15 '14 at 15:55
CarlosCarlos
612
612
I basically understand what you want, without knowing how you are doing this the best answer is going to use the IF function. `=IF(condition, value if true, value if false). Edit your question with an EXACT formula that you are using, and I'll write an answer.
– Tyson
Aug 15 '14 at 16:08
=IF(H1<>"",<Your formula here>)
– cybernard
Aug 15 '14 at 16:29
We need to see your formula so we can help you.
– CharlieRB
Aug 15 '14 at 16:50
Take a look at this website which uses formulas to filter a table. Unfortunately excel doesn't have an easy way to do this like google docs
– gtwebb
Aug 15 '14 at 18:17
add a comment |
I basically understand what you want, without knowing how you are doing this the best answer is going to use the IF function. `=IF(condition, value if true, value if false). Edit your question with an EXACT formula that you are using, and I'll write an answer.
– Tyson
Aug 15 '14 at 16:08
=IF(H1<>"",<Your formula here>)
– cybernard
Aug 15 '14 at 16:29
We need to see your formula so we can help you.
– CharlieRB
Aug 15 '14 at 16:50
Take a look at this website which uses formulas to filter a table. Unfortunately excel doesn't have an easy way to do this like google docs
– gtwebb
Aug 15 '14 at 18:17
I basically understand what you want, without knowing how you are doing this the best answer is going to use the IF function. `=IF(condition, value if true, value if false). Edit your question with an EXACT formula that you are using, and I'll write an answer.
– Tyson
Aug 15 '14 at 16:08
I basically understand what you want, without knowing how you are doing this the best answer is going to use the IF function. `=IF(condition, value if true, value if false). Edit your question with an EXACT formula that you are using, and I'll write an answer.
– Tyson
Aug 15 '14 at 16:08
=IF(H1<>"",<Your formula here>)
– cybernard
Aug 15 '14 at 16:29
=IF(H1<>"",<Your formula here>)
– cybernard
Aug 15 '14 at 16:29
We need to see your formula so we can help you.
– CharlieRB
Aug 15 '14 at 16:50
We need to see your formula so we can help you.
– CharlieRB
Aug 15 '14 at 16:50
Take a look at this website which uses formulas to filter a table. Unfortunately excel doesn't have an easy way to do this like google docs
– gtwebb
Aug 15 '14 at 18:17
Take a look at this website which uses formulas to filter a table. Unfortunately excel doesn't have an easy way to do this like google docs
– gtwebb
Aug 15 '14 at 18:17
add a comment |
1 Answer
1
active
oldest
votes
=IF('Master Sheet'!H2>Z, 'Master Sheet'!A2, "")
=IF(condition, value if true, value if false)
condition = if the value in column H is greater than Z
If True = If true, return the value in A2 (starting at A2, assuming you have a header row)
If False = If false, return a blank cell. I like to return a dash so I use "-", this way I know something was calculated.
This of course will result in having rows populated and blank, but a simple sort will bring your results to the top.
I hope this helps.
I believe the purpose is to not end up with a bunch of blank rows (which this returns) It sounds like he is looking for a filter more than an if statement.
– gtwebb
Aug 15 '14 at 18:14
of course you could always try the formula below if you include a row number collumn in row A and push your data along.
– albert276
Aug 15 '14 at 20:03
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%2f797501%2fhow-to-omit-returning-the-rows-for-false-values%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
=IF('Master Sheet'!H2>Z, 'Master Sheet'!A2, "")
=IF(condition, value if true, value if false)
condition = if the value in column H is greater than Z
If True = If true, return the value in A2 (starting at A2, assuming you have a header row)
If False = If false, return a blank cell. I like to return a dash so I use "-", this way I know something was calculated.
This of course will result in having rows populated and blank, but a simple sort will bring your results to the top.
I hope this helps.
I believe the purpose is to not end up with a bunch of blank rows (which this returns) It sounds like he is looking for a filter more than an if statement.
– gtwebb
Aug 15 '14 at 18:14
of course you could always try the formula below if you include a row number collumn in row A and push your data along.
– albert276
Aug 15 '14 at 20:03
add a comment |
=IF('Master Sheet'!H2>Z, 'Master Sheet'!A2, "")
=IF(condition, value if true, value if false)
condition = if the value in column H is greater than Z
If True = If true, return the value in A2 (starting at A2, assuming you have a header row)
If False = If false, return a blank cell. I like to return a dash so I use "-", this way I know something was calculated.
This of course will result in having rows populated and blank, but a simple sort will bring your results to the top.
I hope this helps.
I believe the purpose is to not end up with a bunch of blank rows (which this returns) It sounds like he is looking for a filter more than an if statement.
– gtwebb
Aug 15 '14 at 18:14
of course you could always try the formula below if you include a row number collumn in row A and push your data along.
– albert276
Aug 15 '14 at 20:03
add a comment |
=IF('Master Sheet'!H2>Z, 'Master Sheet'!A2, "")
=IF(condition, value if true, value if false)
condition = if the value in column H is greater than Z
If True = If true, return the value in A2 (starting at A2, assuming you have a header row)
If False = If false, return a blank cell. I like to return a dash so I use "-", this way I know something was calculated.
This of course will result in having rows populated and blank, but a simple sort will bring your results to the top.
I hope this helps.
=IF('Master Sheet'!H2>Z, 'Master Sheet'!A2, "")
=IF(condition, value if true, value if false)
condition = if the value in column H is greater than Z
If True = If true, return the value in A2 (starting at A2, assuming you have a header row)
If False = If false, return a blank cell. I like to return a dash so I use "-", this way I know something was calculated.
This of course will result in having rows populated and blank, but a simple sort will bring your results to the top.
I hope this helps.
edited Aug 15 '14 at 20:03
answered Aug 15 '14 at 16:46
albert276albert276
1991313
1991313
I believe the purpose is to not end up with a bunch of blank rows (which this returns) It sounds like he is looking for a filter more than an if statement.
– gtwebb
Aug 15 '14 at 18:14
of course you could always try the formula below if you include a row number collumn in row A and push your data along.
– albert276
Aug 15 '14 at 20:03
add a comment |
I believe the purpose is to not end up with a bunch of blank rows (which this returns) It sounds like he is looking for a filter more than an if statement.
– gtwebb
Aug 15 '14 at 18:14
of course you could always try the formula below if you include a row number collumn in row A and push your data along.
– albert276
Aug 15 '14 at 20:03
I believe the purpose is to not end up with a bunch of blank rows (which this returns) It sounds like he is looking for a filter more than an if statement.
– gtwebb
Aug 15 '14 at 18:14
I believe the purpose is to not end up with a bunch of blank rows (which this returns) It sounds like he is looking for a filter more than an if statement.
– gtwebb
Aug 15 '14 at 18:14
of course you could always try the formula below if you include a row number collumn in row A and push your data along.
– albert276
Aug 15 '14 at 20:03
of course you could always try the formula below if you include a row number collumn in row A and push your data along.
– albert276
Aug 15 '14 at 20:03
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%2f797501%2fhow-to-omit-returning-the-rows-for-false-values%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
I basically understand what you want, without knowing how you are doing this the best answer is going to use the IF function. `=IF(condition, value if true, value if false). Edit your question with an EXACT formula that you are using, and I'll write an answer.
– Tyson
Aug 15 '14 at 16:08
=IF(H1<>"",<Your formula here>)
– cybernard
Aug 15 '14 at 16:29
We need to see your formula so we can help you.
– CharlieRB
Aug 15 '14 at 16:50
Take a look at this website which uses formulas to filter a table. Unfortunately excel doesn't have an easy way to do this like google docs
– gtwebb
Aug 15 '14 at 18:17