Share via

Excel Formula Question

Anonymous
2024-08-29T19:25:00+00:00

Hello

Looking for some help to create a formula to populate a column in excel. In Column A I have a date and I need to populate column B with the factor Month. In column C that is highlighted would be the result I would need from the formula. The Factor Month (which is quarterly) is based on a completion date range and the populated. So for example the completion date for the project in row 2 is November 22, 2019 which falls between the range of September 1, 2020 and November 30, 2020 so column B should be populated with the Factor month of Oct-20.

Microsoft 365 and Office | Excel | For business | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

triptotokyo-5840 36,686 Reputation points Volunteer Moderator
2024-08-29T20:44:38+00:00

I’ve just put up a file for you at:-

https://www.mediafire.com/file/a7oazfrrguim0ym/Excel_Formula_Question_1.xlsm/file

Download the file and open it clicking on:-

Enable Editing

 - if required.

File should open to Worksheet called:-

amended_orig_data

 - cell A 1.

I’ve added 4 new rows:-

J 2 to L 5 inclusive.

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

5 additional answers

Sort by: Most helpful
  1. Anonymous
    2024-08-29T21:17:28+00:00

     

    I’ve just put up a file for you at:-

     

    https://www.mediafire.com/file/a7oazfrrguim0ym/Excel_Formula_Question_1.xlsm/file

     

    Download the file and open it clicking on:-

     

    Enable Editing

     

     - if required.

     

    File should open to Worksheet called:-

     

    amended_orig_data

     

     - cell A 1.

     

    I’ve added 4 new rows:-

     

    J 2 to L 5 inclusive.

     

    I do have a follow up question if the data Start date, end date and display table is in a different work sheet than the complete date how would the formula be written to reference the different worksheet? Thanking you in advance.

    Garry

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2024-08-29T21:07:25+00:00

    Thankyou so much for your help. It was greatly appreciated. It was not working at the start but then I realized I did not have the correct format in Column B. :)

    Was this answer helpful?

    0 comments No comments
  3. HansV 462.6K Reputation points
    2024-08-29T20:16:21+00:00

    Or in B2

    =LET(d, EOMONTH(A2, 0)+1, m, MOD(MONTH(d)-1, 3), EDATE(d, -m))

    Format B2 as mmm-yy, then fill down.

    Was this answer helpful?

    0 comments No comments
  4. triptotokyo-5840 36,686 Reputation points Volunteer Moderator
    2024-08-29T20:07:20+00:00

    See 2 pictures below.

    Formula is in cell B 2 then copy down as required.

    Some of your COMPLETE_DATES are outside of the Start Date and End Dates you've quoted.

    Was this answer helpful?

    0 comments No comments