+ Reply to Thread
Results 1 to 18 of 18

Work Allocation

  1. #1
    Registered User
    Join Date
    01-08-2018
    Location
    India
    MS-Off Ver
    2013
    Posts
    56

    Question Work Allocation

    Hi There,

    I need macro code which allocates names to a data as per count mentioned in next cell

    like

    Name Count
    Mahesh 50
    Neha 40
    Ramehs 60
    Garima 12

    and above names are allocated as per count.

    Regards,
    Ashok
    Last edited by ashok0141; 01-12-2018 at 01:25 AM.

  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,351

    Re: Work Allocation

    Welcome to the forum!

    Sorry, but you have given nowhere near enough information for anyone to have any idea about what it is you are trying to do. Try again! Explain clearly.
    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
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Work Allocation

    I agree with Ali

    To best describe or illustrate your problem you would be better off attaching a dummy workbook. The workbook should contain the same structure and some dummy data of the same type as the type you have in your real workbook - so, if a cell contains numbers & letters in this format abc-123 then that should be reflected in the dummy workbook.

    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Registered User
    Join Date
    01-08-2018
    Location
    India
    MS-Off Ver
    2013
    Posts
    56

    Re: Work Allocation

    thanks for quick interest on my query...

    i have attached the workbook as per need.

    in the workbook, sheet"allocation details" where i have name of employee with number of cases to be allocated to each on sheet"data".

    i need a macro to assigned to allocate button on the sheet "allocation Details" which allocate names on sheet"data" in the column "k"

    I hope now you will be able to help me.

    regards,
    Ashok
    Attached Files Attached Files

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Work Allocation

    ok, and the points shown on Allocate sheet are supposed to go where?

    You need to show a before and after situation please. Remember, you know exactly what you want, we are working blind and dont have the knowledge that you do

  6. #6
    Registered User
    Join Date
    01-08-2018
    Location
    India
    MS-Off Ver
    2013
    Posts
    56

    Re: Work Allocation

    on "allocation details" sheet , in column B, these are count of cases. if you can look at agent name Mahesh and his count is 15. i have manually pasted his name on data sheet for 15(as per count to be allocated) times. i need macro which do it for remaining employee through macro.

  7. #7
    Registered User
    Join Date
    01-08-2018
    Location
    India
    MS-Off Ver
    2013
    Posts
    56

    Re: Work Allocation

    i am sorry, i am really not good in explaining the things.... but i will try if you need more explaination

  8. #8
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Work Allocation

    Maybe you uploaded the incorrect file? Agent Name column is empty on Data sheet?

  9. #9
    Registered User
    Join Date
    01-08-2018
    Location
    India
    MS-Off Ver
    2013
    Posts
    56

    Re: Work Allocation

    Here your go!!!
    Attached Files Attached Files

  10. #10
    Registered User
    Join Date
    01-08-2018
    Location
    India
    MS-Off Ver
    2013
    Posts
    56

    Re: Work Allocation

    any update for me please

  11. #11
    Forum Expert nilem's Avatar
    Join Date
    10-22-2011
    Location
    Ufa, Russia
    MS-Off Ver
    2013
    Posts
    3,377

    Re: Work Allocation

    Hi ashok0141,
    maybe so
    Please Login or Register  to view this content.

  12. #12
    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,351

    Re: Work Allocation

    Quote Originally Posted by ashok0141 View Post
    any update for me please
    Please remember that those who help here do so voluntarily and of their own goodwill. They live in many different time zones and many will be out at work right now if they are not asleep on the other side of the globe. This is not a paid 'service': members will help when they are ready and able to do so, and not 'on demand'. Please do not try to put pressure of time on anyone here: if you get the help you need today, that's fine, but you really should not count on it. Thanks for your understanding and patience.

    From the forum rules (link in the main menu above):
    • If your question has not been answered within a day, consider adding another post with any additional information you believe is relevant. If you think your post is good as is, just reply to your own thread with the words "Bump no response", which will bring it to the top of the forum.

  13. #13
    Registered User
    Join Date
    01-08-2018
    Location
    India
    MS-Off Ver
    2013
    Posts
    56

    Re: Work Allocation

    i agree with you

  14. #14
    Registered User
    Join Date
    01-08-2018
    Location
    India
    MS-Off Ver
    2013
    Posts
    56

    Re: Work Allocation

    i am new on this forum so i was not aware of that how it work...

    actually i was getting replies quickly so i was kept looking for solution.

    i will take care of that in future and thanks you so much for help

  15. #15
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,525

    Re: Work Allocation

    As this thread has not been marked 'Solved', I am going to offer a formula based solution.
    Place a helper column on the 'Data Allocation' sheet such that C1 is zero and C2:C6 are populated by: =SUM(B$2:B2)
    The 'Agent Name' column (K) on the 'Data' sheet is populated by: =LOOKUP(ROW(1:1),'Allocation Details'!C$1:C$6,'Allocation Details'!A$2:A$7)
    Zeros in column K are hidden using conditional formatting.
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  16. #16
    Registered User
    Join Date
    01-08-2018
    Location
    India
    MS-Off Ver
    2013
    Posts
    56

    Re: Work Allocation

    Thanks for making it easier

  17. #17
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,525

    Re: Work Allocation

    You're Welcome. Thank You for the feedback and for marking the thread as 'Solved'. I hope that you have a blessed day.

  18. #18
    Registered User
    Join Date
    12-11-2020
    Location
    Bangalore
    MS-Off Ver
    windows 13
    Posts
    1

    Re: Work Allocation

    not able to see your macro, nither the button is working for the downloaded file

+ 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] Equal work allocation via vba
    By akulka58 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-09-2021, 12:31 AM
  2. work allocation
    By ashok0141 in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 01-09-2018, 01:25 AM
  3. [SOLVED] Macro for auto work allocation depending on old pending work?
    By nr6281 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-27-2017, 04:07 PM
  4. Point of work-wise (POW) Allocation in rotation
    By Ravi_Kadu in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 06-19-2017, 08:59 AM
  5. [SOLVED] Work allocation to employees so that they are involve according to the requirement
    By shikha2 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-16-2014, 08:54 AM
  6. Work allocation to employees so that they are involve according to the requirement
    By shikha2 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-16-2014, 08:40 AM
  7. Key Notes related help required
    By pavittersingh in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-28-2012, 04:48 AM

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