Here are some interesting Operating system and softwares tips and tricks 4u.JUST CLICK ON THE PICTURE IN THE BLOG FOR ENALARGED VIEW.

sd
Showing posts with label Excel 2007. Show all posts
Showing posts with label Excel 2007. Show all posts

Saturday, February 25, 2012

Record the last modified date internally(Excel 2003, 2007, 2010)

             You want to keep a track of when your Excel sheet was last modified. You want Excel to insert and update the date automatically.
             As a solution for this, you need a VBA code in the working folder so that a macro automatically ensures an update. Open the relevant working folder for this and select the command"Tools → Macro →Macros”. From Excel 2007 onwards, activate the “View” tab in the taskbar and click the “Macros” icon. Now enter a macro name and click “Create” or if a macro already exists, click “Edit”. In the VBA editor, navigate to the “This working folder” entry in the upper left of the project explorer under “VBAProject" of the current file. Double click and open the relevant code window that is now ready for your entries.In the right combination field, select the “SheetChange” system procedure whereupon the relevant number of macros is added below. Add all the further rows as follows:
Private Sub Workbook _ SheetChange(ByValSh As Object, ByVal Target As Range) Application.EnableEvents = False Sh.Range("A1").Value = Date Sh.Range("A1").NumberFormat = "mm/dd/yyyy" Applications.EnableEvents = True End Sub
               The sample code is triggered on the current sheet by the result of the change. The value of the current date is then entered on the sheet in the “A1” cell. It is mandatory to switch the event processing off within the macros in this example; else, the change in the A1 cell automatically triggers the next SheetChange event. This would always lead to an endless recursions. Instead of a separate entry for every table, you can also access the document property and update it centrally in the same table. Then also specify the relevant work sheet, for instance:
Worksheet("Sheet1").Range("A1"). Value= ThisWorkbook. BuiltDocumentProperties(12)
               This command will change the A1 cell in Table1 and assigns it with the document property specified with the last change. This is the information that can be called up in the file properties under Windows. After entering the script, close the VBA editor and save the Excel file in your document folder. When calling up the sheet, ensure that the contained macros are activated; else, the security settings prevent the functioning of the macro.
Read More...

Display ‘&’ in the footer(Excel 2007)

             The ampersand sign (&) is a special symbol which is not printed by default.
             The ampersand sign (&) is a special symbol which is not printed by default. If you have ever tried to add an ampersand symbol in the footer, you might have also noticed that the ampersand sign disappears on print. If you need to print this symbol, you can do so with very little hassles. Open the workbook which requires to be printed, then on the status bar, click the ‘Page Layout’ option. Now place your cursor on any one of the three sections where you need to enter the "&" symbol. Now press [Shift] + [7] combination twice from your alphanumeric keypad. Notice the & sign appears twice (&&). Click outside the footer area, you will now notice the ampersand symbol in your footer.
Read More...

Value-based shading(Excel 2007)

              Differentiate between data without sorting it with the help of Conditional Formatting.
              If you need to differentiate between data with out sorting it, you can do it with ease in Excel 2007. Using the Conditional Formatting rules in Excel 2007, you can easily segregate even numbers from the odd numbers in your data. First select the cells with the data values, then go to the ‘Home tab’. Here under the ‘Styles’ group, select ‘Conditional Formatting’. In the dropdown list click ‘Manage Rules’ and then select ‘New Rule’. You will be asked to ‘Select a Rule Type’, here choose the ‘Use a Formula to Determine Which Cells to Format’ option. In the ‘Format Values Where This Formula Is True’ textbox, enter the formula as "=MOD(A1,2)-1" and select ‘Format’. Then click on the ‘Fill’ tab in the ‘Format’ dialog box and select the color yellow, press ‘Ok’ to continue. Then go back to the ‘Conditional Formatting Rules Manager’ and select ‘New Rule’. In the ‘Format Values Where This Formula Is True’ textbox, enter the formula as "=MOD(A1,2)-0" and select ‘Format’. Then click on the ‘Fill’ tab in the ‘Format’ dialog box and select the color orange, press ‘Ok’ to continue. Click ‘OK’ to apply the conditional formatting to the selected cells.
Read More...

Remove duplicates quickly and easily(Excel 2007, 2010)

             You want to remove duplicate entries from a large table and are looking for a quick and easy solution without any filters or complicated formula.
             Use the mouse and select the cell area from which you want to remove duplicate entries. Then click the ‘Data’ tab and then the ‘Remove duplicate’ button in the multi-function tool bar.
             In the following dialog, you can define the columns of the area to be included in the comparison of individual rows. All cells of the two rows should thus not display the same content due to which the rows become duplicates of each other. In the ‘Columns’ field, remove the checkmark in front of the columns which you want to ignore during the comparison and then click ‘OK’.
NOTE: If you do not include all columns in the comparison (when there are obvious differences between the individual rows), Excel always retains the first (the topmost) row out of the rows that have been identified as duplicate. This is important when the previously excluded cells are required later.
Read More...

Friday, February 24, 2012

Count a term in a particular cell area(Excel XP, 2003, 2007, 2010)

                You want to determine how many times a term is repeated in a specifi c area of a table, e.g. how many times the name of a city appears in a list.
                You would normally use an array formula to summarize individual functions and conditions for the area. The exact defi nition of the formula depends on whether you want to differentiate between the upper and the lower cases and whether you want exact compliance with the search result.
                The fastest way to get the desired result is using the array formula =COUNTIF(A5:E15,‘Text’). This will fi nd and count all results containing the search term, irrespective of the spelling. For example, if you are searching for the city Mumbai, then type the formula as =COUNTIF(A5:E15,‘Mumbai’).
Read More...

THE WINDOWS TRICKS Headline Animator