+ Reply to Thread
Results 1 to 6 of 6

Need help to add a date range variable to a forumla

  1. #1
    Registered User
    Join Date
    09-06-2009
    Location
    Canada
    MS-Off Ver
    Excel 2003
    Posts
    17

    Need help to add a date range variable to a forumla

    OK so first let me explain what we have here,
    In column AB is where my receipt numbers are, this should be populated with something before being included in the calculation.

    In F2 is where the currency is listed ex. CAD, AUD

    C2 is on the page where the formula resides. It’s my results tab. C2 is the cell that the formula referrers to when checking which currency to sum up
    .
    E is the column where all the dollar values reside

    Now what I’m looking to add to this formula is the following.
    On the results tab, where C2 is I want to be able to input a “from” date and “to” date range. I want everything between equal to or between the date ranges to be calculated along with the rest of the variables. These dates are found in column AC.

    I’ve attached a sample of the document I’m referring to.

    Please Login or Register  to view this content.
    Attached Files Attached Files

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Need help to add a date range variable to a forumla

    Do you mean you want to update your formula to include the date range check?

    Try, in Row 2:

    Please Login or Register  to view this content.
    copied down
    Last edited by NBVC; 10-02-2009 at 02:02 PM. Reason: Fixed formula
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    09-06-2009
    Location
    Canada
    MS-Off Ver
    Excel 2003
    Posts
    17

    Re: Need help to add a date range variable to a forumla

    yes, on the 2nd tab I have the field where I want to be able to enter the date range, the formula should be referring to this date range to return results.

    Hope I'm not confusing the question? So yes I want to integrate this into the existing formula.

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Need help to add a date range variable to a forumla

    The formula I gave you looks at the dates in J3 and K3 and uses those in the calculations and searches. Test it.

  5. #5
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Need help to add a date range variable to a forumla

    Note:

    I realized I had <= in my formula and fixed it to >=

    Please check you have used latest formula...edited in my previous post.

  6. #6
    Registered User
    Join Date
    09-06-2009
    Location
    Canada
    MS-Off Ver
    Excel 2003
    Posts
    17

    Re: Need help to add a date range variable to a forumla

    It works like a dream, thank you so much.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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