+ Reply to Thread
Results 1 to 7 of 7

EDate formula

  1. #1
    Registered User
    Join Date
    04-27-2016
    Location
    Chicago, IL
    MS-Off Ver
    Office 2013
    Posts
    3

    EDate formula

    I am working with the EDATE formula that I found here on the forum and it has been very helpful in calculating the Monthly, Quarterly and Annual dates needed in a spreadsheet that I am working on.

    =IF(J32="Annually",EDATE(H32,12),IF(J32="Quarterly",EDATE(H32,3),IF(J32="Monthly",EDATE(H32,1),"")))

    Note: I know to change each number to correspond to the row the formula falls in. I just don't know how or where to add "Weekly" to the formula.

    However, I have run into some invoices that are now weekly. What would be the formula to add in a weekly calculation? I am also having a problem updating the dropdown so that I can add Weekly. Right now it only has the options to select monthly, quarterly or Annually. I know I created the list in a separate spread sheet and Defined the Name/ List but it will not let me go back and edit the list or add "Weekly" to it. Need help.

    Thanks,
    Michelle

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: EDate formula

    For weekly, maybe this...

    =IF(J32="Weekly",H32+7...

    For your drop down list...

    Goto the Name manager and see how List is defined.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Valued Forum Contributor loginjmor's Avatar
    Join Date
    01-31-2013
    Location
    Cedar Rapids, Iowa
    MS-Off Ver
    Excel 2013
    Posts
    1,073

    Re: EDate formula

    Hi -

    EDATE doesn't have a weekly option, just number of months after the start date, so Annual is 12 months, quarterly is 3 months, and monthly is 1 month as you have in your formula. To add 1 week to the date stored in H32, simply add an option for "Weekly" and add 7 to H32. I have modified your formula as follows:


    =IF(J32="Annually",EDATE(H32,12),IF(J32="Quarterly",EDATE(H32,3),IF(J32="Monthly",EDATE(H32,1),IF(J32="Weekly",H32+7,""))))

    As to why your dropdown list won't update, check the cell references. Otherwise, you will need to post part of your spreadsheet (omitting sensitive data) to the forum so we can look at it.

    Hope this helps.
    ____________________________________________
    If this has solved your problem, please edit the thread title to add the word [SOLVED] at the beginning. You can do this by
    -Go to the top of the first post
    -Select Thread Tools
    -Select Mark thread as Solved

    If I have been particularly helpful, please "bump" my reputation by pressing the small star in the lower left corner of my post.

  4. #4
    Registered User
    Join Date
    04-27-2016
    Location
    Chicago, IL
    MS-Off Ver
    Office 2013
    Posts
    3

    Re: EDate formula

    Thank you all for your help. I did finally get the drop down figured out and the formula you gave for "Weekly" did work!! Your the best, going to love being part of this forum for helpful tips.

    Michelle

  5. #5
    Valued Forum Contributor loginjmor's Avatar
    Join Date
    01-31-2013
    Location
    Cedar Rapids, Iowa
    MS-Off Ver
    Excel 2013
    Posts
    1,073

    Re: EDate formula

    Great! If you're satisfied with the result, please edit the thread title to add the word SOLVED per the instructions below. Glad we could help! Welcome to the forum!

  6. #6
    Registered User
    Join Date
    04-27-2016
    Location
    Chicago, IL
    MS-Off Ver
    Office 2013
    Posts
    3

    Re: SOLVED EDate formula

    EDate and drop-down menu problems solved, thank you loginjmor and Tony Valko!

  7. #7
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: SOLVED EDate formula

    You're welcome. We appreciate the feedback!

+ 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. Creating a changeable value in EDATE formula
    By simmo86 in forum Excel General
    Replies: 11
    Last Post: 06-03-2015, 04:36 PM
  2. [SOLVED] EDate Formula Issue?
    By ptmuldoon in forum Excel General
    Replies: 2
    Last Post: 01-23-2015, 12:05 PM
  3. Replies: 5
    Last Post: 09-24-2013, 02:40 PM
  4. EDATE formula works on one computer, not on another
    By lsutiger in forum Excel General
    Replies: 2
    Last Post: 08-12-2010, 08:32 PM
  5. Edate Formula
    By ROSE2102 in forum Excel General
    Replies: 2
    Last Post: 01-20-2006, 02:50 PM
  6. [SOLVED] EDATE
    By Droodhall in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 02:05 PM
  7. EDATE
    By David Billigmeier in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 09-06-2005, 05:05 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