Help with conditional formatting

Timbo50

New Member
Joined
May 15, 2015
Messages
18
Office Version
  1. 2019
Platform
  1. Windows
(Excel 2016) I have a row of cells that 'vlookup' values from another workbook. I want to conditionally format cells that have a minus value, the same as I have in other parts of the sheet. However, I cannot get these particular cells to format. I'm obviously missing something. Any help would be appreciated.
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
Hi, many thanks for the response. Your formula is the one I already use and it works in other columns, but not this one. I was beginning to think it was about the formula in the cell I want to format. Namely it's a vlookup getting values from another workbook.
 
Upvote 0
Could be the data coming back is not a value but is text from your vlookup's. You could try this in C3 for the CF:

Code:
=value(c3)<0
 
Upvote 0
Hi Phil & Oldbrewer, the value I wanted formatting was coming back from a web query that ended up in a table. Once I put my 'vlookup' inside a value parenthesis all is well. many thanks to both of you for your help.
 
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