+ Reply to Thread
Results 1 to 5 of 5

Sumproduct and sliding calender formula help

  1. #1
    Registered User
    Join Date
    03-20-2014
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    10

    Sumproduct and sliding calender formula help

    Good afternoon

    I am looking for some more help on a spread sheet I am trying to create which is attached below. I am looking for a couple of different formulas:-

    1. Is there a way to count when "LEAVE" (Bright Green Cells) falls on a Friday or Monday when there is "IDLE" (Black Cells) on Saturday and Sunday. I would need it to recognise different combinations e.g. If Friday is "LEAVE" and Saturday is "IDLE", that would count as 1 however if Friday is "LEAVE" and Sunday is "IDLE" then this would not count as an occurrence.

    2. Is there a way to count when "LEAVE" (Bright Green Cells) fall either side or on a pay day? The pay days are highlighted orange in the dates headings. Can a formula recognise every second Wednesday or would it have to point to the specific dates?

    3. With the sliding calendar, is there a way for the formulas to follow what month is selected as my formula's only point to the first 31 days in January. When I slide the calendar to February for instance, the formulas still point to January and do not follow to the next months data.

    'PLT Example 2.xlsm

    Is the above formula's possible? Any help with any or all three of the above formula's it would be greatly appreciated

    Thanks in advance

  2. #2
    Valued Forum Contributor
    Join Date
    04-22-2014
    Location
    Auckland, New Zealand
    MS-Off Ver
    Office 365 (work) and Excel 2013 (home)
    Posts
    1,167

    Re: Sumproduct and sliding calender formula help

    Quote Originally Posted by tjm75 View Post
    Can a formula recognise every second Wednesday or would it have to point to the specific dates?
    Excel treats dates as whole numbers, so if you know a specific date of a pay day then =MOD([Date to compare]-[Known payday date],14) will tell you if it is a payday (if it's 0, then it is a payday, anything else means it's not).

    You would use it in an if statement, such as =IF(MOD([Date to compare]-[Known payday date],14)=0,"Payday","")
    Please add reputation by clicking on the * if I have helped.
    Please mark the thread SOLVED if your issue has been resolved.
    Thanks, Glenn.

  3. #3
    Registered User
    Join Date
    03-20-2014
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: Sumproduct and sliding calender formula help

    Awesome, appreciate the help gak67

  4. #4
    Registered User
    Join Date
    03-20-2014
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: Sumproduct and sliding calender formula help

    Any further help with the formula's? Any help is greatly appreciated.

    Thanks in advance

  5. #5
    Registered User
    Join Date
    03-20-2014
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: Sumproduct and sliding calender formula help

    Still stuck on these formulas. Thanks in advance if you are able to help or point me in the right direction

    Thanks everyone

+ 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] sliding formula
    By allgeef in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 11-19-2014, 11:03 PM
  2. [SOLVED] Need a formula for a sliding scale
    By kafarrell in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-30-2014, 01:05 PM
  3. Formula for a sliding scale fee
    By trevorchorn in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-23-2012, 05:22 PM
  4. [SOLVED] Unequal Sliding Scale Formula
    By Aclowntant in forum Excel General
    Replies: 1
    Last Post: 04-18-2012, 12:57 PM
  5. Sliding scale formula
    By vbidiot in forum Excel General
    Replies: 7
    Last Post: 07-11-2011, 10:21 AM
  6. Need help with sliding scale compensation formula
    By goosebug in forum Excel General
    Replies: 1
    Last Post: 06-22-2011, 02:40 PM
  7. how to have a sliding formula
    By KrispRolls in forum Excel General
    Replies: 7
    Last Post: 05-01-2007, 01:51 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