+ Reply to Thread
Results 1 to 5 of 5

Calculating Last Vote

  1. #1
    Registered User
    Join Date
    11-09-2015
    Location
    Florida
    MS-Off Ver
    O365
    Posts
    61

    Calculating Last Vote

    Hello!

    I need some help with the sample file. I'm trying to calculate the most recent vote that 1 of 4 people made, and apply a set status. I've include the below conditions in the sample file and what I think the output should look like (Sample_Conditions tab). The Votes and Voter List tabs will be what is in the weekly workbook. Any help would be appreciated.

    Conditions:
    All four people on the Voter List tab, must vote prior to the Deadline indicated.
    They each can vote multiple times on one order number, but we are only concerned with the last vote.
    Voters may not vote at all.
    There is a varying number of rows week to week, depending on how many order numbers there are for the week.

    Trim list down to last vote for each person that is listed on the Voter List tab.

    If last vote equals "Approve" or "Defer" and is before the deadline then Status equals "Met"
    If last vote equals "Approve" or "Defer" and is after the deadline, then Status equals "Missed"

    If the a person in the Voter List doesn't have a row associated with an Order number, they didn't vote.
    If this condition is met, add a row with the Order Number and the Voter Name. Date/Time is blank and Status equals "No Vote"

    Thank you in advance for any assistance.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    07-31-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4,070

    Re: Calculating Last Vote

    That was quite a bit. Create a new sheet named "Output" for the output result:

    Please Login or Register  to view this content.
    If you are happy with my response please click the * in the lower left of my post.

  3. #3
    Forum Expert
    Join Date
    11-28-2012
    Location
    Guatemala
    MS-Off Ver
    Excel 2010
    Posts
    2,394

    Re: Calculating Last Vote

    try this by running the macro
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    11-09-2015
    Location
    Florida
    MS-Off Ver
    O365
    Posts
    61

    Re: Calculating Last Vote

    Looks like both of these solutions work great! Thank you both...I know this was a tricky one!

  5. #5
    Forum Expert
    Join Date
    11-28-2012
    Location
    Guatemala
    MS-Off Ver
    Excel 2010
    Posts
    2,394

    Re: Calculating Last Vote

    you´re welcome, it was a quite a challange but happy to know that it help you out!!!

+ 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. Vote Tabulation Format
    By rkmcdaniel in forum Excel General
    Replies: 1
    Last Post: 06-23-2014, 04:52 PM
  2. Vote - To opt out Voter after voted and duplicate vote count cross dept vote
    By Dahlia in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-15-2014, 09:41 PM
  3. 'Rate this thread' - What happens to the vote?
    By Ace_XL in forum The Water Cooler
    Replies: 3
    Last Post: 11-26-2013, 04:05 AM
  4. VBA REQUEST or VOTE ????
    By downtown1933 in forum The Water Cooler
    Replies: 3
    Last Post: 03-09-2013, 12:45 PM
  5. VBA REQUEST or VOTE ????
    By downtown1933 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-09-2013, 12:33 PM
  6. Car Show Vote Counting Help
    By MikeInPalouse in forum Excel General
    Replies: 8
    Last Post: 09-14-2009, 03:16 PM

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