Conditional Format and/if formula question
Using conditional formatting in Excel 2007, cell A1 looks up a date range and the date in cell A1 will have a background colour depending on the formatting.
1 date range in mm/dd between December 29 and December 30:
=AND(TEXT(A1,"mmdd")+0>=1229,TEXT(A1,"mmdd")+0<=1230) = colour red (for example)
1 date range between Nov 06 and Dec 20 and 1 specific date Dec 31:
=OR(AND(TEXT(A1,"mmdd")+0>=1106,TEXT(A1,"mmdd")+0<=1220),TEXT(A1,"mmdd")+0=1231) = colour blue (for example)
So from the above example, I tried to have further date ranges within the same condition, so in the example below three different date ranges with the same conditional format 'result'.
If the date in Cell A1 falls between Jan 01 to Jan 06, OR Mar 11 to Apr 27 OR Oct 01 to Nov 01, should all result = background colour orange
I tried OR:
and I tried OR(AND:
But this nested formula does not resolve correctly, can you see where I am making the mistake?
Anwsers to the Problem Conditional Format and/if formula question
I believe that what you should do is set up a table like the following out to the right of your data.
I have used Range J1:L9 (Including the comments column which is not really required and not used in the formula.)
You can then use the cell reference as actual dates for the comparison and you will finish up with only 189 characters.
You will find it a lot easier to edit the table to change the conditional format than attempting to edit the formula.
Of course if you
have a different number of conditions then editing the formula will be required.
I have tested the following formula.
Note that all references to the table must be absolute (with the dollar signs).
Added with Edit after original post:
Enter the dates in the table in your regional date format.
I formatted them to mm/dd/yyyy but it will work equally as well with any date format.
- Access the files on your computer via MY COMPUTER
- Under the C: drive, access the WINDOWS folder
- Select the SOFTWARE DISTRIBUTION folder, followed by the DOWNLOAD folder.
- Delete any files within this download folder.
- If you are unable to delete these files, open the command prompt (CMD) as the administrator, and type "net stop wuauserv" into the CMD prompt window. Press ENTER. This should allow you to delete the files from step 4.
- Once the files are deleted, open and run the CMD as the administrator and type "wuauclt.exe /updatenow". Press ENTER.
Recommended Method to Fix the Problem: Conditional Format and/if formula question:
How to Fix Conditional Format and/if formula question with SmartPCFixer?
1. Click the button to download Error Fixer . Install it on your computer. Run it, and it will scan your computer. The junk files will be shown in the list.
2. After the scan is done, 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.184.108.40.2068.0,Method to Update & Download Toshiba Satellite L650-BT2N22 Web Camera Application v.220.127.116.11 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.18.104.22.16886,Method to Herunterladen ASUS K75VJ Intel Rapid Storage Technology Treiber v.22.214.171.1240,How Can You Update & Download ASUS CG8580 Intel Chipset Driver v.126.96.36.1999,Method to Update & Download ASUS K41VD Intel INF Update Driver v.188.8.131.525,Way to Update & Download ASUS Pro70T NB Probe v.3.0.0026 driver
Read More: computer...speed up to original performence [Solved],How to Resolve - computer freezes sluggish flashes black screen when ask to install never done that before?,Troubleshooting:computer freezes or goes black shortkly after start up Error,Tech Support: Computer won't install or uninstall programs or updates; won't open Word Documents normally,[Solved] compressed file opens with internet explorer,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