Formula Results

hoggsy

New Member
Joined
Feb 17, 2009
Messages
5
Hi

I am using =mid to pull data into a table from a worksheet, the data that is pulled across should fall between certain ranges and i was wondering if there was a way to either make the test bold or add a * if it fell out of range.
I tried conditional formating but it wouldnt work as the cell had the formula in it.

Sorry of i didnt make myself very clear.

Thanks
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
Conditional formatting should work...

The problem is probably because you're using the MID function. That returns a TEXT STRING Number, not a real number. But conditional formatting will be looking for a number to do the less than and greater than test...

Whatever your MID function is, try adding +0 to the end of it.

Hope that helps..
 
Upvote 0
Thanks, that worked like a treat, but it did take me a while to figure out how to hide the #VALUE! error. On the flip side its two new things learnt how to do :)
 
Upvote 0

Forum statistics

Threads
1,215,429
Messages
6,124,842
Members
449,193
Latest member
MikeVol

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