+ Reply to Thread
Results 1 to 3 of 3

Annual cost calculation based on date

  1. #1
    Registered User
    Join Date
    05-20-2010
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    24

    Annual cost calculation based on date

    HI All,

    Need help to get the formula for calculating cost based on working days in a month (networkdays) based on date we are giving in DOJ column(C)

    in attached sheet, given 5/15/2013 in colum C , so before given date & Months value should be "0" and need "May" month remining working days and next months cost .

    i used below formula but not working

    IF(IF(TEXT($C6,"mmm")=TEXT(F$4,"mmm"),160/30*NETWORKDAYS($C6,F2),0),IF(TEXT($C6,"MMM")<TEXT(F$4,"MMM"),160/30*NETWORKDAYS(F1,F2),0),0)

    Thanks,
    Sekhar
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: Annual cost calculation based on date

    hi sekharyadav, option
    Attached Files Attached Files
    Last edited by watersev; 05-12-2013 at 06:55 AM.

  3. #3
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,696

    Re: Annual cost calculation based on date

    What does 160/30 represent - is that working hours in a day? Try this formula in F6 copied across

    =MAX(0,NETWORKDAYS(MAX($C6,F$1),F$2))*16/3

    perhaps you need to multiply by the hourly rate in E6 too?
    Audere est facere

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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