+ Reply to Thread
Results 1 to 11 of 11

Report Cell Formatting and Formula

  1. #1
    Registered User
    Join Date
    05-09-2016
    Location
    Australia
    MS-Off Ver
    V10
    Posts
    63

    Unhappy Report Cell Formatting and Formula

    Need help deriving a formula for my business spreadsheet, I have a collum with Job start date and a collum with reports, I need a formula so that when an employee has been at my company for sixteen months.
    Last edited by PistolPete7; 05-06-2017 at 09:21 PM.

  2. #2
    Forum Expert leelnich's Avatar
    Join Date
    03-20-2017
    Location
    Delaware, USA
    MS-Off Ver
    Office 2016
    Posts
    2,807

    Re: Report Cell Formatting and Formula

    Post # 1 was CHANGED. The original question was (paraphrasing), "I need a report on each employee every six months, starting from their date of hire (Column A). On the day the report is due, I want Column (?) to show that date."

    Hi Pete- If start date is in A2, this will only show for ONE DAY every 6 months:
    =IF(TODAY()=EDATE($A2,6*INT((TODAY()-$A2)/182.5)),TODAY(),"")

    The next day, it will be blank again. Is that really what you want?
    I think it might be better to compare 2 columns, 'Report Due' and 'Last Report Completed'. If report due is greater, use conditional formatting to turn the cells RED or something. See the attached workbook for example.See Post #11 for Final version of this workbook. -Lee

    Please click the Add Reputation star below any helpful posts, and if you have your answer, mark your thread as SOLVED (Thread Tools up top). Thanks!-Lee
    Attached Files Attached Files
    Last edited by leelnich; 05-06-2017 at 10:53 PM.

  3. #3
    Registered User
    Join Date
    05-09-2016
    Location
    Australia
    MS-Off Ver
    V10
    Posts
    63

    Re: Report Cell Formatting and Formula

    Quote Originally Posted by leelnich View Post
    Hi Pete- If start date is in A2, this will only show for ONE DAY every 6 months:
    =IF(TODAY()=EDATE($A2,6*INT((TODAY()-$A2)/182.5)),TODAY(),"")

    The next day, it will be blank again. Is that really what you want?
    I think it might be better to compare 2 columns, 'Report Due' and 'Last Report Completed'. If report due is greater, use conditional formatting to turn the cells RED or something. See the attached workbook for example.

    Please click the Add Reputation star below any helpful posts, and if you have your answer, mark your thread as SOLVED (Thread Tools up top). Thanks!-Lee
    Thats the right direction but it just needs to come up for these dates , from today if they have been at the company for six months, Do you think I could maybe do a conditional format?
    Last edited by PistolPete7; 05-06-2017 at 03:09 AM.

  4. #4
    Forum Expert leelnich's Avatar
    Join Date
    03-20-2017
    Location
    Delaware, USA
    MS-Off Ver
    Office 2016
    Posts
    2,807

    Re: Report Cell Formatting and Formula

    I edited post #2 again after your last post, go there and upload the workbook.

  5. #5
    Registered User
    Join Date
    05-09-2016
    Location
    Australia
    MS-Off Ver
    V10
    Posts
    63

    Re: Report Cell Formatting and Formula

    Quote Originally Posted by leelnich View Post
    I edited post #2 again after your last post, go there and upload the workbook.
    It works, but I stupidly forgot it needs to filter the dates in intivals of six months, and when it is someones 6 month check up it needs to have "due" instead of a date. Thanks for helping though

  6. #6
    Forum Expert leelnich's Avatar
    Join Date
    03-20-2017
    Location
    Delaware, USA
    MS-Off Ver
    Office 2016
    Posts
    2,807

    Re: Report Cell Formatting and Formula

    Paste this in B2:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Also, note that our sytem date formats are different. Here we do mm/dd/yyyy, there you do dd/mm/yyyy.

    Please click the Add Reputation star below any helpful posts, and if you have your answer, mark your thread as SOLVED (Thread Tools up top). Thanks!-Lee
    Last edited by leelnich; 05-06-2017 at 01:59 AM.

  7. #7
    Registered User
    Join Date
    05-09-2016
    Location
    Australia
    MS-Off Ver
    V10
    Posts
    63

    Re: Report Cell Formatting and Formula

    Quote Originally Posted by leelnich View Post
    Paste this in B2:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Also, note that our sytem date formats are different. Here we do mm/dd/yyyy, there you do dd/mm/yyyy.

    Please click the Add Reputation star below any helpful posts, and if you have your answer, mark your thread as SOLVED (Thread Tools up top). Thanks!-Lee
    That worked partly, is there any way I could send you a screen shot of the document the c2 reference doesn't work with the spreadsheet

  8. #8
    Registered User
    Join Date
    05-09-2016
    Location
    Australia
    MS-Off Ver
    V10
    Posts
    63

    Re: Report Cell Formatting and Formula

    refer bellow
    Last edited by PistolPete7; 05-06-2017 at 02:25 AM.

  9. #9
    Registered User
    Join Date
    05-09-2016
    Location
    Australia
    MS-Off Ver
    V10
    Posts
    63

    Re: Report Cell Formatting and Formula

    This is the table format, I just need by any means necessary to have only dates that fall on sixteen months to show up like the columns to the left
    Last edited by PistolPete7; 05-06-2017 at 09:45 PM.

  10. #10
    Forum Expert leelnich's Avatar
    Join Date
    03-20-2017
    Location
    Delaware, USA
    MS-Off Ver
    Office 2016
    Posts
    2,807

    Re: Report Cell Formatting and Formula

    The numbers shown in the 'Staff Reporting' column ARE dates. You just have to change the Cell Formatting/Number Format to the Date type, so Excel will display them correctly.

    NOTE: I'm not seeing a 'Last Report Completed' column. Without it, you have no way to tell if the report is done, so TODAY() will always be greater than the last required report and Staff Reporting will ALWAYS show 'Report Due'.
    Last edited by leelnich; 05-06-2017 at 04:28 AM.

  11. #11
    Forum Expert leelnich's Avatar
    Join Date
    03-20-2017
    Location
    Delaware, USA
    MS-Off Ver
    Office 2016
    Posts
    2,807

    Re: Report Cell Formatting and Formula

    OK, I adjusted the formula in the 'Staff reporting' column. It now shows either "Report Due" (HIGHLIGHTED) or the NEXT Reporting date.
    I'm pretty sure this is the output you want, but it still depends on a second column to determine if the LAST Report was filed.
    I don't think you can do this any other way.-Lee
    Attached Files Attached Files
    Last edited by leelnich; 05-07-2017 at 09:16 PM.

+ 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. Replies: 1
    Last Post: 10-17-2016, 02:25 AM
  2. [SOLVED] Formula to update report based on cell
    By jimstrongy in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-09-2015, 01:05 AM
  3. Replies: 1
    Last Post: 01-26-2015, 07:52 AM
  4. Replies: 7
    Last Post: 01-12-2015, 02:48 PM
  5. Using a formula to report selected Cell
    By mmcguirenc in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-28-2013, 04:13 AM
  6. [SOLVED] Formula (or way) to update daily the name of report where cell is linked to.
    By fonzireyes in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-10-2013, 09:43 AM
  7. Need formula to check adjacent cell value, and report.
    By theRDstore in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-05-2009, 01:52 PM

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