wetmatter nonsense

let's get random 
Filed under

highlight every other row

 

Highlight every other row in EXCEL...

You are working on an excel spreadsheet that contains literally hundreds to thousands of rows and instead of manually changing the row color line by line, you want it done automagically!

Before

Media_http1bpblogspotcomkclclmdadasjzk9yaraliaaaaaaaaac8nlhq4x3lwass200excelp1bmp_bvgubjubejhljil

After
Media_http4bpblogspotcomkclclmdadasjzlj1cmtgiaaaaaaaaadmfqopen1jczys200excelafterbmp_allvaymetjdyxdr

Trick number 1.

Select one of the cells that contain data. Then press CTRL+A. I will choose cell 4D. This will highlight all the cells with data in it. If you have breaks or gaps in your spreadsheet this will not work. It only works on clusters of data. Look at the example below!

Media_http3bpblogspotcomkclclmdadasjzfwwpb0piaaaaaaaaab8fmscjpitsuis320excelp2bmp_tyvmbfiddxqkfir

Trick number 2.

While the needed porition of the spreadsheet is highlighted, click on "Format" from the file menu. Select "Conditional Formatting..."

Media_http4bpblogspotcomkclclmdadasjzhwibv6eiaaaaaaaaacejdkelbiy8sos320conditionalformattingbmp_yjggaajbcwjbucd

Change the "Condition 1" dropdown to "Formula Is" and type in
=MOD(ROW(),2)=0, then click "Format"

NOTE:
(The 0 indicates to skip the first row, change it 1 to include the first row. The number 2 in this formula indicates that every other row needs to be highlighted, so if you change this value to the number 3 then every third row will be highlighted, so-on and so forth. Also if you want to highlight columns simply change the word from ROW() to COLUMN() and now the columns will be highlighted instead. However, if you want both then add another formula!)

Media_http4bpblogspotcomkclclmdadasjzhzb4o88iaaaaaaaaacmuo6qywyqiqs320conditionalformattingp2bmp_icvgbevfltcopcw

Click on the "Patterns" tab

Media_http2bpblogspotcomkclclmdadasjzhgmft3iiaaaaaaaaacc3pbrzqnpims320formatcellsp1bmp_otghtfwcnijpqjz

Select the lightest shade of Gray and click ok

Media_http1bpblogspotcomkclclmdadasjzhkn8qaiiaaaaaaaaacksqdxtr3irws320formatcellsp2bmp_lamobxeotaowaot

Then click ok to close the Condional Formatting dialog screen...

Media_http4bpblogspotcomkclclmdadasjzhbx8wt3iaaaaaaaaacurqztrgc5us320conditionalformattingp3bmp_dntrhgavvjbdwvx

...that is it, there you have it. Every other row is now highlighted!

Media_http4bpblogspotcomkclclmdadasjzhphgvsiiaaaaaaaaacskyvcqnauti0s320excelp3bmp_cnzfmlebhcikiet

Filed under  //   conditional formatting   excel   highlight every other row   highlight rows  
Posted by Samson Loo 

Comments [0]