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

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
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,223,902
Messages
6,175,278
Members
452,629
Latest member
SahilPolekar

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