Function numbers for dynamically on average over the last 30 cells

I am a trader and I have several months of data. I currently have a percentage of the sum of all the victories and defeats by currency pair. I want to create a function that retrieves the last 30 cells of data and creates a percentage I can compare it to the percentage of total victory.

The cells are empty, unless I have add data in either to the upper or lower row. 1 win and - 1 are losses. 0 means not configured.

Here's a full month with 20 data cells (cells max per month are 22) of trading days:

This is the current month:

I have 16 months of data with percentages of victory for all my data. As you see, I also have winning monthly winning percentages easily in the examples above (with a small division). I really, really want to compile data from the last 30 cells with data to create a winning percentage. It would be necessary to sometimes include 3 different lines of different months of data to create 30 cells with a number inside.

A friend used the COUNTIF command but I do not have it works for me.

If there is a different website to request this detail of the question please share that too.

Thanks in advance,

B

Hi Braddon,

It would be a pretty easy task if the data to be summed up in two columns from a single table and had no gaps, but that doesn't seem to be the case.

Screenshots of two isolated sets of cells containing two rows (railway of) the data to be summarized, but give no indication where these data will be found in the document does not provide sufficient information to start to find a solution.

Where are the data stored? You say "data for each month." "Every month" is recorded on another table?... on a pair of rows of the same table different?

In the image (very vague) I, the factors of complications will gather data from a subset of continually changing several tables on multiple sheets and which specific cell contains the 30 most recent reference and is the one to start the harvest.

While a few details and clarifications.

Kind regards

Barry

Tags: iWork

Similar Questions

  • Calculate the average over the last 12 months

    Hello

    I am trying to calculate the average value per customer and per month from and including the month and 12 months back

    for example: 1 January 12 = average (agreed_rate) & (process_rate) average from February 1st, 11 'and 1st January 12'.
    February 1, 12 = average (agreed_rate) & (process_rate) average of 1 March 11 'and 1 February 12'
    March 1, 12 = average (agreed_rate) & (process_rate) average of 1 April 11 'and 1st March 12' etc.

    create table (test)
    cust_num varchar2 (5).
    month, date, time,
    number of agreed_rate
    number of process_rate);

    insert into test values ("A001", January 1, 11 ', 87, 65);
    insert into test values ("A001", February 1, 11 ', 56, 62);
    insert into test values ("A001", March 1, 11 ', 76, 88);
    insert into test values ("A001", April 1, 11 ', 45, 69);
    insert into test values ("A001", may 1, 11 ', 99, 65);
    insert into test values ("A001", June 1, 11 ', 98, 43);
    insert into test values ("A001", July 1, 11 ', 87, 70);
    insert into test values ("A001", August 1, 11 ', 43, 99);
    insert into test values (' A001', ' 01 - SEVEN.-11', 62, 32 ');
    insert into test values ("A001", October 1, 11 ' 89, 44);
    insert into test values ("A001", November 1, 11 ', 34, 65);
    insert into test values ("A001", December 1, 11 ', 87, 87);
    insert into test values ("A002", January 1, 12 ', 33, 65 ");
    insert into test values ("A002", February 1, 12 ', 56, 23 ");
    insert into test values ("A002', March 1, 12 ', 76, 46 '');
    insert into test values ("A002', April 1, 12 ', 67, 69");
    insert into test values ("A002', may 1, 12 ', 99, 33");
    insert into test values ("A002', June 1, 12 ' 89, 21");
    insert into test values ("A002', July 1, 12 ', 87, p. 77");
    insert into test values ("A002', August 1, 12 ', 69, 99");
    insert into test values ("A002', '' 01-SEP-12, 89, 32");
    insert into test values ("A002', October 1, 12 ', 43, 20");
    insert into test values ("A002', November 1, 12 ', 34, 56");
    insert into test values ("A002', December 1, 12 ', 77, 78");

    JAN-12 e.g. agreed_rate average = (33 + 87 + 34 + 89 + 62 + 43 + 87 + 98 + 99 + 45 + 76 + 56) / 12
    FEB-12 average agreed_rate = (56 + 33 + 87 + 34 + 89 + 62 + 43 + 87 + 98 + 99 + 45 + 76) / 12

    The results should be displayed per month (like the example above) and cust_num.

    Can anyone help?

    Thank you

    You must go to the current line, that is included as twelfths a form 11 months.
    If you round the result is 67,42 67,41 rather than. This is the result on all the cust_num.
    If you want to the result for each customer comment just the partiton of clause.

    SELECT      cust_num, month, agreed_rate
    ,      round (sum (agreed_rate) OVER ( --PARTITION BY  cust_num
                                    ORDER BY month
                       RANGE
                       INTERVAL '11' month
                       preceding
                       ) / 12,2) AS avg_agreed_rate
    FROM       test
    ORDER BY  month
    

    Partition on cust_num

    SELECT      cust_num, month, agreed_rate
    ,      round (sum (agreed_rate) OVER ( PARTITION BY  cust_num
                                    ORDER BY month
                       RANGE
                       INTERVAL '11' month
                       preceding
                       ) / 12,2) AS avg_agreed_rate
    FROM       test
    ORDER BY  month
    

    Published by: chris227 on 01.02.2013 01:51
    the corrected table name

    Published by: chris227 on 01.02.2013 01:52

  • Receive several codes error over the last seven days. This means - my computer is dead?

    Would like to inform if my computer is really damaged:

    The following errors are produced

    Error 2-32 in the last 7 days

    Error 11-190 in the last 7 days

    Error 14-1 in the last 7 days

    Error 55 7 during the last 7 days

    Error 102-19 over the last 7 days

    Error 1001-36 in the last 7 days

    This means - my computer is dead?

    Thank you

    Original title: Error Messages

    Hello

    They are very good methods for most Windows troubleshooting performance problems.

    Error: Windows Explorer has stopped working
    http://support.Microsoft.com/kb/2694911

    Crashes Windows or freezes<- try="" these="" first="" and="" the="" methods="" do="" apply="" to="" your="">
    http://support.Microsoft.com/kb/2681286#method22

    Performance and Maintenance<- check="" these="" especially="" the="">
    http://Windows.Microsoft.com/en-us/Windows/performance-maintenance-help#performance-maintenance-help=Windows-7&V2H=win7tab1&V3H=winvistatab1

    Other methods of troubleshooting to use according to your needs:

    Use the startup clean and other methods to try to determine the cause of and/or
    eliminate problems.

    ---------------------------------------------------------------

    References to Vista also apply to Windows 7.

    What antivirus/antispyware/security products do you have on the machine? Include
    everything you've ALWAYS had on this machine, including those you have uninstalled (they
    remains of leave behind which can cause strange problems).

    ----------------------------------------------------

    Follow these steps:

    Try these to erase corruption and missing/damaged file system repair or replacement.

    Start - type this in the search box-> find COMMAND at the top and RIGHT CLICK – RUN AS ADMIN

    Enter this at the command prompt - sfc/scannow

    How to fix the system files of Windows 7 with the System File Checker
    http://www.SevenForums.com/tutorials/1538-SFC-SCANNOW-Command-System-File-Checker.html

    How to analyze the log file entries that the Microsoft Windows Resource Checker
    (SFC.exe) program generates in Windows Vista cbs.log
    http://support.Microsoft.com/kb/928228

    Also run CheckDisk, so we cannot exclude as much as possible of the corruption.

    How to run check disk in Windows 7
    http://www.SevenForums.com/tutorials/433-disk-check.html

    ==========================================

    After the foregoing:

    How to troubleshoot a problem by performing a clean boot in Windows
    Vista or Windows 7

    http://support.Microsoft.com/kb/929135

    Use advanced tools to solve performance problems in Windows 7
    http://www.howtogeek.com/HOWTO/6152/use-advanced-tools-to-troubleshoot-performance-problems-in-Windows-7/

    Problems with the overall speed of the system and performance
    http://support.Microsoft.com/default.aspx/GP/slow_windows_performance?p=1

    Optimize Windows 7 for better performance
    http://Windows.Microsoft.com/en-us/Windows7/optimize-Windows-7-for-better-performance

    Open the troubleshooter of Performance
    http://Windows.Microsoft.com/en-us/Windows7/open-the-performance-Troubleshooter

    To see everything that is in charge of startup - wait a few minutes without doing anything-
    then right click on taskbar - task manager - take a look at Applications.
    Process - Services - this is a quick reference (if you have a little box on)
    Lower left - show for all users, then check that).

    How to change, add or remove startup programs in Windows 7
    http://www.SevenForums.com/tutorials/1401-startup-programs-change.html

    Is a quick check to see who are loading method 2 - using MSCONFIG
    then after a list of these here.
    --------------------------------------------------------------------

    Tools that should help you:

    Process Explorer - free - find out what files, registry keys, and other objects
    processes have open, which DLLs they have loaded and more. This unique
    powerful utility will show you even owned by each process.
    http://TechNet.Microsoft.com/en-us/Sysinternals/bb896653.aspx

    Autoruns - free - see what programs are configured to start automatically
    When your system boots and you connect. Autoruns also shows you the complete list
    locations of registry and files where applications can configure start automatic settings.
    http://TechNet.Microsoft.com/en-us/sysinternals/bb963902.aspx
    Process Monitor - Free - monitor file system, registry, process, thread and DLL
    activity in real time.
    http://TechNet.Microsoft.com/en-us/Sysinternals/bb896645.aspx

    There are many excellent free tools from Sysinternals
    http://TechNet.Microsoft.com/en-us/Sysinternals/default.aspx

    WhatsInStartUP - free - this utility displays the list of all applications that are
    loaded automatically when Windows starts. For each application, what follows
    the information is displayed: Type of startup (registry/Startup folder), Command - Line
    Channel file, the product name, Version, company name, location in the registry or
    file system and more. It allows you to easily disable or remove unwanted programs
    that runs in your Windows startup.
    http://www.NirSoft.NET/utils/what_run_in_startup.html

    There are many excellent free tools to NirSoft
    http://www.NirSoft.NET/utils/index.html

    Window Watcher - free - do you know what is running on your computer? Maybe
    not. The window Watcher says it all, every window created by each execution of the statement
    program, if the window is visible or not.
    http://www.KarenWare.com/PowerTools/ptwinwatch.asp
    Many excellent free tools and an excellent newsletter at Karenware
    http://www.KarenWare.com/

    ===========================================

    Think about it an absolute must - manually update your drivers.

    Vista and Windows 7 updated drivers love then here's how update the most important.

    This is my generic how updates of appropriate driver:

    This utility, it is easy see which versions are loaded: run DriverView - set
    SEE drivers to hide Microsoft - update those with Dump in their names. (Also
    updated the BIOS and drivers from the chipset on the site of the constructor/the system motherboard).

    -Free - DriverView utility displays the list of all device drivers currently loaded
    on your system. For each driver in the list, additional useful information is
    Poster: load address of the driver, description, version, product name,.
    company that created the driver and more.
    http://www.NirSoft.NET/utils/DriverView.html

    For drivers, visit Maker as replacements and system manufacturer of device which are
    the most recent. Control Panel - write - graphics card - device manager
    the brand and complete model of your video card - double click - tab of the driver-
    Note the version information. Now click on UPdate Driver (this can do nothing
    MS is far behind the certification of drivers) - then do a right click - Uninstall - REBOOT
    This will refresh the driver stack.

    Repeat this for network - card (NIC), Wifi network, sound, mouse, and keyboard
    If there are 3rd party with their own software and drivers and the other main device drivers
    you have.

    Now, go to the site of the manufacturer of system (Dell, HP, Toshiba as examples) (restore)
    and site (Realtek, Intel, Nvidia, ATI, for example) and get the manufacturer and device
    their latest versions. (Look for the system to update the BIOS, Chipset and software updates
    Site of the manufacturer here.)

    Download - SAVE - go to where you put them - right click - RUN AD ADMIN -.
    REBOOT after each installation.

    Always check in the Device Manager - drivers tab to be sure the version you are
    installation actually appears. This is because that some rollback of drivers before the
    later is installed (particularly that audio drivers) so install a driver - reboot.
    Make sure that it is installed and repeat if necessary.

    Repeat to the manufacturers - BTW to the device makers DO NOT RUN THEIR
    SCANNER - check manually by model.

    Look at the sites of the manufacturer for drivers - and the manufacturer of the device manually.
    http://pcsupport.about.com/od/driverssupport/HT/driverdlmfgr.htm

    Installation and update of drivers under Windows 7 (updated drivers manually using
    the above methods is preferable to ensure the latest drivers from the manufacturer of system
    and device manufacturers are located)
    http://www.SevenForums.com/tutorials/43216-installing-updating-drivers-7-a.html

    If you update the drivers manually, then it's a good idea to disable driver facilities
    in the updates of Windows, which leaves on Windows updates, but it will not be installed
    pilots who are generally older and cause problems. If updates provides a new
    driver then hide it (right click on it) and then go get new ones manually if
    you want.

    How to stop Windows 7 automatically install drivers
    http://support.Microsoft.com/kb/2500967

    ===========================================

    Refer to these discussions because many more excellent advice however remember to check
    your antivirus, the main drivers and BIOS update programs and also to solve problems
    with the first method cleanboot.

    Problems with the overall speed of the system and performance
    http://support.Microsoft.com/GP/slow_windows_performance/en-us

    Performance and Maintenance Tips
    http://social.answers.Microsoft.com/forums/en-us/w7performance/thread/19e5d6c3-BF07-49ac-a2fa-6718c988f125

    Explorer Windows stopped working
    http://social.answers.Microsoft.com/forums/en-us/w7performance/thread/6ab02526-5071-4DCC-895F-d90202bad8b3

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle=""><- mark="" twain="" said="" it="">

  • Size buttons menu custom for active and roll over the State

    Hello.

    I'm looking to create a navigation menu (simple rectangles with text) in which the role active and several indicate the box will be larger in height.

    I wish well for on roll over the button to magnify and others to shrink, then for there great when selected.

    In the example below, this is what I want it to look for the apps page.

    I'm stuck as the menu widget only allows them to be on only one size. Any ideas how I can achieve this?

    Kind regards

    Sean

    Screen Shot 2014-11-18 at 20.20.14.png

    Post edited by: Sean Bird

    You can add effects to an active state on the menu which items when in active State will show different from the menu SUP normal items.

    Thank you

    Sanjit

  • AnyConnect works at the main location and for internet, but not over the WAN

    I have a firewall of 5525 asa running an Anyconnect VPN.  I have three sites and it will be the access point for all.  There is a mpls wan between sites.  The Anyconnect IP pool is 192.168.165.x 255.255.255.0. In the primary site, the local IP addresses are 172.17.x.x 255.255.0.0 and 255.255.255.0 192.168.10.x legacy.  Remote sites are 192.168.20.x 255.255.255.0 and 192.168.30.x 255.255.255.0.

    From a PC to my LAN, I can reach the four lines and servers ping, tracert, and access by name or number.  When it is connected to the the anyconnect, I can only access the 172.17.x.x and 192.168.10.x.  We're set up for a lot of tunnel the VPN so this is important.  I tried to add routes to the routers on each side of the WAN to point 192.168.165.x traffic to the firewall's inside address based on a tip I read on the map here, but that did not help.  Any ideas where I should look next?

    Thanks for your help,

    Brad

    Cant it ASA itself remote peripheral ping at all sites?

    You have the NAT rules in place for example all traffic to the VPN range?

  • How do the average of the last 5 values of a column as new values automatically entered?

    If the issue is not clear for you, here's a site I found that teaches you how do it on excel. ml https://www.extendoffice.com/documents/Excel/2533-Excel-average-last-5-values.HT    I can't find the corresponding method on the good numbers. Thank you for your response in advance :-)

    Hi Z_J,

    This number approach pulls the last 5 (low) values of table 1 in another table where the average can be calculated.

    Step 1. Add line numbers in column A of table 1. This gives a way for table 1-1 to extract the last 5 values.

    Formula in A2 (and fill down

    = ROW()

    Step 2.

    In table 1-1, the formula in A6 estimated the maximum line in table 1

    = MAX (Table 1::A)

    The formula in A5 (and filling up)

    = A6−1

    Formula in B2 of table 1-1 (and fill down) using VLOOKUP to find a match for each line number in table 1-1 and get the value out of this line in table 1.

    = VLOOKUP(A2,Table 1::A:B,2,FALSE)

    Step 3.

    Now add another row (and insert a new value) to the lower part of table 1

    Lines 3 to 7 are now drawn.

    Ranger by hiding some columns

    Kind regards

    Ian.

  • Average of the last 12 months

    Hello

    I have a sum of the column. I need to find the avg of it for the last 12 months, excluding the current month.
    I have a request to find .but it is the addition of current month also with her.

    AVG (Sum (amount)) (IN ACCOUNT_MONTH_NO ORDER

    Rolling_avg of LINES BETWEEN 12 SUITE BEFORE AND 0).

    Please help me write a query as I am a naïve user to oracle.

    As...

    SQL> select * from test;
    
    ACCOUNT_NU ACCOUNT_MONTH_NO     AMOUNT
    ---------- ---------------- ----------
    ACC1                      1        100
    ACC1                      2        200
    ACC1                      3        300
    ACC1                      4        400
    ACC1                      5        500
    ACC1                      6        600
    ACC1                      7        700
    ACC1                      8        800
    ACC1                      9        900
    ACC1                     10       1000
    ACC1                     11       1100
    ACC1                     12       1200
    
    12 rows selected.
    
    SQL> select account_month_no,amount,
      2     avg(amount) over(order by account_month_no rows
      3            between 12 preceding and 1 preceding) avg
      4  from test
      5  where ACCOUNT_NUMBER  = 'ACC1';
    
    ACCOUNT_MONTH_NO     AMOUNT        AVG
    ---------------- ---------- ----------
                   1        100
                   2        200        100
                   3        300        150
                   4        400        200
                   5        500        250
                   6        600        300
                   7        700        350
                   8        800        400
                   9        900        450
                  10       1000        500
                  11       1100        550
                  12       1200        600
    
    12 rows selected.
    

    View sample data and expected results, so that we can help you better

  • How to complete the data for months current quarter of the last month of the previous quarter

    • Here is the create table and insert the statement how my data is as
      CREATE TABLE SAMPLEDATA (Snapshot_M DATE, Date_Ky DATE, F_Quantities INTEGER)
      INSERT INTO VALUES SAMPLEDATA (SEPTEMBER 1, 2014 ", 1 SEPTEMBER 2014", 14)
      INSERT INTO VALUES SAMPLEDATA (OCTOBER 1, 2014 ", 1 OCTOBER 2014", 13)
      INSERT INTO VALUES SAMPLEDATA (1 NOVEMBER 2014", 1 NOVEMBER 2013', 12)
      INSERT INTO VALUES SAMPLEDATA (DECEMBER 1, 2014", 1 DECEMBER 2013', 11)
      INSERT INTO VALUES SAMPLEDATA (JANUARY 1, 2014 ", 1 JANUARY 2014", 10)
      INSERT INTO VALUES SAMPLEDATA (FEBRUARY 1, 2014 ", 1 FEBRUARY 2014", 90)
      INSERT INTO VALUES SAMPLEDATA (MARCH 1, 2014 ", 1 MARCH 2014", 20)
      INSERT INTO VALUES SAMPLEDATA (APRIL 1, 2014 ", 1 APRIL 2014", 23)
      INSERT INTO VALUES SAMPLEDATA (MAY 1, 2014", 1 MAY 2014', 30)
      INSERT INTO VALUES SAMPLEDATA (JUNE 1, 2014 ", 1 JUNE 2014", 70)
      INSERT INTO VALUES SAMPLEDATA (JULY 1, 2014 ", 1 JULY 2014", 20)
      Desired results set:
      Snapshot_M Date_Ky F_Quantities
      10 1/1/2014-2/1/2014
      10 1/1/2014-3/1/2014
      01/01/2014 41 10/2014
      4/1/2014 5/1/2014 23
      4/1/2014 6/1/2014 23
      4/1/2014 7/1/2014 23

      My requirement is to load the data in the cube.

      So to summarize, data that are loaded onto the month last only a quarter Q1 tax (Jan) should server as a data for the quarter Q2 next month (February, March, April), the data loaded on the last month of Q2 (Apr) will be server as forecast data for Q3 months and so on.

      Thank you in advance.



    with

    SAMPLEDATA as

    (select to_date('09/1/2014','mm/dd/yyyy') snapshot_m, to_date('09/01/2014','mm/dd/yyyy') date_ky, 14 f_quantities of all the double union)

    Select to_date (October 1, 2014 "," mm/dd/yyyy ""), to_date (1 October 2014 "," mm/dd/yyyy"), 13 union double all the

    Select to_date (November 1, 2013 "," mm/dd/yyyy ""), to_date (1 November 2013 "," mm/dd/yyyy"), 12 union double all the

    Select to_date (December 1, 2013 "," mm/dd/yyyy ""), to_date (1 December 2013 "," mm/dd/yyyy"), 11 union double all the

    Select to_date (January 1, 2014 "," mm/dd/yyyy ""), to_date (1 January 2014 "," mm/dd/yyyy"), 10 of all the double union

    Select to_date (February 1, 2014 "," mm/dd/yyyy ""), to_date (1st February 2014 "," mm/dd/yyyy"), 90 union double all the

    Select to_date (March 1, 2014 "," mm/dd/yyyy ""), to_date (1 March 2014 "," mm/dd/yyyy"), 20 union double all the

    Select to_date (April 1, 2014 "," mm/dd/yyyy ""), to_date (1 April 2014 "," mm/dd/yyyy"), 23 union double all the

    Select to_date (May 1, 2014 "," mm/dd/yyyy ""), to_date (1 may 2014 "," mm/dd/yyyy"), 30 union double all the

    Select to_date (June 1, 2014 "," mm/dd/yyyy ""), to_date (1 June 2014 "," mm/dd/yyyy"), 70 union double all the

    Select to_date (July 1, 2014 "," mm/dd/yyyy ""), to_date (1 July 2014 "," mm/dd/yyyy"), 20 union double all the

    Select to_date (August 1, 2014 "," mm/dd/yyyy ""), to_date (1 August 2014 "," mm/dd/yyyy"), 22 of the double

    )

    Select snapshot_m, date_ky, last_value (f_quantities) ignore nulls on f_quantities (order by date_ky)

    of (trunc (add_months (snapshot_m-1), 'q') select snapshot_m, date_ky,)

    -case when trunc (add_months (snapshot_m-1), 'q')! = lag (trunc (add_months(snapshot_m,-1), 'q')) (date_ky order)

    then lag (f_quantities) (date_ky order)

    end f_quantities

    of sampledata

    where date_ky > = date ' 2014-01-01'

    )

    where snapshot_m > = date ' 2014-01-01'

    order of date_ky

    SNAPSHOT_M DATE_KY F_QUANTITIES
    01/01/2014 01/02/2014 10
    01/01/2014 01/03/2014 10
    01/01/2014 01/04/2014 10
    01/04/2014 01/05/2014 23
    01/04/2014 01/06/2014 23
    01/04/2014 01/07/2014 23
    01/07/2014 01/08/2014 20
    01/07/2014 01/09/2014 20
    01/07/2014 01/10/2014 20

    Concerning

    Etbin

  • Building for Stage3D - can't find the last api

    Hello

    I Flash CS5.5 and am trying to build a sample Model Viewer Away3D 4. I can't be the last api for fp11, because the compiler is back with this:

    "Type is not found or is not a compilation constant: TextureBase.

    The file 'RendererBase.as' of the Away3D library is to import a number of files in the package flash.display3D (including TextureBase), which apparently I didn't.

    I downloaded the latest version of the debug flash player 11, what else I should do? Thank you

    -rich

    Hi, I found an interesting article that will guide you through the entire process. He talks about the installation of libraries for a new version of Flash Player in general, don't get confused by the "10.2" he speaks.

    http://rhuno.com/flashblog/2011/04/04/how-to-compile-for-Flash-Player-10-2-with-Flash-CS5/

  • ever time I update windows, they take over and they did it for a long time then the last 8 failed to load.

    KB2378111, kb971644, kb2345886, KB2117917-french

    kb2505189, kb2443685, kb968930 kb970430.

    they are not charges three times

    Hello

    Try the methods provided below and check if that helps resolve the issue.

    Method 1:

    I suggest to reset the Windows Update components and then try to download updates and check if the problem persists.

    Check out the link provided below for more information on:

    How to reset the Windows Update components?

    http://support.Microsoft.com/kb/971058

    Method 2:

    Alternatively, you can try to install the updates in the clean boot state and check if that helps resolve the issue.

    Put your boot system helps determine if third-party applications or startup items are causing the problem. If so, you need to maybe contact the manufacturer of the program for updates or uninstall and reinstall the program.

    See the following article in the Microsoft KB for more information on how to solve a problem by performing a clean boot in Windows Vista or Windows 7:

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

    http://support.Microsoft.com/kb/929135

    Note:

    After troubleshooting, be sure to set the computer to start as usual as mentioned in step 7 in the above article.

    See also:

    Problems with installing updates

    http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-problems-with-installing-updates

  • The Mac I used at work was set up under my Apple ID (as were the previous Macs over the last 15 years). Since I left the new person can't do upgrades of the OS because the system want my Apple ID. Anyone know of a work around for at least the last OS?

    The machine is a 2012 MacPro. Files, applications, software, etc. are all still used by my replacement. So a clean install is not really a good option.

    Open system preferences > users and groups, unlock it, click the "smaller", make a new admin account, log on & into the new account.

    It works in the new account?

  • FireFox crashes immediately without opening on several PCs of users over the last week, how to solve?

    Hello

    We have several users using Firefox (varies from v15 in v19) in Windows XP SP3, which have began to experience crashes of Firefox until the application actually starts. Here is a selection of crash IDs:

    BP-02dd0e2b-fc51-42E6-94d3-e54a62130320
    BP-6a57380e-6FC4-467D-9C4A-f95c52130320
    BP-6675d337-0d25-4263-AFED-4ba5e2130320
    BP-a64a4507-d3e1-44a1-8958-5025e2130320

    I tried to uninstall (including the manual removal of the user's profile), reboot, and reinstall. The accident not mater who is connected to and in SafeMode as well.

    Any ideas?

    Hello, these accidents are caused by security software Websense point of endpoint that runs on these systems. There should be an update for this program available that solves this problem - maybe you will need to contact Websense customer service...

  • VM growth over the last few days N derived metric

    You are looking for assistance in creating a derived metric that would take a point in the metric of time of there are say 6 months, "poweredOnVMCount", he subtract from the current "poweredOnVMCount" and divided it by the number of days between the two measures, effectively providing the daily growth. Any help would be appreciated.

    Thank you

    Joshua

    You can use a replace a variable in the string using the "$", for example $numdays.

    Try something like this (the scope is a VMWCluster):

    then = null

    numdays = 180

    While (then == null) {}

    try {}

    String query = "VMWCluster:name virtualMachinesPoweredOnCount =" $scope.name "for day 1 day $numdays»

    then = max (server. QueryService.queryObservations (query))

    }

    catch (Exception e) {}

    numdays-

    }

    "+ numdays ++ +" days ago there was "+ then +"VM under tension.

    My result:

    56 days ago, there were 3.0 VMs under tension

    Kind regards

    Brian Wheeldon

  • I tried for two nights to download the last CC LR and Ps CC updates but they consistently fail err 49.

    It is a large problem of propagation?

    All other sis access net fine and I did not have this problem before. Is it perhaps the congestion on the download servers?

    Hello

    You can see in the help for error 49 thus document:

    Error 49 when downloading the applications of CC

    Kind regards

    Sheena

  • County of vMotion and Storage vMotion over the last 24 hours

    I am under the below a line to count the number of vMotion and Storage vMotion, which happened in the past 24 hours in the middle and it not give me the required result, but when I combine them in the script that I use to collect additional information, it's just returns 0 (zero) as the County.

    Rely on Storage vMotion and vMotion

    Get-VIEvent - MaxSamples ([int]: MaxValue)-start (Get-Date). AddDays(-1) |

    Where {$_.} GetType(). {Name - eq "TaskEvent" - and $_.Info.DescriptionId - eq "VirtualMachine.relocate" - or $_.Info.DescriptionId - eq "StorageResourceManager.applyRecommendation"} |

    Measure-object | Select-Object - ExpandProperty County

    Get-VIEvent - MaxSamples ([int]: MaxValue)-start (Get-Date). AddDays(-1) |

    Where {$_.} GetType(). {Name - eq "TaskEvent" - and $_.Info.DescriptionId - eq "VirtualMachine.migrate"} |

    Measure-object | Select-Object - ExpandProperty County

    Combined script

    Get-Cluster |

    {ForEach-Object

    $Cluster = $_

    $VMHost = $Cluster | Get-VMHost

    $CpuUsageMhz = $VMHost | Measure-object-property CpuUsageMhz-sum | Select-Object - ExpandProperty sum

    $CpuTotalMhz = $VMHost | Measure-object-property CpuTotalMhz-sum | Select-Object - ExpandProperty sum

    $MemoryUsageGB = $VMHost | Measure-object-property MemoryUsageGB-sum | Select-Object - ExpandProperty sum

    $MemoryTotalGB = $VMHost | Measure-object-property MemoryTotalGB-sum | Select-Object - ExpandProperty sum

    $Cluster | Select-Object - property @{Name = "ClusterName"; Expression = {$_.} Name}},

    @{Name = 'vSphere HA'; Expression = {$_.} HAEnabled}},

    @{Name = 'Analysis HA-Host'; Expression = {$_.} ExtensionData.Configuration.DasConfig.HostMonitoring}},

    @{Name = 'HA-Failover capacity'; Expression = {$_.} ExtensionData.Summary.CurrentFailoverLevel}},

    @{Name = 'HA-Admission Control'; Expression = {$_.} HAAdmissionControlEnabled}},

    @{Name = 'Configuration problem'; Expression = {[string]: join (",", ($_.))} ExtensionData.ConfigIssue | {{(Select-ExpandProperty FullFormattedMessage))}}.

    @{Name = 'vSphere DRS'; Expression = {$_.} DrsEnabled}},

    @{Name = "The DRS automation level"; Expression = {$_.} DrsAutomationLevel}},

    @{Name = "Use of the CPU (Mhz)"; Expression is {$CpuUsageMhz}},

    @{Name = "Cpu (Mhz) Total"; Expression is {$CpuTotalMhz}},

    @{Name = 'Cpu use (%) » ; {Expression = {[Math]: Round(100*$CpuUsageMhz/$CpuTotalMhz)}},

    @{Name = "use (GB) of memory"; Expression is {$MemoryUsageGB}},

    @{Name = "Total (GB) of memory"; Expression is {$MemoryTotalGB}},

    @{Name = 'use of memory (%) » ; {Expression = {[Math]: Round(100*$MemoryUsageGB/$MemoryTotalGB)}},

    @{Name = 'VMS NB'; Expression = {$_ |} Get - VM | Measure-object | {{Select-Object - ExpandProperty County}},

    @{Name = 'Virtual machines without VMXNET3 NB'; Expression = {$_ |} Get - VM | Get-NetworkAdapter | WHERE-object {$_.} Type - not "Vmxnet3"} | Measure-object | {{Select-Object - ExpandProperty County}},

    @{Name = 'VMotions NB'; Expression = {$_ |} Get-VIEvent - MaxSamples ([int]: MaxValue)-start (Get-Date). AddDays(-1) | Where {$_.} GetType(). {Name - eq "TaskEvent" - and $_.Info.DescriptionId - eq "VirtualMachine.migrate"} | Measure-object | {{Select-Object - ExpandProperty County}},

    @{Name = 'SvMotions NB'; Expression = {$_ |} Get-VIEvent - MaxSamples ([int]: MaxValue)-start (Get-Date). AddDays(-1) | Where {$_.} GetType(). {Name - eq "TaskEvent" - and $_.Info.DescriptionId - eq "VirtualMachine.relocate" - or $_.Info.DescriptionId - eq "StorageResourceManager.applyRecommendation"} | Measure-object | {{Select-Object - ExpandProperty County}}

    } |

    Export-Csv "C:\Script\Clusters.csv" - NoTypeInformation - UseCulture

    Could you please someone check the script above and let me know if there is something wrong

    Thank you!!

    But wait a minute, you mean that the "Num vMotions" and "Num of SvMotions" properties have a value of 0?

    This is normal, since you ask for events for the entity of the group, while you should do it for all the virtual machines in the cluster.

    Try the attached version.

Maybe you are looking for