Highlight formula assistance

rn119

New Member
Joined
Feb 27, 2013
Messages
49
I need a formula to highlight the cell right above if a cell in a specific column (let's say Column C) has a unique text value (e.g., IP). Any assistance would be appreciated.
 
Last edited:
I adjusted your formula to 19000 rows but it doesn't appear to be working. Looks like it's highlighting random cells along with cells that have the text value. I'm wondering if the D3 cell reference is causing the issue?

=AND(COUNTIF(D2:D19000,"*")-COUNTIF(D2:D19000,LOOKUP(2,1/(D2:D19000<>""),D2:D19000))=0,D2="",D3<>"")
 
Upvote 0

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
I'm wondering if the D3 cell reference is causing the issue?
Nope, it shouldn't be, if you entered it correctly. When you apply a Conditional Formatting formula to a range of cells, you write the formula as it applies to the first cell in your selected range, and it will adjust it for all the other cells.

Are you physically selecting cells D2:D19000 before applying this formula (being sure NOT to select row 1)?
If not, how exactly are you selecting the cells?
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,182
Members
453,021
Latest member
Mohamed Magdi Tawfiq Emam

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