Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 05-27-2016, 08:06 AM
namedujour
Guest
 
Posts: n/a
Default Need conditional formatting formula

When cell B2 contains data, I need to have cells B2:G2 (a table row) highlighted yellow. I found the built in rule to highlight a cell when it isn't blank, but it doesn't extend across multiple cells. It also doesn't give me a way to reference Column B as being the cell that determines the formatting, if I try to apply that rule in the other columns.

What is the formula for this?

Thanks!
Reply With Quote
  #2  
Old 05-27-2016, 08:58 AM
xor xor is offline Need conditional formatting formula Windows 10 Need conditional formatting formula Office 2016
Expert
 
Join Date: Oct 2015
Posts: 1,097
xor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to all
Default

Select B2:G2.
Click Conditional Formatting and select New Rule.
Select Use formula to determine .....
In the field Format values where this formula is true write: =$B$2<>"".
Click the Format and format as you wish.
OK.
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need conditional formatting formula Dragging conditional formatting like a formula sjp1966 Excel 9 04-13-2017 06:01 AM
Need conditional formatting formula Conditional Formatting Formula teza2k06 Excel 1 08-22-2014 02:49 AM
Need conditional formatting formula Formula/Conditional Formatting teza2k06 Excel 1 04-15-2014 06:49 PM
Need formula for search and conditional formatting MikeJedi Excel 9 01-13-2012 12:38 PM
Need conditional formatting formula conditional formatting formula NEHicks503 Excel 1 11-30-2011 09:01 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:18 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft