+ Reply to Thread
Results 1 to 5 of 5

Need Help! Formula(s) to carry data from one to multiple cells in various yearly quarters

  1. #1
    Registered User
    Join Date
    10-21-2013
    Location
    Ct.
    MS-Off Ver
    2013
    Posts
    2

    Question Need Help! Formula(s) to carry data from one to multiple cells in various yearly quarters

    Here's the situation, I have a large list of projects that I need to take the total estimated hours (Total Hours) and divide equally across the 4 quarters in 2014. I then need to ascertain the start date those hours will hit.

    For example:

    Project A Total Hours: 1500
    2014 Quarter Start: 1st
    Total Quarters (Project Duration): 4

    I'd need a formula in quarter columns to solve for 1500/4 and begin with the first quarter.

    Subsequent data will have projects starting in future quarters, for example:

    Project B Total Hours: 200
    2014 Quarter Start: 2
    Total Quarters: 3

    I'm at a loss. Been at this problem for 4 hours now and its starting to make my skin crawl! I've attached a reference example in format. Thanks for your anticipated assistance!2014projects_example.xlsx

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Need Help! Formula(s) to carry data from one to multiple cells in various yearly quart

    welcome to the forum, sjoslyn. it would be good to show what you want to see too. i'm guessing this formula in D2:
    =IF(COLUMNS($D2:D2)>=$B2,$A2/$C2,"")

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Registered User
    Join Date
    10-18-2012
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Need Help! Formula(s) to carry data from one to multiple cells in various yearly quart

    Hi Sjoslyn,

    Also welcome to the forum.

    As a general note to run a formula like this it's best to have the criteria (i.e. QTR Start and Total Quarters) in the same format as the criteria range (the headings of the column).

    Benishiryo's formula will work in this case as you've limited the output to have all projects ending on the last date that uses the formula, however, when you add in the second project (assuming this doesn't also end in Q4 2014) the criteria will always be met and all following columns will have the same number of hours.

    Therefore the formula should be something like =IF(AND($B3<=COLUMNS($D$2:D$2),$B3+$C3>=COLUMNS($D$2:D$2)),$A3/$C3,"").

    I would recommend (see attached) that you use dates with a start and end date (i've used the last date of the quarter but it doesn't matter as long as the criteria and the criteria range are consistent) where you can use the formula =IF(AND($B11<=E$10,$D11>=E$10),$A11/$C11,""). This is using an extra column in C for end date (see attached).

    Good luck,

    Pete
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    10-21-2013
    Location
    Ct.
    MS-Off Ver
    2013
    Posts
    2

    Re: Need Help! Formula(s) to carry data from one to multiple cells in various yearly quart

    Guys, thank you so much for your quick assistance! This is a major help and greatly appreciated!!

  5. #5
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Need Help! Formula(s) to carry data from one to multiple cells in various yearly quart

    Based on your last post in this thread, its apparent that you are satisfied with the solution(s) you've received and have solved your question, but you haven't marked your thread as "SOLVED". I will do it for you this time.

    In future, to mark your thread as Solved, you can do the following -
    Select Thread Tools-> Mark thread as Solved.

    Incase your issue is not solved, you can undo it as follows -
    Select Thread Tools-> Mark thread as Unsolved.

    Also, since you are relatively new to the forum, i would like to inform you that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post which helped you. This adds to the reputation of the person who has taken the time to help you.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ 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. formatting cells with quarters based on date ranges
    By nheb in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-09-2013, 11:11 AM
  2. Replies: 5
    Last Post: 08-06-2013, 02:13 PM
  3. Replies: 2
    Last Post: 02-12-2013, 07:28 AM
  4. Sorting chart X axis based on yearly Quarters
    By Raisedwell in forum Excel General
    Replies: 5
    Last Post: 03-04-2010, 10:56 PM
  5. how do i carry a formula
    By Xhawk57 in forum Excel General
    Replies: 6
    Last Post: 03-11-2006, 11:45 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