Results 1 to 6 of 6
  1. #1
    jeg-access is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    May 2015
    Posts
    3

    Spread projected values across multiple months

    I have a database of potential Projects with Estimated Fee, Start Date, End Date, FTEs. I want to have a report that will spread the Estimated Fee equally across each month and another report that shows the FTEs spread across the same time frame. I tried using a cross tab query, but it only shows the values in the first month. Any tips? Thanks.

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,646
    So you want to calculate how many months encompassed by the StartDate and EndDate, divide the Fee and FTE by that and assign portion to each month within date range for display horizontally on report?

    Won't be easy by any method.

    Would involve some complex calcs to extract month from each date and calculate the difference, then IIf conditional expressions to construct 12 fields.

    Another approach would involve VBA and temp table.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    jeg-access is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    May 2015
    Posts
    3
    Yes, you have it. I have this in an Excel table, built manually with IFs and LOOKUPs. I think I'm going to have to go the VBA route in Access. Thanks for the advice.

  4. #4
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,646
    I think a query could do it. Maybe not as complex as I first envisioned but certainly tricky.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  5. #5
    jeg-access is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    May 2015
    Posts
    3
    I'm working on a query between two tables: T1: Dates only (first day of the month for 48 months) T2: Opportunities table (with start, end, projected fee, FTEs). Trying to build a crosstab query that works with those two data sets....

  6. #6
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,646
    Don't think CROSSTAB is going to do it. Will have to be a regular SELECT query with calculated fields.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 6
    Last Post: 03-20-2015, 06:07 AM
  2. Replies: 3
    Last Post: 02-23-2014, 02:06 PM
  3. how to get info from spread sheet to access
    By Stephanie53 in forum Programming
    Replies: 7
    Last Post: 03-19-2013, 01:36 PM
  4. Replies: 0
    Last Post: 03-09-2012, 07:04 AM
  5. List spread over three columns
    By Al77 in forum Reports
    Replies: 5
    Last Post: 02-29-2012, 10:45 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums