Windows 10: NEED HELP!: Excel tricky problem

Discus and support NEED HELP!: Excel tricky problem in Windows 10 Support to solve the problem; Hello everyone, I am using EXCEL, and having this problem, which I think, tricky but easy to understand: Column A and Column C both contain INPUTS... Discussion in 'Windows 10 Support' started by HussainAlqatari, Jun 16, 2020.

  1. NEED HELP!: Excel tricky problem


    Hello everyone,

    I am using EXCEL, and having this problem, which I think, tricky but easy to understand:

    Column A and Column C both contain INPUTS (all are numbers).

    Column B should contain OUTPUTS. (Which is the problem).

    The problem in words: Look at Column A, Find the greatest number which is less than or equal to the least number in Column C. Once you find that, return 1 in Column B.

    Again, Look at Column A, Find the greatest number which is less than or equal to the second least number in Column C.
    Once you find that, return 1 in Column B.

    Again, Look at Column A, Find the greatest number which is less than or equal to the third least number in Column C.
    Once you find that, return 1 in Column B.

    And so on,

    Return 0 in Column B for other cells

    See the following example:

    INPUTS:


    NEED HELP!: Excel tricky problem qLQSwCz.png


    OUTPUTS:


    NEED HELP!: Excel tricky problem CdVFPZz.png


    The 1 beside 5 because 5 is the greatest number in Column A (which is less than or equal to 7, which is the smallest number in Column C)

    The 1 beside 11 because 11 is the greatest number in Column A (which is less than or equal to 12, which is the second smallest number in Column C)

    The 1 beside 11 because 11 is the greatest number in Column A (which is less than or equal to 19, which is the third smallest number in Column C) (This happened earlier with 12)

    The 1 beside 20 because 20 is the greatest number in Column A (which is less than or equal to 20, which is the fourth smallest number in Column C)

    The 1 beside 89 because 89 is the greatest number in Column A (which is less than or equal to 100, which is the fifth smallest number in Column C)

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

    * INPUTS should not be changed or sorted.

    * Column A has no duplicate numbers.

    * Column C has no duplicate numbers.

    * The OUTPUTS are typed manually for illustration.

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

    I tried to combine the following functions; AND(), IF(), COUNT(), SMALL() ,,, but did not work *Sad

    Can one use those function, or others, to solve this problem? I believe, but not sure, it is possible with only these functions.

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

    Sorry for my poor English (I am Arabic). If my way of explaining my problem is not clear, then please ask me to clarify more. If you understood it, but could not solve it, then it would be really appreciated if you re-phrase it, so other members may help me. THANKS IN ADVANCE!

    :)
     
    HussainAlqatari, Jun 16, 2020
    #1
  2. BrooksyX Win User

    Help with Excel VBA Problem?

    Can someone help me code the following VBA problem:

    "Assume you have a mailing list file. This file is currently the active workbook, and the active worksheet of this book has full name in coloumn starting in cell A1, with the last name last and everything in uppercase letters (such as STEPHEN E. LEE). Write a sub that counts the number of names in the list with last name LEE and then displays the count in a MsgBox. Not that there might be last names such as KLEE, which should not be counted."

    Thanks!
     
    BrooksyX, Jun 16, 2020
    #2
  3. help to remote connect

    not sure how to use both programs u 2 suggested, i need more helpful steps thanks
     
    Corduroy_Jr, Jun 16, 2020
    #3
  4. ddelo Win User

    NEED HELP!: Excel tricky problem

    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. NEED HELP!: Excel tricky problem :)

    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, Jun 16, 2020
    #4
Thema:

NEED HELP!: Excel tricky problem

Loading...
  1. NEED HELP!: Excel tricky problem - Similar Threads - NEED HELP Excel

  2. NEED HELP!: Excel tricky problem

    in Microsoft Office and 365
    NEED HELP!: Excel tricky problem: Hello everyone, I am using EXCEL, and having this problem, which I think, tricky but easy to understand: Column A and Column C both contain INPUTS (all are numbers). Column B should contain OUTPUTS. (Which is the problem). The problem in words: Look at Column A, Find the...
  3. need help with a small problem.

    in Windows 10 Ask Insider
    need help with a small problem.: Hello, i want to change my username on windows. but when i go to control panel-change account type-my account- there's only two options. one is "change the account type." and the other is "manage another account." there should be a "change username" option. but it's not...
  4. Microsoft excel, word and PowerPoint need help?

    in Windows 10 Ask Insider
    Microsoft excel, word and PowerPoint need help?: I just bought my first laptop and when I opened my excel or word it asked me to agree to a license agreement do I have to purchase or subscribe to Microsoft word and all other services or is it free and I just need to accept the license agreement and then I could use it for...
  5. Need help in finding the tricky folder with no folder name

    in Windows 10 Network and Sharing
    Need help in finding the tricky folder with no folder name: I've a folder which have name with 5 characters. I'm not able to find which font or which language it was. If i'm trying to access from power shell, it's showing ????? or 5 boxes. I've screenshots from power shell also. I've tried google translator also by pasting the hidden...
  6. Help Needed With A Window Problem

    in Windows 10 Ask Insider
    Help Needed With A Window Problem: I'm not entirely sure if this is a Windows 10 problem or just a problem with my PC in general, but I'm at a loss on what to do. A small window keeps popping up and disappearing rapidly, making it impossible to click on anything without this extra window coming back. It's a if...
  7. Need Help regarding these problem

    in Cortana
    Need Help regarding these problem: [ATTACH]Need Help[ATTACH] https://answers.microsoft.com/en-us/windows/forum/all/need-help-regarding-these-problem/4753cd57-6f0e-462c-8761-fc1d35514bef"
  8. Need help with Explorer.exe problem

    in Windows 10 BSOD Crashes and Debugging
    Need help with Explorer.exe problem: Hello! Please help me. Whenever I open my laptop, a black screen with Windows cmd prompt appears first before I can access my desktop. I have to manually enter “explorer.exe” to be able to access my desktop. How can I fix this? Thank you so much!...
  9. mic problem need help

    in Windows 10 BSOD Crashes and Debugging
    mic problem need help: so when I use a app that uses a mic I have to plug in the headset with a mic first then when I open the app it turns on the mic but when I open the app first then plug it in the audio only works but not the mic is there any way I can like enable a option or something...
  10. Routing Problem needs help

    in Windows 10 Network and Sharing
    Routing Problem needs help: Need help with a routing issue. My current setup is I have a modem/router which is myinternet connection and is set up on the 192.168.0.0 subnet. I have quite a fewcomputers on this subnet. I have a HPE DL360p server running ESXi and have 7 virtualmachines on. One of these...