excel microsoft training - formatting
The UK's Number 1 for Microsoft Office Training Add this page to your favourites/bookmarksBookmark page
 
View printable version of pagePrintable version
Plus One Google
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Microsoft Excel Training and help » excel microsoft training - Formatting

excel microsoft training - Formatting

resolvedResolved · Low Priority · Version Standard

replyReply Tue 18 Dec 2007, 16:27Delegate Elisabeth said...

Elisabeth has attended:
Excel Intermediate course
Powerpoint Introduction course
Word Advanced course

Formatting

we have spreadsheets at work which have every second line shaded with one colour and every other line shaded with another. when adding new data, how do i keep the formatting without having to highlight every second line?

For upcoming training course dates see: Pricing & availability

replyReply Tue 18 Dec 2007, 16:59Trainer Rajeev said...

RE: formatting

Dear Elisabeth

Thank you attending Excel and PowerPoint Courses.

I am not very clear about the question but will try to answer to the best of my ability and my understanding.

If I am right you are saying that the table you have has been formatted with two different colours and when you add a new row in between the rows you want to maintain the same formatting!!

The best way to resolve this is by following these steps:

Step 1: Add the new rows and enter the data as usual
Step 2: Select the two rows that have got the two colours (Please ensure that when you select the two rows they must be together).
Step 3: Click on the Format Painter (the little paint Brush on the standard Toolbar next to the Undo Button)
Step 4: Simply select all the rows that you want to apply the formatting to.

NB: Excel will automatically maintain the same formatting i.e. the two colours for every other line (row) because you had selected the two rows with two different colours and it can follow the same pattern all the way!!

Ii hope that is what you wanted to achieve!!
If it is something else then you might want to either provide an example or even upload a sample file for us to have a look at!!

Kindest Regards

Rajeev Rawat
MOS Master Instructor 2000/2003

replyReply Wed 19 Dec 2007, 11:46Delegate Paul said...

RE: formatting

I have a bit of something to add to this.

You can create a worksheet with alternating coloured rows or columns (striped) with conditional formatting.

First, select the range that you want striped (or the whole sheet).

Next, go to Format/Conditional formatting. In the dropdown where it say value is, select "formula is"

In the textbox on the right type the expression "= mod(row(),2)=0" (without the quotes, of course.)

Finally, set the format that will apply to even rows.

You can vary the frequency of the stripe by using a value other than 2 in the mod function. If you want odd rows rather than even rows to be formatted, change the 0 to 1.

To have columns stripey, change the word 'row' to the word 'column'

Then you can add another conditional format to the same range of cells and the odd rows.

Maybe this will help aswell/instead?

Paul

replyReply Fri 21 Dec 2007, 10:56Delegate Elisabeth said...

RE: formatting

thanks Paul - that's a great help

replyReply Fri 21 Dec 2007, 10:55Delegate Elisabeth said...

RE: formatting

that's exactly what i wanted to achieve - many thanks Rajeev!!

Elisabeth

replyReply Sun 30 Dec 2007, 21:01Trainer Rajeev said...

RE: formatting

You're Welcome Elizebeth!!

I am glad that I could be of some assistance!!

Kindest Regards

Rajeev Rawat

MOS Master Instructor 2000/2003

 

Excel tip:

Generating Random Numbers

To generate a random number in Excel use the = RAND() function.

The value returned will always be between 0 and 1. To convert this to some other random value, you will need to multiply the result by the highest number you want to consider. For example, if you wanted a random number between 1 and 25, you could use the following code line:
= INT(25 * RAND()+ 1)

Since RAND() will always returns a value between 0 and 1 (but never 1 itself), multiplying what it returns by 25 and then using the Integer function INT on that result will return a whole number between 0 and 24.

Finally, 1 is added to this result, so that x will be equal to a number between 1 and 25, inclusive

View all Excel hints and tips


Microsoft Certified Partner Accredited Training Provider: Institute of IT Training Institute of Leadership and Management - Certified Courses Security Seal verified by visa, mastercard securecard