+ Reply to Thread
Results 1 to 7 of 7

calculate expiry date automatic according to product name

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    11-28-2013
    Location
    Ljubljana
    MS-Off Ver
    Office 365
    Posts
    1,054

    calculate expiry date automatic according to product name

    Dear Sir
    i want to add specific number to date with refer to product name
    example in worksheet name ( sheet1 there is column B which contain product name and in the same worksheet there is coulmn J which contain
    manufacturing date then i would like to calculate expir date automatic
    by adding shelf life time for each product which i put this data in worksheet name ( Refer) in column
    N ( product name ) and O ( shelf life time)
    how can make this
    thanks for all

  2. #2
    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
    53,050

    Re: calculate expiry date automatic according to product name

    If you intended to upload a sample workbook, I think you forgot to add it. If you did not intend that, I suggest you do

    Sounds like you just need to use VLOOKUP() to ID the product and shelf life, then simply add that to the date?
    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

  3. #3
    Forum Contributor
    Join Date
    11-28-2013
    Location
    Ljubljana
    MS-Off Ver
    Office 365
    Posts
    1,054

    Re: calculate expiry date automatic according to product name

    here attached file
    Attached Files Attached Files

  4. #4
    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
    53,050

    Re: calculate expiry date automatic according to product name

    I *think* this is what you need...
    =DATE(YEAR(I2)+VLOOKUP($A2,Refer!$N$2:$O$14,2,0),MONTH(I2),DAY(I2))

    If not, please explain what your answer should be, and how you get that

  5. #5
    Forum Contributor
    Join Date
    11-28-2013
    Location
    Ljubljana
    MS-Off Ver
    Office 365
    Posts
    1,054

    Re: calculate expiry date automatic according to product name

    Dear FDibbins

    thanks for your help
    its work good now

  6. #6
    Forum Contributor
    Join Date
    11-28-2013
    Location
    Ljubljana
    MS-Off Ver
    Office 365
    Posts
    1,054

    Re: calculate expiry date automatic according to product name

    i would like to know how can automatic create new excel file when some data enter in specific cell
    for example
    when i enter some data in cell L2 they will automatic create file with name (this name consist from cell B2 and G2 (product name and batch No.)
    regards

  7. #7
    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
    53,050

    Re: calculate expiry date automatic according to product name

    you'r welcome. If this answered your question, please take a moment to mark the thread as "solved" - it helps keep things neat and tidy lol, and consider adding the reputation to those that helped (see points 2 & 3 below my 1st post to you)

+ 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. Automatic Expiry Date Calculation
    By rizva9 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-22-2015, 02:33 AM
  2. autocalculate expiry date / expiry date colour warnings
    By kimbling1 in forum Excel General
    Replies: 8
    Last Post: 08-27-2014, 02:53 AM
  3. Replies: 1
    Last Post: 04-23-2014, 03:36 AM
  4. Replies: 6
    Last Post: 11-30-2013, 12:15 AM
  5. To find formula to calculate unused product expiry
    By decorkewl in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-29-2013, 12:07 AM
  6. Replies: 5
    Last Post: 06-04-2012, 04:56 AM
  7. insert date, automatic calculate
    By Seroleh in forum Excel General
    Replies: 3
    Last Post: 06-02-2009, 11:17 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