Microsoft Office

Microsoft Office Questions? Ask a IT Expert for Support ASAP

Ask a Computer Expert,
Get an Answer ASAP!

Microsoft Office
This answer was rated:

Problem: Excel wont select cells based on format. Procedure

Problem: Excel won't select cells...
Problem: Excel won't select cells based on format.

Procedure is as follows: (1) In Conditional Formatting, format all cells in List 1 that are equal to any cell in List 2 using a Countif formula (Format = yellow fill color). (2) Click on a cell with yellow fill. (3) In Find & Select - Go To Special - Contitional Formats - Data Validation - Select Same. (4) Click OK.

Excel highlights all cells, not just the yellow fill cells.
Show More
Show Less
Ask Your Own Microsoft Office Question
Answered in 10 minutes by:
9/9/2013
Richard
Richard, Software Specialist
Category: Microsoft Office
Satisfied Customers: 39,581
Experience: Over 15 year experience resolving Microsoft Office Issues
Verified
Thank you for your question, my name is Richard.

So to clarify, you want Excel to highlight the block of cells that have a yellow fill color correct?

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

I want Excel to highlight only those cells (not necessarily in a "block") with the format that I've caused Excel to apply via conditional formatting. The nature of the format is irrelevant.

Ok, it is relevant though as this is going to need a Macro.

What formating should it be highlighting on?

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

I'm trying to select cells in List 1 that contain nuymbers equal to the cells in List 2. I'm trying to do this using conditional formatting. The format used is irrelevant.
Maybe you should call me. My number is XXXXX Ext 270.

I cannot call sorry.

But basically you will do your conditional formating.

Then you want the formatted cells to be selected correct?

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

Correct. In Conditional Formats, when I click OK after selecting Same under Data Validation, Excel selects all cells in the List, not just the cells containing the selected format.


 


I could send you the esperimenta spreadsheet if this would help.

It would, but this needs to be done with a Macro, thats the only way to achieve this, but you keep saying

The format used is irrelevant.

But it is relevant, as the Macro needs to know the format your going to use. So unless you keep saying this, it will not be possible to do.

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

OK. I understand.


 


By "it would" do you mean that Excel would select all cells or that sending the experimental spreadsheet would help?


 


I tried to attach the spreadsheet to this reply, but it appears to accept only images.

Sending the sheet will help

But I need you to tell me what formatting you will use and on which sheet.

To give me the sheet

- Click the following link: http://www.wikisend.com
- Upload the file to that website
- Once it is uploaded, the resulting page will display a "File ID" number.
- Please, give me that "File ID Number"

Thank you
Ask Your Own Microsoft Office Question
Customer reply replied 4 years ago

Yellow fill is OK for the format.


I will need to be able to do this on any sheet I specify.


 


The file ID is 285830.


 


FYI, I have limited experience with Excel macros.

Ok, this is done.

You can download the file from www.wikisend.com under File ID 483074

I have made a button, so you click this button when you want the Cells with Yello to be selected.

If you have any difficulties at all, please do not hesitate to let me know so I can assist you further

Thank you
Ask Your Own Microsoft Office Question
Customer reply replied 4 years ago

Sorry, but I can't figure out how to open the file I downloaded from Wikisend.
I found some xml documents, but no Excel documents.

Which version of Excel are you using?
Ask Your Own Microsoft Office Question
Customer reply replied 4 years ago

2010

ok, is the same version as me.

I uploaded again in a Zip File

ID is 755544

When you download, right click on it and Extract the Excel file, then run it.

Let me know the results please

Thank you
Ask Your Own Microsoft Office Question
Customer reply replied 4 years ago

I tried it, and it selectes the cells you cormatted, but doesn't select the cell I selected via conditional formatting.


 


Also, how can I transfer the button to other spreadsheets?

First, send me the sheet again with your conditional formatting applied.

As I want to see what the issue is.

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


I tried to upload the file, and it briefly opened the file ID enter window, then closed it and opened the download window before I could enter an ID number.

You dont enter an ID Number, it gives you one on the download window.

Look there for it and give it to me please.

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


Sorry. It's on its way.

No problem
Ask Your Own Microsoft Office Question
Customer reply replied 4 years ago


The number is XXXXX

Thanks

Test this file please

256172

Let me know the results please

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

I tried tried adding a non-conditional format to the conditional format. Neither formatted cell was selected when the putton was pushed.


 


The file ID number is XXXXX

Can you give me the formula you use for the conditional format please

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

=COUNTIF(List2:B2)>0 (B2 is the first cell in List1.) The formula identifies all cells in List1 that produce a TRUE result.

ok, got it

962854

It only does it on cells highlighted via Conditional formatting, not ones you manually highlight.

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

It works!


 


As I indicated above, I need to be able to apply this to any spreadsheet I select. How can I do this?

ok, you need to copy the Macro to the other sheets / files.

to do this, follow these steps.

In this sheet, press Alt+F11

A new window opens.

double click on the left in Project, Sheet 1

you will see the sub Macro2()

Copy all that text as this is the code.

Then go to the sheet you want to run this on.

Press ALT+F11

Double click the sheet in the Project window top left

Paste the code there and then to run it press F5

this will run the code.

If you want to run it using a button, first unhide the developers tab

To unhide it

Click the File tab.
Click Options.
Click Customize Ribbon.
Under Customize the Ribbon and under Main Tabs, select the Developer check box.

Then click on the Developer Tab

Click Insert, then choose the first one (button)

Draw it on the sheet.

Then assign it to Macro 2 when the window appear.

Then you can run it via the button.

If you have any problems, or would like any additional information or assistance, please do not hesitate to let me know.

And if you can take a second to rate my service, that would be greatly appreciated.

Thank you
Richard
Richard, Software Specialist
Category: Microsoft Office
Satisfied Customers: 39,581
Experience: Over 15 year experience resolving Microsoft Office Issues
Verified
Richard and 87 other Microsoft Office Specialists are ready to help you
Ask your own question now
Ask Richard Your Own Question
Richard
Richard
Richard, Software Specialist
Category: Microsoft Office
Satisfied Customers: 39,581
39,581 Satisfied Customers
Experience: Over 15 year experience resolving Microsoft Office Issues

Richard 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

684 satisfied customers

Computer Software Specialist for more than 10 years

The-PC-Guy

The-PC-Guy

Computer Manager

579 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

156 satisfied customers

Bachelor's Degree in Information Technology, Microsoft Certified Professional

Chris L.

Chris L.

Support Specialist

143 satisfied customers

Certified Expert with over 10 years experience.

< Previous | Next >

Related Microsoft Office Questions
Have a Word document that I need to make into a template but
Have a Word document that I need to make into a template but want the header editable too - currently this is losing its formatting when placing into a header, whilst keeping it's edit-ability. Additi… read more
bbao
bbao
Freelance IT Consultant
74 satisfied customers
I am trying to sign in to my Microsoft account...
I am trying to sign in to my Microsoft account...***@******.*** … read more
UranIT
UranIT
IT Consultant, Network and System Admin
Associate Degree
468 satisfied customers
I mistakenling uninstall microsoft office. Can I recover it?
I mistakenling uninstall microsoft office. Can I recover it? … read more
Viet - Computer Tech
Viet - Computer Tech
Computer Technican
Bachelor\u0027s Degree
952 satisfied customers
I am coinstantly getting calls that say they are from
I am coinstantly getting calls that say they are from Microsoft....I have others also trying to call about my computer. How do I know if it is really a call from Microsoft. They are always saying my c… read more
Jess M.
Jess M.
Computer Support Specialist
Bachelor's Degree
684 satisfied customers
I have bought a new Windows 10 and have used my Office 365
I have bought a new Windows 10 and have used my Office 365 sub to install Office suite. I now get a message for me to fix my account in order to continue using the software. What do I need to do? … read more
Cody
Cody
Computer Science
1,466 satisfied customers
Uninstalled office 2011 for mac and then reinstalled from
uninstalled office 2011 for mac and then reinstalled from disk and outlook email not showing up … read more
Damian Costa
Damian Costa
Owner
Computer Network System Engineer
40 satisfied customers
I bought a microsoft office package on 18th Nov. for $99,
I bought a microsoft office package on 18th Nov. for $99, and it hasn't been re cognised on my computer. How doI activate it? … read more
Michelle
Michelle
Manager operations
Bachelor\u0027s Degree
1,273 satisfied customers
I CAN'T OPEN MICROSOFT WORD FILES ON MY DESKTOP. I GET AN
I GET AN ERROR MESSAGE. IT SAYS THE TITLE IS INCORRECT. THIS HAS NEVER HAPPENED BEFORE. I HAVEN'T KNOWINGLY REARRANGED FILE FOLDERS RECENTLY … read more
Cris
Cris
Desktop Support
Associate Degree
58 satisfied customers
I wish to go back to our previous email
I wish to go back to our previous email [*****@******.*** … read more
Jess M.
Jess M.
Computer Support Specialist
Bachelor's Degree
684 satisfied customers
How to install previously purchased microsoft office online
how to install previously purchased microsoft office online to a new computer … read more
Viet - Computer Tech
Viet - Computer Tech
Computer Technican
Bachelor\u0027s Degree
952 satisfied customers
I just started a requested update of MS Office for my
I just started a requested update of MS Office for my MacBook pro (2015). … read more
Jon
Jon
Bachelors Degree
390 satisfied customers
I Need help making changes to an existing spreadsheet.
I Need help making changes to an existing spreadsheet … read more
The-PC-Guy
The-PC-Guy
Computer Manager
Bachelor's Degree
579 satisfied customers
I just installed Microsoft office and they are in the dock
Hello, I just installed Microsoft office and they are in the dock but none of them will open! … read more
Josh
Josh
It Support Specialist
Associate Degree
5,127 satisfied customers
How do i change my outgoing message in my teleohone. Acer
how do i change my outgoing message in my teleohone … read more
Bhavik Joshi
Bhavik Joshi
Computer Science and Engineering
588 satisfied customers
I CAN'T OPEN MICROSOFT WORD FILES ON MY DESKTOP. I GET AN
I GET AN ERROR MESSAGE. IT SAYS THE TITLE IS INCORRECT. THIS HAS NEVER HAPPENED BEFORE. I HAVEN'T KNOWINGLY REARRANGED FILE FOLDERS RECENTLY … read more
Bryan
Bryan
IT Consultant
8,746 satisfied customers
I am unable to open a excel document it is saying it may
i am unable to open a excel document it is saying it may have been deleted, remnames or moved … read more
bbao
bbao
Freelance IT Consultant
74 satisfied customers
I have various solid lines going across the page that I
I have various solid lines going across the page that I can't delete...how can I get rid of them? … read more
Jess M.
Jess M.
Computer Support Specialist
Bachelor's Degree
684 satisfied customers
I bought Microsoft Word for my at home computer, I would now
I bought Microsoft Word for my at home computer, I would now like to install it on my MacLaptop. What do I need to do? … read more
Kamil Anwar
Kamil Anwar
IT Consultant / Systems Engineer
Bachelor\u0027s Degree
426 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