+ Reply to Thread
Results 1 to 4 of 4

Counting vacation days

  1. #1
    Registered User
    Join Date
    06-12-2016
    Location
    Meadow Lake, Sask.
    MS-Off Ver
    2007
    Posts
    1

    Counting vacation days

    I'm trying to add employee vacation days for the year. Vacation days taken are marked with a V in a cell and half vacation days are marked with 1/2V. Is there a way to add the vacation days so that V=1 and 1/2V=0.5 ?

    I am currently using this formula to add the vacation days ("V") but cannot get it to add the half vacation days ("1/2V") as 0.5

    =COUNTIF(D7:D372,"V")

  2. #2
    Forum Expert
    Join Date
    08-16-2015
    Location
    Antwerpen, Belgium
    MS-Off Ver
    2007-2016
    Posts
    2,380

    Re: Counting vacation days

    Maybe
    =COUNTIF(D7:D372,"V") +(COUNTIF(D7:D372,"1/2V") /2)

  3. #3
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Counting vacation days

    Here's another one...

    =SUM(COUNTIF(D7:D372,{"V","1/2V"})*{1,0.5})
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  4. #4
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2024
    Posts
    6,176

    Re: Counting vacation days

    Maybe like this ...

    =SUMPRODUCT((D7:D372="V")+(D7:D372="1/2V")/2)

+ 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. Formula for vacation days earned annualy with additional days at a milestone
    By poTATEohhh in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-29-2015, 08:40 AM
  2. Counting vacation days problem
    By cemregunay in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-01-2014, 08:09 PM
  3. Work Schedule that calculates hours, lunches, days off and vacation days
    By tameronstarr in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-12-2014, 12:06 PM
  4. Calculate vacation days taken or partial days
    By chris1965 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-20-2013, 07:18 PM
  5. Vacation Days Taken vs Vacation Days Scheduled
    By Gtrtim112 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-30-2013, 02:44 PM
  6. [SOLVED] Counting Vacation or Sick Days within a Specified Time Period
    By Rhonda Hewett in forum Tips and Tutorials
    Replies: 1
    Last Post: 08-23-2005, 12:37 PM
  7. Counting vacation days left
    By Bruno01 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-26-2005, 07:07 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