Microsoft Office

Microsoft Office Questions? Ask a IT Expert for Support ASAP

Ask a Computer Expert,
Get an Answer ASAP!

Microsoft Office

In MS Excel, what is a formula to test if a cell in a range

Customer Question
In MS Excel, what is...

In MS Excel, what is a formula to test if a cell in a range has the color red?  I don't know if this makes a difference.  But if the cell is red, it will be so by conditional formatting.

Submitted: 4 years ago.Category: Microsoft Office
Show More
Show Less
Ask Your Own Microsoft Office Question
Answered in 6 hours by:
7/7/2013
Microsoft Office Technician: Russell H., Computer Systems Expert replied 4 years ago
Russell H.
Russell H., Computer Systems Expert
Category: Microsoft Office
Satisfied Customers: 11,737
Experience: 13+ years experience
Verified

Hi, thank you for contacting JustAnswer.com. My name is Russell. I will do my best to provide the right answer to your question.

Please tell me what version - or version range, if several different versions are involved in your question .... - of Microsoft Excel you are asking about.

Please specify whether the background of the cell's color is to be tested for, in the formula, or the foreground i.e. text color, in the cell. It makes some difference.

Thanks.
Ask Your Own Microsoft Office Question
Customer reply replied 4 years ago


I am testing for red background color, and if it is present in any cell in a given range, then I want another cell to also change to red.


Say, if any cells in range G12:G45 are red then cell A1 must also turn red. I want to use conditional formatting for A1. All Cells in G12:G45 also have a conditional formatting to turn red if certain criteria are met. I don't know the color index number for the red that is used. Perhaps there is a way to find out.


Thank you

 

Microsoft Office Technician: Russell H., Computer Systems Expert replied 4 years ago
So A1 is the cell that reacts, and it reacts to *any* cell being red-backgrounded?

Or how does the cell-that-reacts relate to the cell(s)-that-is/are-checked ?

And you want a conditional reaction in G12:G45 to be passed on to A1 (or some other cell too in other words) ?
Ask Your Own Microsoft Office Question
Customer reply replied 4 years ago
Ok, so am deciding to take a different approach on my spreadsheet.
Let me begin anew;

I would like cell A1 on "Cover Page"! to turn red if any cell in range Sheet1!J12:J45 has the text "red".

I want to use contional formatting, but I can't come up with the right formula.

Also, on cell A2 on "Cover Page"! I want it to turn red if Sheet2!J12:J45 has the text "red".

So essentially, I want to construct the formula in a way that I can fill down from A1 to A20 on "Cover Page"!, I want A1 to check Sheet1, A2 to check Sheet2, A3 to check Sheet3, and so forth.

I don't want to have to redo the formula for each cell in column A, so I want the formula in a way that I can just drag and fill down

Thank you kindly
Microsoft Office Technician: Russell H., Computer Systems Expert replied 4 years ago
So in other words, Ax reacting to Sheetx!J12:J45.

I will see if I can figure out a way to do that. Also, let me know meanwhile, what Excel version you are using. Thanks.
Ask Your Own Microsoft Office Question
Customer reply replied 4 years ago
I am using Microsoft office professional 2010.

Please remember that I want I be able to use this in conditional formatting. Also, I want to be able to fill down to the next cells, without redoing the formula for each one. Thank you kindly. Also, I have my sheets named 0001, 0002, 0003, and so forth. I don't know if excel sees thes worksheet names as text, if that is an issue. I am rename then sheet1, sheet2, and on and on, that's not a problem

Thank you kindly
Microsoft Office Technician: Russell H., Computer Systems Expert replied 4 years ago
I have looked into the issues in your question, and found that, unfortunately,

1. testing for color can't be done with a formula - you would need VB script code for that.
(Ref. http://www.excelbanter.com/showthread.php?t=110955 and
http://superuser.com/questions/474363/how-to-change-the-text-color-by-a-functions-in-excel-2010 which explain that the VB property ColorIndex can be tested by VB code, or can be set by VB code.)
To do this task by VB code instead of with a formula, you create a VBA macro, save it in the workbook, and then you build a formula that uses that macro.

2. changing the color in a cell in reaction to some condition as determined by a formula can be done only by 'Conditional formatting', apparently - which is not the easy 'fill with the same formula' process you are looking for, as it apparently needs to be done one-cell-by-one-cell (though I am not certain of this, not certain that it is limited to one cell at a time).
(Ref: http://www.techonthenet.com/excel/questions/cond_format8.php )

In short, to get the action you require, you need either VB scripting and/or Conditional Formatting.
There is a formula that is *near* what you need, in
=isRed(A1)
but that tests for background color in the cell, I think.

Since this isn't an Answer, I have posted this as an Inquiry, though I haven't asked anything.

Since someone else might have the advanced comprehension needed for the task, I have Opted Out of this case.
Ask Your Own Microsoft Office Question
Microsoft Office Technician: Rachel-Mod, Moderator replied 4 years ago
Rachel-Mod
Rachel-Mod, Moderator
Category: Microsoft Office
Satisfied Customers: 5
Experience: Moderator
Verified

Hello,

I’m Rachel, and I’m moderator for this topic. It seems the professional has left this conversation. This happens occasionally, and it's usually because the professional thinks that someone else might be a better match for your question. I've been working hard to find a new professional to assist you right away, but sometimes finding the right professional can take a little longer than expected.

I was checking to see if you had already found your answer or if you still needing assistance from another one of the professionals?

Please let me know if you wish to continue waiting or if you would like for us to close your question.

Also remember that JustAnswer has a multitude of categories to help you with all your needs from Health, Pets, Computers, Taxes, Cars, Finance, Law, to Home Improvement, and more.


Thank you,

Rachel

Ask Your Own Microsoft Office Question
Customer reply replied 4 years ago
Hello Rachel. I would like to close this question.
Thank you for your concern.
Ask NewITZone Your Own Question
NewITZone
NewITZone
NewITZone, Computer Enthusiast
Category: Microsoft Office
Satisfied Customers: 90
90 Satisfied Customers
Experience: I have been using Office Pro for 10 years and implemented applications for business use.

NewITZone is online now

A new question is answered every 9 seconds

How JustAnswer works:

  • Ask an ExpertExperts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional AnswerVia email, text message, or notification as you wait on our site. Ask follow up questions if you need to.
  • 100% Satisfaction GuaranteeRate the answer you receive.

JustAnswer in the News:

Ask-a-doc Web sites: If you've got a quick question, you can try to get an answer from sites that say they have various specialists on hand to give quick answers... Justanswer.com.
JustAnswer.com...has seen a spike since October in legal questions from readers about layoffs, unemployment and severance.
Web sites like justanswer.com/legal
...leave nothing to chance.
Traffic on JustAnswer rose 14 percent...and had nearly 400,000 page views in 30 days...inquiries related to stress, high blood pressure, drinking and heart pain jumped 33 percent.
Tory Johnson, GMA Workplace Contributor, discusses work-from-home jobs, such as JustAnswer in which verified Experts answer people’s questions.
I will tell you that...the things you have to go through to be an Expert are quite rigorous.

What Customers are Saying:

My Expert answered my question promptly and he resolved the issue totally. This is a great service. I am so glad I found it I will definitely use the service again if needed.

One Happy CustomerNew York

Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help.

Mary C.Freshfield, Liverpool, UK

This expert is wonderful. They truly know what they are talking about, and they actually care about you. They really helped put my nerves at ease. Thank you so much!!!!

AlexLos Angeles, CA

Thank you for all your help. It is nice to know that this service is here for people like myself, who need answers fast and are not sure who to consult.

GPHesperia, CA

I couldn't be more satisfied! This is the site I will always come to when I need a second opinion.

JustinKernersville, NC

Just let me say that this encounter has been entirely professional and most helpful. I liked that I could ask additional questions and get answered in a very short turn around.

EstherWoodstock, NY

Thank you so much for taking your time and knowledge to support my concerns. Not only did you answer my questions, you even took it a step further with replying with more pertinent information I needed to know.

RobinElkton, Maryland

< Previous | Next >

Meet the Experts:

jstinehelfer

jstinehelfer

Information Systems Manager

36 satisfied customers

A+ Comptia Certified computer repair

JasonJames122

JasonJames122

Computer Enthusiast

0 satisfied customers

I manage all information systems (network of Windows PC's and servers with Microsoft Office products) for a small business

Jess M.

Jess M.

Computer Support Specialist

701 satisfied customers

Computer Software Specialist for more than 10 years

The-PC-Guy

The-PC-Guy

Computer Manager

588 satisfied customers

20 years experience providing remote computer support

James K.

James K.

Consultant

260 satisfied customers

Technical Director of IT Company

IT Miro

IT Miro

Computer Scientist

157 satisfied customers

Bachelor's Degree in Information Technology, Microsoft Certified Professional

Chris L.

Chris L.

Support Specialist

147 satisfied customers

Certified Expert with over 10 years experience.

< Previous | Next >

Related Microsoft Office Questions
I have upgraded to Windows 10 and now I can not open some
I have upgraded to Windows 10 and now I can not open some files in Word. It says it can not be found on server, but shows up in file search … read more
Richard
Richard
IT Manager
IT Manager, Consultant
3,282 satisfied customers
I mistakenly ordered a second copy of Microsoft Office 365
I mistakenly ordered a second copy of Microsoft Office 365 on 1/15/18 after ordering an initial purchase on 9/2/17. … read more
Josh
Josh
It Support Specialist
Associate Degree
5,140 satisfied customers
Publisher stopped letting me save files as jpg. there is no
Publisher stopped letting me save files as jpg. there is no data in the jpg file. It will save as a pdf and gif but not jpg or png. Just started happening. … read more
bbao
bbao
Freelance IT Consultant
74 satisfied customers
I paid tech soup 40 dollars for a new replacement for word
I paid tech soup 40 dollars for a new replacement for word and it was to be sent online. a ms partner fo a long time under***@******.*** zzzzzzzzzzzzzzi think zI saw iton my[aptop and tried to downloa… read more
Viet - Computer Tech
Viet - Computer Tech
Computer Technican
Bachelor\u0027s Degree
953 satisfied customers
I'm a time user of Word -- Now using Word 2007. However,
I'm a long time user of Word -- Now using Word 2007. However, there is something I cannot determine how to do. That is, I need to remove the signature "block" which appears when a signature line is pl… read more
bbao
bbao
Freelance IT Consultant
74 satisfied customers
How can I open and then close a document without exiting
How can I open and then close a document without exiting word so that I can quickly open the next document? … read more
Viet - Computer Tech
Viet - Computer Tech
Computer Technican
Bachelor\u0027s Degree
953 satisfied customers
I just downloaded Microsoft office last week and the program
I just downloaded Microsoft office last week and the program says there is a problem and is recommending I load the program again. … read more
Cody
Cody
Computer Science
1,723 satisfied customers
I purchase a new Dell Laptop; order number 324841229;
I purchase a new Dell Laptop; order number###-##-#### Customer number###-##-#### as part off the purchase on 1/12/2018, was the software for Microsoft Office 365 personal. DE000000215429516 … read more
JJesus Perez Gonzale
JJesus Perez Gonzale
Bachelors of Science, Computer Engineering
37 satisfied customers
I am trying to get into my MS Office account, but forgot
I am trying to get into my MS Office account, but forgot password. I now have … read more
bbao
bbao
Freelance IT Consultant
74 satisfied customers
I just acquired 365 and now I cannot access any of my
I just acquired 365 and now I cannot access any of my documents. whatsup? … read more
Jason Jones
Jason Jones
AAS Information Technology
6,320 satisfied customers
I have just had to reload /restore my Windows software as my
Hi, I have just had to reload /restore my Windows software as my system no longer logged onto the internet. One day to the next, it just would not show me Wifi connection details. I fixed that with th… read more
technicalcat
technicalcat
Computer Science
838 satisfied customers
Word update downloaded automatically. I printed a few church
Word update downloaded automatically. I printed a few church bulletins before the update. I print front page and back page in landscape mode so I can fold in the middle. After the update, both front a… read more
bbao
bbao
Freelance IT Consultant
74 satisfied customers
I'm trying to get an IF/THEN/ELSE statement to work in a
Hi there. I'm trying to get an IF/THEN/ELSE statement to work in a mail merge. Here it is in a nutshell: … read more
bbao
bbao
Freelance IT Consultant
74 satisfied customers
Why thank you. I have a word document in docx stored in
Why thank you. I have a word document in docx stored in Dropbox. When I access on my iPad Pro 10.5, it's format is messed up. Was looking on the internet for some help. … read more
bbao
bbao
Freelance IT Consultant
74 satisfied customers
I just ran the latest update for microsoft office and now I
I just ran the latest update for microsoft office and now I can't see any letters when I type on a page????? … read more
Kamil Anwar
Kamil Anwar
IT Consultant / Systems Engineer
Bachelor\u0027s Degree
435 satisfied customers
It appears that an entire folder of Word files has
It appears that an entire folder of Word files has disappeared. Items that are still listed on my screen say, "The file you are trying to open is no longer available and cannot be opened," when I try … read more
bbao
bbao
Freelance IT Consultant
74 satisfied customers
It seems that a worksheet I was working on is no longer
It seems that a worksheet I was working on is no longer there. The workbook went white with small blocks at random places on the screen. I know I did not delete it. How can I recover it? It shows in t… read more
bbao
bbao
Freelance IT Consultant
74 satisfied customers
I AM 76 YRS OLD AND CANNOT UNDERSTAND WHY MICROSOFT 10
I AM 76 YRS OLD AND CANNOT UNDERSTAND WHY MICROSOFT 10 UPDATE WILL NOT DOWN LOAD ON MY LAP TOP COMPUTER. PLEASE HELP ME! … read more
Cody
Cody
Computer Science
1,723 satisfied customers
Disclaimer: Information in questions, answers, and other posts on this site ("Posts") comes from individual users, not JustAnswer; JustAnswer is not responsible for Posts. Posts are for general information, are not intended to substitute for informed professional advice (medical, legal, veterinary, financial, etc.), or to establish a professional-client relationship. The site and services are provided "as is" with no warranty or representations by JustAnswer regarding the qualifications of Experts. To see what credentials have been verified by a third-party service, please click on the "Verified" symbol in some Experts' profiles. JustAnswer is not intended or designed for EMERGENCY questions which should be directed immediately by telephone or in-person to qualified professionals.

Disclaimer: Information in questions, answers, and other posts on this site ("Posts") comes from individual users, not JustAnswer; JustAnswer is not responsible for Posts. Posts are for general information, are not intended to substitute for informed professional advice (medical, legal, veterinary, financial, etc.), or to establish a professional-client relationship. The site and services are provided "as is" with no warranty or representations by JustAnswer regarding the qualifications of Experts. To see what credentials have been verified by a third-party service, please click on the "Verified" symbol in some Experts' profiles. JustAnswer is not intended or designed for EMERGENCY questions which should be directed immediately by telephone or in-person to qualified professionals.

Show MoreShow Less

Ask Your Question

x