+ Reply to Thread
Results 1 to 7 of 7

Code for Random 10% Audit of Department

  1. #1
    Registered User
    Join Date
    04-11-2014
    Location
    Swansea
    MS-Off Ver
    Excel 2013
    Posts
    4

    Code for Random 10% Audit of Department

    I have an excel document – Application Log Rev1 within this document I have 7 tabs.

    Tabs 1 – 5 are departments with information

    Tab 6 is Level 1 management audit – Basically a manager needs to extract a random 10% of each department and copy the data, I’m assuming it’s like a VLookup but a little more in depth, because I want the macro to randomly select the data.

    Tab 7 is level 2 management audit – Basically a higher up manager is looking at the level 1 managers work to audit him. Level 2 needs to extract a random 10% from Tab 6 etc.

    I am confident this can be done with excel as I know it’s super powerful. However, my problem is I have absolutely no clue when it comes to VBA’s Macro’s. I also think what I am asking for is quite complex.

    Can anyone please help me. I’ve attached an example of the document I am using if it helps. Oh god I could cry right now!
    Last edited by AliGW; 07-07-2022 at 06:30 AM. Reason: Inappropriate comment removed.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,780

    Re: I need a code

    Welcome to the forum.

    There is no document attached, that's the first thing.

    Secondly, is your profile up-to-date?

    Administrative Note:

    We would very much like to help you with your query, however the thread title does not really convey what your request is about. Tell us what you are trying to do, not how you think it should be done.

    Please take a moment to amend your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).

    Please see Forum Rule #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.

    (Note: this change is not optional. As you are new here, I will do it for you this time.)
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    04-11-2014
    Location
    Swansea
    MS-Off Ver
    Excel 2013
    Posts
    4

    Re: I need a code

    Morning Ali,

    Thank you so much for answering me and changing my thread title

    My profile was only created this morning so it's only got what it's asked for so i have no clue.

    And thank you for letting me know about the attachment, I knew something went wrong.

    I've attached the document now hopefully.
    Attached Files Attached Files

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,780

    Re: Code for Random 10% Audit of Department

    Your profile was created in 2014, hence my question. So, you are still using Excel 2000 - yes?

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,780

    Re: Code for Random 10% Audit of Department

    Administrative Note:

    We would very much like to help you with your query, however it has been brought to our attention that the same query has been posted on one or more other forums and you have not told us about this. You are required to do so.

    Please see Forum Rule #3 about cross-posting and adjust accordingly. Read this to understand why we (and other sites like us) consider this to be important.

    (Note: this requirement is not optional. I will provide the link for you this time: https://www.mrexcel.com/board/thread...-tabs.1209790/)

  6. #6
    Registered User
    Join Date
    04-11-2014
    Location
    Swansea
    MS-Off Ver
    Excel 2013
    Posts
    4

    Re: Code for Random 10% Audit of Department

    Hi Ali

    I have no idea why it says I started it in 2014, I'm pretty confident I started it today.

    I have posted this question in one other place, this website is my second entry. I wasn't aware I am not allowed to post across the board - naturally I wouldn't have done this if I'd known.

    To be honest, I'm in a bit of a panic to get this code written or started, as it is time sensitive.

    More than happy to remove my post if need be, I totally understand. I have a lot of feedback from the other website in relation to what I am asking, but nothing conrete.

    Thanks

    Tori

  7. #7
    Registered User
    Join Date
    04-11-2014
    Location
    Swansea
    MS-Off Ver
    Excel 2013
    Posts
    4

    Re: Code for Random 10% Audit of Department

    Ali,

    Has this post now been removed? Do I need to put it up again with the link?

    I have no idea what I need to do now....

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Code to display text & code in a combo list, but display only code when selected
    By kdestef1 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-26-2019, 06:07 PM
  2. [SOLVED] Need help with VBA code. Tons of code seperated in two, second part of code doesn't work.
    By FragaGeddon in forum Excel Programming / VBA / Macros
    Replies: 20
    Last Post: 11-30-2015, 11:46 AM
  3. [SOLVED] Pattern Building VBA Code - Working code, would like to use cleaner code
    By Benisato in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-10-2015, 03:05 PM
  4. [SOLVED] Excel VB code. Message pops up while code running asking question. Code must not wait.
    By Heinrich Venter in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-28-2014, 06:10 AM
  5. [SOLVED] VBA code for assigning a numeric code to text; then numeric code populates table
    By cteaster in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-14-2014, 08:01 PM
  6. Replies: 2
    Last Post: 03-09-2013, 04:30 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1