+ Reply to Thread
Results 1 to 5 of 5

Inserting daily quote based today date

  1. #1
    Registered User
    Join Date
    07-09-2013
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    2

    Cool Inserting daily quote based today date

    Hi,
    I am stuck and would really appreciate if some one could help with creating a formula that recognises the date when it has been inserted into a cell using the today function.

    I have a spread sheet that I want to have daily quotes updating automatically based on the today date. For example if A1 has the date using TODAY() and the date is 9/7/13 then the formula in b1 says if a1 is 9/7/13 then = c1, if a1 = 10/7/13 then = c2 and so on. Quotes could then be entered into the cells from C1 to C365.

    Many thanks

  2. #2
    Registered User
    Join Date
    03-18-2013
    Location
    Tasmania, Australia
    MS-Off Ver
    Excel 2007
    Posts
    95

    Re: Inserting daily quote based today date

    your best bet would be to have a list of dates along A1 to C365

    Then formula would be for each cell (using C1 as example) =IF(A1=B1,C1,)

    Problem is each day the result will disappear from one cell and move to the next... you would have to devise a way to hardcode the values in once updated which isn't hard.

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,917

    Re: Inserting daily quote based today date

    If you want the info to stay, so that for instance you can still see yesterday's info, today, as well as today's info, today, thats not going to work with a regular formula.

    If, on the other hand, you just want info to be displayed (and changed daily), based on todays's date, build a table with a list of consecutive dates, and next to each date, the relevant info. Then use =vlookup() to return the info based on today's date

    =vlookup(today(),D1:E31,2,0) assuming the table is in D1:E31
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Registered User
    Join Date
    07-09-2013
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Inserting daily quote based today date

    Thank you, this worked, I really appreciate your help

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,917

    Re: Inserting daily quote based today date

    Happy to help and thanks for the feedback

+ 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