Windows 10: Excel COUNTIFS Rules?

Discus and support Excel COUNTIFS Rules? in Windows 10 Software and Apps to solve the problem; It looks like in order to use COUNTIFS, each range must be the same size. Is this true? Are there other rules associated with COUNTIFS? Will any other... Discussion in 'Windows 10 Software and Apps' started by bopper, Oct 28, 2022.

  1. bopper Win User

    Excel COUNTIFS Rules?


    It looks like in order to use COUNTIFS, each range must be the same size. Is this true? Are there other rules associated with COUNTIFS? Will any other function work better?
    Here's a condensed version of the sheet I'm building. The first two criteria is to get a date range. The last criteria is number of occurrences of a name. It works when applied to the HQ column only. The problem is when getting number of occurrences for multiple franchises.

    # of HQ purchases, works...

    Read more
     
    bopper, Oct 28, 2022
    #1

  2. Windows 10 Firewall won't keep my inbound/outbound rules

    Hi,

    I realize the inconvenience caused to you regarding the Windows Firewall. I will certainly assist you.

    I suggest you to restart the Windows firewall service and check if it helps.

    Follow the below steps for the same.

    • Press Windows key + R simultaneously for Run.
    • Type services.msc and then Enter.
    • Right click on the Windows firewall services and then restart the services and check if it helps.
    If the issue still persists then I suggest you to remove and then read the Windows fire wall rule.

    Hope this information is helpful. Please get back to us with the information required, if you need further assistance, we’ll be glad to assist you.
     
    Anup Karkal, Oct 28, 2022
    #2
  3. Try3 Win User
    Help needed with Excel Attendance Sheet

    You use the Data tab, Data validation facility to do this.

    If you want a coherent explanation then look in Excel Help. Here's the relevant extract from Excel 2007 Help. Excel 2007 Help - Data Validation.pdf

    My example:
    - I have written them in what seems to me to be the order of easiest explanation.
    - You'd actually set them up in the reverse order - step 3, step 2, step 1.

    1 The result - my dropdown list. I select the cell then click on the dropdown arrow that appears next to it.

    Excel COUNTIFS Rules? [​IMG]


    2 To set this up, select the whole column [or individual cells] where you want the dropdown to appear then click on the Data tab then the Data validation control. You need to
    - select In-cell dropdown
    - set the Allow entry to List
    - in Source, enter the worksheet name & cell range where you have written the allowable entries - you will generally want to use absolute cell references such as those shown [$ in a cell address means absolute and will not vary as you copy the formula all the way down your column - look this up if you are not familiar with it because it needs a bit of getting used to].

    Excel COUNTIFS Rules? [​IMG]


    3 Write out the list of allowable entries that will appear in your dropdown list.

    Excel COUNTIFS Rules? [​IMG]


    Job done.

    Denis
     
  4. ddelo Win User

    Excel COUNTIFS Rules?

    Export All Administrative Events to Excel

    To analyze events, from the Windows Event Viewer, there is a simple way to export all Administrative Events to Excel, with PowerShell.

    Exporting all Administrative Events to Excel is a simple two Step process, as described here:

    Step 1 - Create the Administrative Events View .xml file
    1. Open Eventviewer (%windir%\system32\eventvwr.msc)
    2. Navigate to: Event Viewer (Local) > Custom Views > Administrative Events
    3. In the “Actions” pane select “Filter Current Custom View”.
    4. Select the the XML tab.
    5. Press Ctrl+A to select all the XML code of the Custom View.
    6. Open a notepad, paste the selected code and save the file to your Desktop as AdmEvtView.xml


    Step 2 - Create the csv file with the events
    1. Download the ExportEvtCSV.zip file, which contains the script ExportEvtCSV.ps1 and unzip it, on your Desktop.
      It's not a fancy script, just basic PowerShell commands to create a csv file on the Desktop.
    2. In Windows Search, type “ISE” (without the quotes) to open “Windows PowerShell ISE” and Run as administrator
    3. To allow running the script, change the ExecutionPolicy, for this session. To do that, in the Console pane type:
      Code:
    4. In the Windows PowerShell ISE, open and run the script: ExportEvtCSV.ps1
      The script will create a csv file with a name YYYYMMDD.HHMM.csv on the Desktop
    5. When done, open the newly created .csv file, format the columns as needed and optionally save it as .xlsx, if you wish.
    That’s it! You now have all the Administrative Events in Excel for filtering and further analysis. Excel COUNTIFS Rules? :)

    Now to the more technical hard stuff... *Confused

    There is a reason for running the script from within PowerShell ISE!

    It would be great if everything was also working perfectly, when running the script from an elevated PowerShell too.

    We can run it from an elevated PowerShell, which means that you just follow the Step 1, as above but for the Step 2 instead of the ISE you run the script from an elevated PowerShell.

    The problem is that it will work only for anybody who has en-US format for the dates. Everyone else, who has another format (i.e. en-GB, fr-FR, el-GR etc.), the dates are not translated properly by Excel (although the script uses the –UseCulture switch) and remain as text in the en-US format.

    I'm not sure if this a bug of the "export-csv" cmdlet, but although it runs the way it supposed to from within the ISE, from PowerShell there is a problem with the dates format.
    As I haven’t found a way to overcome this obstacle, any suggestion from the PowerShell gurus of the forum (like my good friend Shawn @Brink, for instance), is welcome.
     
    ddelo, Oct 28, 2022
    #4
Thema:

Excel COUNTIFS Rules?

Loading...
  1. Excel COUNTIFS Rules? - Similar Threads - Excel COUNTIFS Rules

  2. COUNTIF Function not working

    in Windows 10 Gaming
    COUNTIF Function not working: My COUNTIF formula is not working. https://answers.microsoft.com/en-us/windows/forum/all/countif-function-not-working/48eedf5b-1323-4cc4-b53c-8eefd2dae826
  3. COUNTIF Function not working

    in Windows 10 Software and Apps
    COUNTIF Function not working: My COUNTIF formula is not working. https://answers.microsoft.com/en-us/windows/forum/all/countif-function-not-working/48eedf5b-1323-4cc4-b53c-8eefd2dae826
  4. Firewall rules

    in Windows 10 Network and Sharing
    Firewall rules: [ATTACH] Does this symbol mean I have blocked outbound traffic for an application? If so why did the app just check for an update and confirm its current version? https://answers.microsoft.com/en-us/windows/forum/all/firewall-rules/870791a0-328a-4d5c-ad0a-be99f93dfdb0
  5. Resetting rules

    in Microsoft Office and 365
    Resetting rules: I use Outlook 2016 and have four email addresses. Three are pop accounts and all go to a single pst file, while my main email address is a hosted exchange account. When I initially set this up a year ago, I imported all of my rules to my exchange account, even rules that...
  6. Outlook Rules

    in Windows 10 Network and Sharing
    Outlook Rules: I am doing rules in outlook and I cannot seem to fix. One or more rules couldn't be uploaded to the Exchange server and have been deactivated. This could be because some of the parameters aren't supported or there's insufficient space to store all your rules. What to do?...
  7. executable rules vs app package rules?

    in Windows 10 Software and Apps
    executable rules vs app package rules?: Here in the Applocker you will find the following four options. [ATTACH] What is the difference between Executable Rules and App Package Rules? Please explain with example ausführbare-Regeln vs App-Paketregeln?
  8. In Bound Rules

    in Windows 10 Customization
    In Bound Rules: Why would one program in my computer be blocked under in bound rules, when every other program is allowed? https://answers.microsoft.com/en-us/windows/forum/all/in-bound-rules/3b1fe63e-2945-48d4-83fe-25b6bdb8283f
  9. Firewall Rules

    in Windows 10 Network and Sharing
    Firewall Rules: Can you setup exceptions for firewall rules? For example, if I have a port blocked inbound for ALL via GPO, can I create an exception to that rule to allow just certain IP addresses to get through the port being blocked? Win 10 ENT in a domain environment....
  10. Firewall rules

    in AntiVirus, Firewalls and System Security
    Firewall rules: I accidentally deleted outbound windows firewall rules. Will these reappear? Can this be dangerous? Please help. Thanks https://answers.microsoft.com/en-us/windows/forum/windows_10-security/firewall-rules/1f7cbdda-d9e2-435a-96cb-6caef7699b88"