Conditionally format a range based on a different range
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}
Given the sheet:
A| B | C = SUM($D2:$Z2) | D | E | F | ...
How would I, for a range of rows (for example: 4:50
), color columns Cx:Zx
(for row x
) if Bx > Cx
, without making a conditional rule for each individual row and/or each individual column?
(Assume there are a lot of rows and a lot of columns.)
google-sheets gs-conditional-formatting
add a comment |
Given the sheet:
A| B | C = SUM($D2:$Z2) | D | E | F | ...
How would I, for a range of rows (for example: 4:50
), color columns Cx:Zx
(for row x
) if Bx > Cx
, without making a conditional rule for each individual row and/or each individual column?
(Assume there are a lot of rows and a lot of columns.)
google-sheets gs-conditional-formatting
add a comment |
Given the sheet:
A| B | C = SUM($D2:$Z2) | D | E | F | ...
How would I, for a range of rows (for example: 4:50
), color columns Cx:Zx
(for row x
) if Bx > Cx
, without making a conditional rule for each individual row and/or each individual column?
(Assume there are a lot of rows and a lot of columns.)
google-sheets gs-conditional-formatting
Given the sheet:
A| B | C = SUM($D2:$Z2) | D | E | F | ...
How would I, for a range of rows (for example: 4:50
), color columns Cx:Zx
(for row x
) if Bx > Cx
, without making a conditional rule for each individual row and/or each individual column?
(Assume there are a lot of rows and a lot of columns.)
google-sheets gs-conditional-formatting
google-sheets gs-conditional-formatting
edited Jan 28 at 2:25
pnuts
49.1k764101
49.1k764101
asked Dec 21 '18 at 18:16
kandokando
210111
210111
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
There are several Q&A on Stackoverflow that would assist you. In particular Conditional formatting based on another cell's value and the answer (with the attached comments) by Zig Mandel. It's a reminder that some Googling is always worthwhile before asking a new question.
- Select "Custom formatting" from the Format menu.
- Set "Apply to Range" to C2:Z50
- "Format cells if", select "Custom formula is" and enter
=$B2:$B>$C2:$C
- Select Done.
B is less than C
B is greater than C
Screen shots
That is true, but none answered fully with regard to upper left and lower right range bounds with end range of full column in the custom formula. Thank you; I believe that your answer is original and more robust than others provided.
– kando
Jan 4 at 16:32
@kando You may be right, but I'm not sure. The BIG thing revealed in that Q&A was the use of the '$' sign in the custom formula. I had to experiment with combinations to have the condition apply to a whole row, but I haven't seen any discussion else on that topic. What I'm saying is sometimes another question may not necessarily resolve one's question, but it may provides a key; in fact, it may take a few other questions to "join the dots".
– Tedinoz
Jan 5 at 19:48
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
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%2fstackoverflow.com%2fquestions%2f53889209%2fconditionally-format-a-range-based-on-a-different-range%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
There are several Q&A on Stackoverflow that would assist you. In particular Conditional formatting based on another cell's value and the answer (with the attached comments) by Zig Mandel. It's a reminder that some Googling is always worthwhile before asking a new question.
- Select "Custom formatting" from the Format menu.
- Set "Apply to Range" to C2:Z50
- "Format cells if", select "Custom formula is" and enter
=$B2:$B>$C2:$C
- Select Done.
B is less than C
B is greater than C
Screen shots
That is true, but none answered fully with regard to upper left and lower right range bounds with end range of full column in the custom formula. Thank you; I believe that your answer is original and more robust than others provided.
– kando
Jan 4 at 16:32
@kando You may be right, but I'm not sure. The BIG thing revealed in that Q&A was the use of the '$' sign in the custom formula. I had to experiment with combinations to have the condition apply to a whole row, but I haven't seen any discussion else on that topic. What I'm saying is sometimes another question may not necessarily resolve one's question, but it may provides a key; in fact, it may take a few other questions to "join the dots".
– Tedinoz
Jan 5 at 19:48
add a comment |
There are several Q&A on Stackoverflow that would assist you. In particular Conditional formatting based on another cell's value and the answer (with the attached comments) by Zig Mandel. It's a reminder that some Googling is always worthwhile before asking a new question.
- Select "Custom formatting" from the Format menu.
- Set "Apply to Range" to C2:Z50
- "Format cells if", select "Custom formula is" and enter
=$B2:$B>$C2:$C
- Select Done.
B is less than C
B is greater than C
Screen shots
That is true, but none answered fully with regard to upper left and lower right range bounds with end range of full column in the custom formula. Thank you; I believe that your answer is original and more robust than others provided.
– kando
Jan 4 at 16:32
@kando You may be right, but I'm not sure. The BIG thing revealed in that Q&A was the use of the '$' sign in the custom formula. I had to experiment with combinations to have the condition apply to a whole row, but I haven't seen any discussion else on that topic. What I'm saying is sometimes another question may not necessarily resolve one's question, but it may provides a key; in fact, it may take a few other questions to "join the dots".
– Tedinoz
Jan 5 at 19:48
add a comment |
There are several Q&A on Stackoverflow that would assist you. In particular Conditional formatting based on another cell's value and the answer (with the attached comments) by Zig Mandel. It's a reminder that some Googling is always worthwhile before asking a new question.
- Select "Custom formatting" from the Format menu.
- Set "Apply to Range" to C2:Z50
- "Format cells if", select "Custom formula is" and enter
=$B2:$B>$C2:$C
- Select Done.
B is less than C
B is greater than C
Screen shots
There are several Q&A on Stackoverflow that would assist you. In particular Conditional formatting based on another cell's value and the answer (with the attached comments) by Zig Mandel. It's a reminder that some Googling is always worthwhile before asking a new question.
- Select "Custom formatting" from the Format menu.
- Set "Apply to Range" to C2:Z50
- "Format cells if", select "Custom formula is" and enter
=$B2:$B>$C2:$C
- Select Done.
B is less than C
B is greater than C
Screen shots
answered Jan 3 at 3:48
TedinozTedinoz
1,33721419
1,33721419
That is true, but none answered fully with regard to upper left and lower right range bounds with end range of full column in the custom formula. Thank you; I believe that your answer is original and more robust than others provided.
– kando
Jan 4 at 16:32
@kando You may be right, but I'm not sure. The BIG thing revealed in that Q&A was the use of the '$' sign in the custom formula. I had to experiment with combinations to have the condition apply to a whole row, but I haven't seen any discussion else on that topic. What I'm saying is sometimes another question may not necessarily resolve one's question, but it may provides a key; in fact, it may take a few other questions to "join the dots".
– Tedinoz
Jan 5 at 19:48
add a comment |
That is true, but none answered fully with regard to upper left and lower right range bounds with end range of full column in the custom formula. Thank you; I believe that your answer is original and more robust than others provided.
– kando
Jan 4 at 16:32
@kando You may be right, but I'm not sure. The BIG thing revealed in that Q&A was the use of the '$' sign in the custom formula. I had to experiment with combinations to have the condition apply to a whole row, but I haven't seen any discussion else on that topic. What I'm saying is sometimes another question may not necessarily resolve one's question, but it may provides a key; in fact, it may take a few other questions to "join the dots".
– Tedinoz
Jan 5 at 19:48
That is true, but none answered fully with regard to upper left and lower right range bounds with end range of full column in the custom formula. Thank you; I believe that your answer is original and more robust than others provided.
– kando
Jan 4 at 16:32
That is true, but none answered fully with regard to upper left and lower right range bounds with end range of full column in the custom formula. Thank you; I believe that your answer is original and more robust than others provided.
– kando
Jan 4 at 16:32
@kando You may be right, but I'm not sure. The BIG thing revealed in that Q&A was the use of the '$' sign in the custom formula. I had to experiment with combinations to have the condition apply to a whole row, but I haven't seen any discussion else on that topic. What I'm saying is sometimes another question may not necessarily resolve one's question, but it may provides a key; in fact, it may take a few other questions to "join the dots".
– Tedinoz
Jan 5 at 19:48
@kando You may be right, but I'm not sure. The BIG thing revealed in that Q&A was the use of the '$' sign in the custom formula. I had to experiment with combinations to have the condition apply to a whole row, but I haven't seen any discussion else on that topic. What I'm saying is sometimes another question may not necessarily resolve one's question, but it may provides a key; in fact, it may take a few other questions to "join the dots".
– Tedinoz
Jan 5 at 19:48
add a comment |
Thanks for contributing an answer to Stack Overflow!
- 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%2fstackoverflow.com%2fquestions%2f53889209%2fconditionally-format-a-range-based-on-a-different-range%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