Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


Pro-rata monthly budget by week

Pro-rata monthly budget by week

Pro-rata monthly budget by week

I need to pro-rata a monthly budget so that a greater proportion is allocated to beginning of month.
They want it to be:
working days 1-5 = 40% of total budget
6-10 = 30%
10-15 = 20%
15+ = 10%
There is a table currently in the system called x_workdates:
Seqno Date Weekday Workday
2071 1/09/2016 5 1
2072 2/09/2016 6 1
2073 3/09/2016 7 0
2074 4/09/2016 1 0
2075 5/09/2016 2 1
Any ideas on the best way to go about this would be great.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close