Highlight cells in column A

rcirone

Active Member
Joined
Mar 12, 2009
Messages
483
Office Version
  1. 365
Platform
  1. Windows
Highlight cells in column A Green if on the same row in column G is Yes

this is what I tried [=VLOOKUP(A2,A:G,7,0)="yes"] what am I doing wrong
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Perhaps this:

Book1
ABCDEFG
1Yes
2No
3Yes
4Yes
5No
Sheet1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A1:A5Expression=$G1="Yes"textNO
 
Upvote 0
Perhaps this:

Book1
ABCDEFG
1Yes
2No
3Yes
4Yes
5No
Sheet1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A1:A5Expression=$G1="Yes"textNO
How do I add that to Condition formatting
 
Upvote 0
How do I add that to Condition formatting
Select the cells you want the CF rule to apply to, column A in this case. Select Conditional Formatting on the ribbon:

1707411654103.png


Select "Use a formula to determine which cells to format" and enter the formula I provided in the box. (I must note that if your data starts in A2, then the formula should be =$G2="Yes"). Then select the desired formatting.

1707411742905.png
 
Upvote 0
This is what I can not get to work. Please Help
[=$A1="MM/DD/YYYY"]
 
Upvote 0
This is what I can not get to work. Please Help
[=$A1="MM/DD/YYYY"]
What are you trying to check with that?

That is checking to see if the literal text of "MM/DD/YYYY" appears in cell A1.
 
Upvote 0
I like to highlight cells RED in column A if cell in Column B same row have a date in them
 
Upvote 0
In Excel, dates are really just numbers with date formats applied to them.
Specifically, it is the number of days since 1/0/1900 (change the format of any cell with a date in it to General, and you will be able to see the date as Excel does).
Time is just the fractional piece of one day (i.e. 12 Noon would be 0.5).

Since dates are just numbers, you can use the formula:
Excel Formula:
=ISNUMBER($A1)
to check for a numeric entry in cell A1.
 
Upvote 0
In Excel, dates are really just numbers with date formats applied to them.
Specifically, it is the number of days since 1/0/1900 (change the format of any cell with a date in it to General, and you will be able to see the date as Excel does).
Time is just the fractional piece of one day (i.e. 12 Noon would be 0.5).

Since dates are just numbers, you can use the formula:
Excel Formula:
=ISNUMBER($A1)
to check for a numeric entry in cell A1.
Thank you
 
Upvote 0

Forum statistics

Threads
1,223,885
Messages
6,175,178
Members
452,615
Latest member
bogeys2birdies

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top