Wednesday, September 21, 2016

conditional formatting for large sample data Tech Support

conditional formatting for large sample data

Morning all,

I have a problem in that conditional formatting only accepts 256 characters per rule.

I have used the following formula successfully on a smaller sample:
=OR(AND(A3>=$P$16,A3<=$Q$16),AND(A3>=$P$20,A3<=$Q$20),AND(A3>=$P$23,A3<=$Q$23),AND(A3>=$P$30,A3<=$Q$30),AND(A3>=$W$24,A3<=$X$24),AND(A3>=$W$31,A3<=$X$31))

this looks up six date ranges and formats the cell A3 if the date is found.

P16 = 28-04-12 : P16 = 29-04-12
P23 = 13-07-12 : P23 = 02-09-12
W24 = 13-07-13 : X24 = 02-09-13  for instance.
 

This is for one season (price band) in a hotel occurring 6 times, There are 7 different seasons and so 7 different rules covering two years, making the formula in each cell quite bloated.

However the next hotel has 4 or 5 seasons, with up to 32 date ranges for each season (mostly weekend/week but not exclusively).
 So the formula as above does not work for this large a sample.

What I am trying to achieve ..
I have a set of dates for each hotel that covers 2012 and 2013.
 If the arrival date is entered in cell A34, it looks up the price range table and depending on the date found, changes the format of cell A34 (red for HI season,
blue for LO season, etc)

I am looking for a way to simplify the above code to be used in a larger sample data

The actual date range table for one hotel is listed below.
Any ideas how to achieve this as simply as possible greatly appreciated.
Andy

Q36 = 31-12-11
T36 = =SUM(P37-Q36)
P37 = 01-01-12
R37 = band name
S37 = =SUM(Q37-P37)+1
T37 = =SUM(P38-Q37)


31-12-11 1
01-01-12 09-01-12 LO 9 1
10-01-12 12-01-12 ST 3 1
13-01-12 15-01-12 WE 3 1
16-01-12 19-01-12 ST 4 1
20-01-12 22-01-12 WE 3 1
23-01-12 26-01-12 ST 4 1
27-01-12 29-01-12 WE 3 1
30-01-12 02-02-12 ST 4 1
03-02-12 05-02-12 WE 3 1
06-02-12 09-02-12 ST 4 1
10-02-12 12-02-12 WE 3 1
13-02-12 16-02-12 HI 4 1
17-02-12 19-02-12 WE 3 1
20-02-12 23-02-12 ST 4 1
24-02-12 26-02-12 WE 3 1
27-02-12 01-03-12 ST 4 1
02-03-12 04-03-12 WE 3 1
05-03-12 08-03-12 ST 4 1
09-03-12 11-03-12 WE 3 1
12-03-12 15-03-12 ST 4 1
16-03-12 18-03-12 WE 3 1
19-03-12 22-03-12 HI 4 1
23-03-12 25-03-12 WE 3 1
26-03-12 29-03-12 ST 4 1
30-03-12 01-04-12 WE 3 1
02-04-12 05-04-12 HI 4 1
06-04-12 08-04-12 WE 3 1
09-04-12 12-04-12 ST 4 1
13-04-12 15-04-12 WE 3 1
16-04-12 19-04-12 ST 4 1
20-04-12 22-04-12 WE 3 1
23-04-12 26-04-12 ST 4 1
27-04-12 13-05-12 LO 17
1
14-05-12 17-05-12 ST 4 1
18-05-12 20-05-12 WE 3 1
21-05-12 24-05-12 ST 4 1
25-05-12 27-05-12 WE 3 1
28-05-12 31-05-12 HI 4 1
01-06-12 03-06-12 WE 3 1
04-06-12 07-06-12 ST 4 1
08-06-12 10-06-12 WE 3 1
11-06-12 14-06-12 ST 4 1
15-06-12 17-06-12 WE 3 1
18-06-12 21-06-12 ST 4 1
22-06-12 24-06-12 WE 3 1
25-06-12 28-06-12 HI 4 1
29-06-12 19-08-12 LO 52
1
20-08-12 23-08-12 ST 4 1
24-08-12 26-08-12 WE 3 1
27-08-12 30-08-12 ST 4 1
31-08-12 02-09-12 WE 3 1
03-09-12 06-09-12 ST 4 1
07-09-12 09-09-12 WE 3 1
10-09-12 14-09-12 HI 5 1
15-09-12 16-09-12 WE 2 1
17-09-12 20-09-12 ST 4 1
21-09-12 23-09-12 WE 3 1
24-09-12 27-09-12 ST 4 1
28-09-12 30-09-12 WE 3 1
01-10-12 04-10-12 ST 4 1
05-10-12 07-10-12 WE 3 1
08-10-12 12-10-12 HI 5 1
13-10-12 14-10-12 WE 2 1
15-10-12 18-10-12 ST 4 1
19-10-12 21-10-12 WE 3 1
22-10-12 25-10-12 ST 4 1
26-10-12 28-10-12 WE 3 1
29-10-12 01-11-12 ST 4 1
02-11-12 04-11-12 WE 3 1
05-11-12 08-11-12 ST 4 1
09-11-12 11-11-12 WE 3 1
12-11-12 15-11-12 ST 4 1
16-11-12 18-11-12 WE 3 1
19-11-12 23-11-12 HI 5 1
24-11-12 25-11-12 WE 2 1
26-11-12 29-11-12 ST 4 1
30-11-12 02-12-12 WE 3 1
03-12-12 07-12-12 HI 5 1
08-12-12 09-12-12 WE 2 1
10-12-12 13-12-12 ST 4 1
14-12-12 16-12-12 WE 3 1
17-12-12 20-12-12 ST 4 1
21-12-12 31-12-12 LO 11
1
01-01-13

89 127 110 40

31-12-12 1
01-01-13 13-01-13 LO 13
1
14-01-13 27-01-13 SH 14
1
28-01-13 31-01-13 ST 4 1
01-02-13 03-02-13 WE 3 1
04-02-13 07-02-13 ST 4 1
08-02-13 10-02-13 WE 3 1
11-02-13 14-02-13 HI 4 1
15-02-13 17-02-13 WE 3 1
18-02-13 21-02-13 ST 4 1
22-02-13 24-02-13 WE 3 1
25-02-13 28-02-13 ST 4 1
01-03-13 03-03-13 WE 3 1
04-03-13 07-03-13 ST 4 1
08-03-13 10-03-13 WE 3 1
11-03-13 14-03-13 ST 4 1
15-03-13 17-03-13 WE 3 1
18-03-13 21-03-13 HI 4 1
22-03-13 24-03-13 WE 3 1
25-03-13 28-03-13 ST 4 1
29-03-13 31-03-13 WE 3 1
01-04-13 04-04-13 HI 4 1
05-04-13 07-04-13 WE 3 1
08-04-13 11-04-13 ST 4 1
12-04-13 14-04-13 WE 3 1
15-04-13 18-04-13 ST 4 1
19-04-13 21-04-13 WE 3 1
22-04-13 25-04-13 ST 4 1
26-04-13 12-05-13 WE 17
1
13-05-13 16-05-13 ST 4 1
17-05-13 19-05-13 WE 3 1
20-05-13 23-05-13 ST 4 1
24-05-13 26-05-13 WE 3 1
27-05-13 30-05-13 HI 4 1
31-05-13 02-06-13 WE 3 1
03-06-13 06-06-13 ST 4 1
07-06-13 09-06-13 WE 3 1
10-06-13 13-06-13 ST 4 1
14-06-13 16-06-13 WE 3 1
17-06-13 20-06-13 ST 4 1
21-06-13 23-06-13 WE 3 1
24-06-13 27-06-13 HI 4 1
28-06-13 11-08-13 WE 45
1
12-08-13 15-08-13 ST 4 1
16-08-13 25-08-13 WE 10
1
26-08-13 29-08-13 ST 4 1
30-08-13 01-09-13 WE 3 1
02-09-13 05-09-13 ST 4 1
06-09-13 08-09-13 WE 3 1
09-09-13 12-09-13 ST 4 1
13-09-13 15-09-13 WE 3 1
16-09-13 19-09-13 HI 4 1
20-09-13 22-09-13 WE 3 1
23-09-13 26-09-13 ST 4 1
27-09-13 30-09-13 WE 4 1
01-10-13 03-10-13 ST 3 1
04-10-13 06-10-13 WE 3 1
07-10-13 10-10-13 HI 4 1
11-10-13 13-10-13 WE 3 1
14-10-13 17-10-13 ST 4 1
18-10-13 20-10-13 WE 3 1
21-10-13 24-10-13 ST 4 1
25-10-13 27-10-13 WE 3 1
28-10-13 31-10-13 ST 4 1
01-11-13 03-11-13 WE 3 1
04-11-13 07-11-13 ST 4 1
08-11-13 10-11-13 WE 3 1
11-11-13 14-11-13 ST 4 1
15-11-13 17-11-13 WE 3 1
18-11-13 21-11-13 HI 4 1
22-11-13 24-11-13 WE 3 1
25-11-13 28-11-13 ST 4 1
29-11-13 01-12-13 WE 3 1
02-12-13 05-12-13 HI 4 1
06-12-13 08-12-13 WE 3 1
09-12-13 12-12-13 ST 4 1
13-12-13 15-12-13 WE 3 1
16-12-13 19-12-13 ST 4 1
20-12-13 31-12-13 WE 12
1
01-01-14
13 14 115 187 36


(I am using http://answers.microsoft.com/ and can not see an option to upload a file)

Anwsers to the Problem conditional formatting for large sample data

Download SmartPCFixer for Free Now

One way you can do it is to create a lookup table to allocate a code number (1,2,3,4) to each of your season values.  Add an extra column to your dates table and use VLOOKUP to mark each date with 1,2,3,4 depending on whether it is HI, LO, WE or ST.  For
this example I'm assuming my start dates are in cells P1:P50, end dates are in Q1:Q50 and the codes representing the season are in U1:U50, I've used HI=1, LO=2, WE=3, ST=4.  To set the conditional formatting, highlight your booking dates and use the following
formula to highlight the ones where the value is 1 for HI (I'm assuming the booking dates are in cells A2 downwards):
 
=SUMPRODUCT((A2>=$P$1:$P$50)*(A2<=$Q$1:$Q$50)*($U$1:$U$50))=1
 
Create similar rules for the other codes as required.

Manually editing the Windows registry

Manually editing the Windows registry to remove invalid MACHINE_CHECK_EXCEPTION keys is not recommended unless you are PC service professional. Incorrectly editing your registry can stop your PC from functioning and create irreversible damage to your operating system. In fact, one misplaced comma can prevent your PC from booting entirely!


Caution: Unless you an advanced PC user, we DO NOT recommend editing the Windows registry manually. Using Registry Editor incorrectly can cause serious problems that may require you to reinstall Windows. We do not guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.

To manually repair your Windows registry, first you need to create a backup by exporting a portion of the registry related to MACHINE_CHECK_EXCEPTION (eg. Windows Operating System):

  • Click the Start button.
  • Type "command" in the search box... DO NOT hit ENTER yet!
  • While holding CTRL-Shift on your keyboard, hit ENTER.
  • You will be prompted with a permission dialog box.
  • Click Yes.
  • A black box will open with a blinking cursor.
  • Type "regedit" and hit ENTER.
  • In the Registry Editor, select the Error 0x9C-related key (eg. Windows Operating System) you want to back up.
  • From the File menu, choose Export.
  • In the Save In list, select the folder where you want to save the Windows Operating System backup key.
  • In the File Name box, type a name for your backup file, such as "Windows Operating System Backup".
  • In the Export Range box, be sure that "Selected branch" is selected.
  • Click Save.
  • The file is then saved with a .reg file extension.
  • You now have a backup of your MACHINE_CHECK_EXCEPTION-related registry entry.

Another Safe way to Repair the Problem: conditional formatting for large sample data:

How to Fix conditional formatting for large sample data with SmartPCFixer?

1. Click the button to download SmartPCFixer . Install it on your computer.  Open it, and it will scan your system. The junk files will be shown in the list.

2. After the scan is done, you can see the errors and problems which need to be fixed.

3. The Repair part is finished, the speed of your computer will be much higher than before and the errors have been removed. You can also use other functions in SmartPCFixer. Like dll downloading, junk file cleaning and print spooler error repair.


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.8.0.0.258.0,Method to Update & Download Toshiba Satellite L650-BT2N22 Web Camera Application v.2.0.3.37 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.8.17.12.6686,Method to Herunterladen ASUS K75VJ Intel Rapid Storage Technology Treiber v.11.6.0.1030,How Can You Update & Download ASUS CG8580 Intel Chipset Driver v.9.3.0.1019,Method to Update & Download ASUS K41VD Intel INF Update Driver v.9.1.1.1015,Way to Update & Download ASUS Pro70T NB Probe v.3.0.0026 driver
Read More: computer is taking longer to connect when I click on internet explorer Tech Support,[Solved] Connected to the internet, but 'No internet access',,Solution to Error: Computer freezing up with use.,How to Fix Problem - computer starts normally but when back up is attempted, error code ox8007043c indicates \"not allowed in Safe Mode\"?,Fast Solution to Problem: Computer freezes every 5-10 seconds after upgrade,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

No comments:

Post a Comment