Conditional Formatting Rule Which Determines The Cell Position Based On The Row Of The Target Cell
Hello All, I have a table for gathering up last years medical expenses.
This table has 3 columns.
The first column is used to indicate whether a particular expense is completed or not, the second column is the name of the expense, and the third column
is the amount of money spent for that expense.
Here is a screenshot: Each cell in the Completed column is of type Text and uses data validation to prohibit values other than True or False.
Here is a screenshot of the Completed status of one of the expenses
being set: As you can see there is a pull-down menu to choose True or False.
(The user can also type in True or False without using the pull-down menu but it must be spelled correctly.) Once I setup the data validation for the first cell in the Completed column
I used to Format Painter utility to apply the data validation to all of the other cells in the Completed column.
So far so good.
The next thing I wanted to do was to make it so my table would highlight all expense names in dark red whose Completed status was
set to False.
(To make things easier here is a screenshot of the first row of the table I am working with.) To setup my table such that incomplete expenses were colored dark red, I took the following steps: Highlighted cell I4 ("Anesthesia Services") in Row
4 and then clicked on Conditional Formatting - New Rule Under Select a Rule Type I selected "Use a formula to determine which cells to format" Under Edit the Rule Description I put the following rule: =$H$4="False" In the Format section I chose to have the
rule set the text color to dark red And finally in the Rules Manager dialog I chose cell I4 to be the cell that the condition Applies To.
To test the conditional formatting I set the Completed status for Anesthesia Services to False and the text turned dark
red as expected: I now wanted to apply the same conditional formatting to the other expenses in Rows 5 through 10 (CVS **** - Total Vision Care).
I used the Rules Manager dialog to setup the condition to apply to all the cells: The problem is, the color of
each expense now depends on the same formula =$H$4="False" meaning that if I set the value of cell H4 to False then they all turn dark red: I realize that I could write a new conditional formatting rule for each row in my data table where the formula for each
condition runs from =$H$4="False" to =$H$10="False": As you can see this is a lot of redundant work with only the row index changing for each rule.
It would be nice if there were a way to set up a rule whose formula doesn't hard code the cell location.
say something like the following rule: =$H$CURRENT_ROW()="False" Note the use of my hypothetical function $CURRENT_ROW which returns the row of the cell that is being checked.
Is there a way to do something like this in Excel or do I have to write a new rule
for each row in my table? Thank you.
Solutions to the Problem Conditional Formatting Rule Which Determines The Cell Position Based On The Row Of The Target Cell
Boot in Safe Mode:
- Open Run command as previously described
- Type MSConfig
- Click on Boot tab
- Tick Safe boot in Boot option
- Select Network
- Click Apply and OK
- Reboot your system
Your system will boot in Safe mode with Networking. You may now try and open Windows Store and should not see any errors.
Recommended Method to Fix the Problem: Conditional Formatting Rule Which Determines The Cell Position Based On The Row Of The Target Cell:
How to Fix Conditional Formatting Rule Which Determines The Cell Position Based On The Row Of The Target Cell with SmartPCFixer?
1. Click the button to download SmartPCFixer . Install it on your computer. Open it, and it will perform a scan for your computer. The errors will be shown in the scan result.
2. After the scan is finished, you can see the errors and problems need to be repaired. Click Fix All.
3. When the Fixing part is finished, your computer has been speeded up and the errors have been fixed
Related: Best Way to Download Satellite L645-SP4004M WinDVD BD for Toshiba v.10.0.6.110 driver,Download Toshiba Satellite C655D-S5057 Wireless LAN Driver v.126.96.36.1998.0,Method to Update & Download Toshiba Satellite L650-BT2N22 Web Camera Application v.188.8.131.52 driver,How Can You Update & Download Toshiba Satellite L775D-S7220GR Value Added Package v.1.6.0130.640204 driver,Download Toshiba Satellite Pro L750-SP5176FM Sleep Utility v.1.4.0025.000101 driver,Best Way to Download NVidia GeForce 6100 VGA Driver v.304.51 Certified,How Can You Update & Download NVidia GeForce 9300/nForce 730i VGA Driver v.310.19 Certified,Method to Download NVidia GeForce GT 330M Driver v.340.65,How Can I Update & Download NVidia GeForce GTX 590 Driver v.280.26 WHQL,Method to Download NVidia Tesla C2050 Driver v.319.17,Way to Download RealTek RTL8100C(L) Driver v.5.01,Way to Download RealTek RTL8100E Drivers v.694,Way to Update & Download RealTek RTL8101L Auto Installation Program v.6.110 driver,Method to Update & Download RealTek RTL8111G PXE and RPL ROM code v.2.58 driver,How to Update & Download RealTek RTL8411B(N) Driver v.10.003,Best Way to Update & Download ASUS A53SV nVidia Graphics Driver v.184.108.40.20686,Method to Herunterladen ASUS K75VJ Intel Rapid Storage Technology Treiber v.220.127.116.110,How Can You Update & Download ASUS CG8580 Intel Chipset Driver v.18.104.22.1689,Method to Update & Download ASUS K41VD Intel INF Update Driver v.22.214.171.1245,Way to Update & Download ASUS Pro70T NB Probe v.3.0.0026 driver
Read More: Computer shuts down in 3-5 minutes after startup [Solved],How to Fix Problem - Computer will not shutdown properly?,Tech Support: Computer getting Blue Screen Crash Help Please,Troubleshooting:Connecting Windows 7 to Dell 944 Printer. Connecting to one note 2010. Error,How to Fix Error - Computer fails to start after not being used for more than a day. bluescreen error \"ntfs.sys \"?,Can't change homegroup sharing permission,Can't connect XP shared printer to Win7 except as a local printer.__,Can You Connect the LAN Adapter for Wii On your Windows 7 Laptop?,Can These Files Be Deleted,Can’t install Microsoft Flight Simulator X Gold Edition error 1722