Mass formatting issues

chinchi81

Board Regular
Joined
Jul 13, 2007
Messages
69
Hi,

I have the below spreadsheet and require to format it depending on what appears in column AE and column N. So for example if in AE it says AAA and the figure in column N is >=-1 and<-1.1, then on that row, cells A to C, J to N & cell AE would change format to a black background and white font.

This would need to happen from rows 3 to 308.

As I have more than 3 conditions, I will need to put this in a macro but am not sure as to how to get it started.
Belgium - Jupiler League.xls
ABCDEFGHIJKLMNOPQRSTUVWXYZAAABACADAE
2DateHomeAwayFTHGFTAGFTRHTHGHTAGHTRHDA51GoalsHDA17GoalsHDA7GoalsWHHWHDWHA51177
303/08/2007MechelenAnderlecht01A00DA-1.02A-2.18A-1.715.53.51.534.54.54.5AAA
404/08/2007CharleroiRoeselare11D10HH2.00H3.291.623.45-1-1-1HH
504/08/2007ClubBruggeBergen21H11DH2.65H2.47H2.001.3647.50.360.360.36HHH
604/08/2007DenderGerminal12A00D2.883.22.2-1-1-1 
704/08/2007FCBrusselsWesterlo01A00DA0.76D0.94H1.712.23.22.881.2-1-1ADH
804/08/2007GenkCercleBrugge31H31HH2.31H2.24D1.001.3348.50.330.33-1HHD
2007-2008
 
Smitty,

I am not intinadated by asking questions, just answering them.

You and many others here, know far more than I will ever know about VBA, and how to do certian things.

I only wish, I knew how to write code in VBA without using the record function!
 
Upvote 0

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.

Forum statistics

Threads
1,214,788
Messages
6,121,577
Members
449,039
Latest member
Arbind kumar

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top