+ Reply to Thread
Results 1 to 19 of 19

Assistant in Adding to this DATE formula

  1. #1
    Registered User
    Join Date
    12-27-2020
    Location
    USA
    MS-Off Ver
    2013
    Posts
    15

    Assistant in Adding to this DATE formula

    =IF(MONTH(DATEVALUE(L$24&"1"))>=MONTH($C$9), $I26, "")

    What this Does - It looks at CELL C9 which contains a DATE - Example ( 05/01/2021 )
    The datasheet looks up a PREMIUM PRICE based on several factors... and the formula fills in the rates
    that the premium should be for the MONTH the enrollment starts... so in this case, it leaves the months Jan, Feb, Mar, April as $0
    and then it fills in May, Jun, July, Aug, Sept, Oct, Nov, Dec with the premium cost.

    Cell B9 and C9 looks like this EFFECTIVE DATE: [ user inputs a date ]

    I am thinking that if I add the following to my spreadsheet as follows

    Cell B10 AND C10

    Termination Date: [ user inputs end date ]

    So that the RATE only fills in for the exact months in which the RATES apply

    The Formula above is in EACH CELL for each month...

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    91,019

    Re: Assistant in Adding to this DATE formula

    There are instructions at the top of the page explaining how to attach your sample workbook.

    A good sample workbook has just 10-20 rows of representative data that has been desensitised. It also has expected results mocked up, relevant cells highlighted and a few explanatory notes.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,424

    Re: Assistant in Adding to this DATE formula

    What does the cell L24 contain, and why are you adding the text value "1" to it inside the DATEVALUE function ?

    Pete

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    91,019

    Re: Assistant in Adding to this DATE formula


  5. #5
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,424

    Re: Assistant in Adding to this DATE formula

    Thanks Ali, so you think L24 contains a month name? You don't really need the quotes around "1".

    Pete

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    91,019

    Re: Assistant in Adding to this DATE formula

    I would imagine so, but I've asked the OP to provide a workbook.

  7. #7
    Registered User
    Join Date
    12-27-2020
    Location
    USA
    MS-Off Ver
    2013
    Posts
    15

    Re: Assistant in Adding to this DATE formula

    Sorry I am breaking down a 20L aquarium for reset...halfway done

    example.jpg

    As can see the EFFECTIVE DATE is copied over to the Effective Date
    The RATES are pulled via a Vlookup

    Currently I have the RATES filled in from April through December - thats fine and dandy

    I am thinking that if I add a USER input field under the Effective date in the above section
    and add a TERM date and in this exmaple lets say it is fro 08/31/2021

    Then The RATES get filled in for April through August
    While SEP-DEC fields are blank like Jan-Mar

    The formula for each cell in the MONTHS is

    =IF(MONTH(DATEVALUE(L$24&"1"))>=MONTH($C$9), $I26, "")

    RATES are pulled via lookup which are dependent on the Data filled under each name
    specifically, the Plan Level, Plan Name and Rating Area - these do not change for all members as the PRIMARY applicants
    always stay the same for the household

    The RATES are then also based on the Date of birth and the age of that individual based on the DATE of Birth and the age of the individual
    on the first of the month in which the plan became effective.

    so in this example, the person is AGED 20 with the effective date of 04/01 because this person birthday is NOT until JULY
    at which time the RATES would increase based on the AGE if there was a reported change

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    91,019

    Re: Assistant in Adding to this DATE formula

    I asked for a workbook, not a picture of one.

  9. #9
    Registered User
    Join Date
    12-27-2020
    Location
    USA
    MS-Off Ver
    2013
    Posts
    15

    Re: Assistant in Adding to this DATE formula

    me and computers.... so the only option I can do is link a picture

  10. #10
    Registered User
    Join Date
    12-27-2020
    Location
    USA
    MS-Off Ver
    2013
    Posts
    15

    Re: Assistant in Adding to this DATE formula

    see if this worked

  11. #11
    Registered User
    Join Date
    12-27-2020
    Location
    USA
    MS-Off Ver
    2013
    Posts
    15

    Re: Assistant in Adding to this DATE formula

    Okay I have tried to upload the actual book however there is no way for me to upload it,
    I relaly appreciate your thank you.

    Perhaps there is somewhere I could read on adding to the formula I have tried and IF( and AND and if and statements but excel just burps!

    thanks!

    T

  12. #12
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    91,019

    Re: Assistant in Adding to this DATE formula

    Unless your workbook is huge, then yes, if course you can attach it. I pointed you to the instructions at the top of the page, which you need to follow precisely.

  13. #13
    Registered User
    Join Date
    12-27-2020
    Location
    USA
    MS-Off Ver
    2013
    Posts
    15

    Re: Assistant in Adding to this DATE formula

    Thanks again the file is too big to upload, and if I remove any thing the work book won't work.
    your attempt to help though is still greatly appreciated!

  14. #14
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    91,019

    Re: Assistant in Adding to this DATE formula

    Administrative Note:

    We would very much like to help you with your query, however it has been brought to our attention that the same query has been posted on one or more other forums and you have not provided the required cross-post link(s) here.

    Please see Forum Rule #3 about cross-posting and adjust accordingly. Read this to understand why we (and other sites like us) consider this to be important.

    (Note: this requirement is not optional. As you are quite new here, I will do it for you this time only: https://www.mrexcel.com/board/thread...eeded.1192892/)

  15. #15
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,424

    Re: Assistant in Adding to this DATE formula

    If you ZIP the file, or save it with an .xlsb extension, it might be small enough to attach. As it stands, I can't read any of the details in the picture that you posted.

    Pete

  16. #16
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Assistant in Adding to this DATE formula

    Save it as an .xlsb or zip it. The allowances for those file types are (for whatever reason) much greater.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  17. #17
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,424

    Re: Assistant in Adding to this DATE formula

    Snap, Glenn.

    Pete

  18. #18
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Assistant in Adding to this DATE formula

    I was just too slow...

  19. #19
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,424

    Re: Assistant in Adding to this DATE formula

    Only by a few seconds.

    Pete

+ 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. [SOLVED] Assistant required on index & match formula
    By SteveSJ in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 11-12-2020, 05:02 AM
  2. [SOLVED] Assistant with a formula to display 1 of 3 different cells, depending on conditions
    By MelissaRG in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-07-2019, 08:06 AM
  3. [SOLVED] Formula to create a new date by adding to an original date
    By shaunaa in forum Excel Formulas & Functions
    Replies: 19
    Last Post: 01-20-2018, 07:38 PM
  4. Replies: 6
    Last Post: 10-27-2017, 05:59 AM
  5. Formula for adding a date
    By iambenmunro in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-16-2016, 04:36 PM
  6. Adding date range to formula
    By rhudgins in forum Excel General
    Replies: 9
    Last Post: 10-26-2011, 02:55 PM
  7. [SOLVED] adding my old "Einstein" office assistant
    By Joe St-Marc in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 02-08-2005, 03:50 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