This is how it's done:
- Go to Sheet 2 and select the range of numbers you want have checked
- In the white box to the left of the formula bar (which probably reads 'A1'), type in 'NumberRange' - this makes this a 'Named Range'-- You can check this has worked correctly by clicking 'Name Manager' on the 'Formulas' tab, where you should see an entry called 'Number Range' showing the range it refers to (Sheet2, A1:A15) and the values (115, 116, etc)
- Now go back to Sheet 1 and select your range (A1:A40).
- Click 'Conditional Formatting' on the 'Home' tab, select 'New Rule' and 'Use a formula to determine which cells to format'.
- In the formula box, type =COUNTIF(NumberRange,A1)>0
- Click the 'Format' box and select the formatting you want (blue fill / red text / whatever you want), then click OK twice.
Hope that helps.
As your problem has been solved, please consider giving BadlySpelledBuoy reputation (by clicking the star to the bottom-left of his post) and mark the thread as 'Solved' by using the 'Thread Tools' menu at the top of your first post. Thank you.
Bookmarks