Excel help


  1. Posts : 9
    Windows 7 Home Premium
       #1

    Excel help


    I need some help with excel
    I run a library with the help of an excel sheet.
    I put the date of return in the spreadsheet.
    I have the types of item in a spreadsheet, drop down box.
    Book= 21 school days
    Dvd= 3 school days
    CD= 7 Days

    Is it possible that I can run a formula that says when xxx is selected in the drop down the appropriate return date is selected. I want this to include weekends where the school is closed.


    Thanks

    Harry Cross
    Excel help Attached Files
      My Computer


  2. Posts : 934
    Windows 8.1 ; Windows 7 x86 (Dec2008-Jan2013)
       #2

    The current document is not going to work and here is why:
    You return date formula is based on the function "Today".

    Let's say a student takes a book today for 21 days, when you open this file tomorrow, the return day would be recalculated for 21 days from tomorrow, so those days would be always shifting in time - always 21 days ahead, no matter when you open the documents.

    So here is what I propose:
    Make one more column: Date Taken (Start date) to write the date when an item was taken.
    Reduce Return Date column to one and use several enclosed IF functions, which would depend on item selected in drop down menu.

    Because school is closed on weekends, a student is not able to return an item, so we would use "business days" instead calendar days. Forumula =WORKDAY(StartDate,Days,Holidays) works like a charm here if we use only first part =WORKDAY(StartDate,Days).

    If you want to use calendar days you can simply use StartDate+N, where N is number of days for book, dvd, cd correspondingly.

    Check out attachment - I have implemented all of that in there
    (with business days, not calendar days).
    Excel help Attached Files
      My Computer


  3. Posts : 934
    Windows 8.1 ; Windows 7 x86 (Dec2008-Jan2013)
       #3

    HAWC145 thank you for positive reputation. I guess this as well as your comment means that we can close this issue and marked it as solved? Please let us know.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 19:03.
Find Us