Predictive Model - Find First Expiration Date

Sep 14, 2012

I am charged with building a predictive model that can find items in a hospital inventory that will expire before they are used. The idea is simple: if I use an item every week, this item has an expiration date of 50 weeks from now, and I have 60 on the shelf, then I will likely expire 10 of the items.

The complexity is that there are multiple expiration dates. So, I want be able to look down a list of 3000 items, find the multiple entries of expiration dates, and isolate them based on criteria (select, for example, the first chronologically expiration date).

View 1 Replies


ADVERTISEMENT

Set Expiration Date

Dec 26, 2006

I have an excel program that I want to set an expiration date on it, such as 30 days from the first time it's opened. After 30 days, activeworkbook.close

View 13 Replies View Related

Expiration Date ..

Oct 18, 2007

I have looked through your forums the last few hours. I have found similar code to what I'm looking for... but not quite.

I have a date in B2 (10-May-07)
I have an expiration date in C2 (10-May-08)
I want D3 to show months to expiration first (in this case 7)
Then I want it to highlight in yellow 90 days out
Then I want it to highlight in orange 60 days out
Then I want it to highlight in red 30 days out

I use Excel 2007, however I want the code to work with 2003.

View 9 Replies View Related

Spreadsheet With Expiration Date In Cell?

Jan 1, 2013

I wonder if there is a possibility of the expiration date is in a cell, and that the file is not self-exclude, either block until just change the date in the cell.

Code:
Private Sub Workbook_Open()'If Date

View 4 Replies View Related

Using VBA - How To Check Expiration Date Of Digital Certificate

May 29, 2012

I have a macro which has a digital certificate. When the macro runs i want to somehow readin the expiration date of the certificate and make sure its still valid before running the macro.

View 6 Replies View Related

Using VBA In Patch Model To Change VBA In User Model

Jan 11, 2007

I have some Excel models out in the field with some old VBA code that is now causing problems. I regularly develop 'patch' models to make updates or repairs to user models, but need the VBA code syntax to get into a Worksheet module and change one line of VBA code.

The worksheet is named 'Forecast' and I need to change line 5 of my VBA code.

The vast majority of my users are on Excel 2000. I remember the security issues with newer Excel versions and can walk then through that, but I forgot the code syntax I need to get the job done.

View 9 Replies View Related

How To Extract Credit Card Expiration Date From A Cell

Nov 20, 2013

I need to extract the credit card expiration date from a cell. For example

1111 1111 1111 1111 1/17 code 1111

I was able to get the /17 using =MID(C77,FIND("/",C77),4)

However, I can't get the "1" before the /.

View 5 Replies View Related

Making Cells Change Color Based On Qualifications Expiration Date

Dec 25, 2012

I have created a qualification tracking spreadsheet to track when qualifications are coming due. Each cell may have a different date based on when that employee initially got that qualification. I want the cell that the initial qualification date is typed in to turn "red" after 180days, "orange" after 120 days and "yellow" after 90 days. I have a formula that does close to what I need, but it changes the cell next to it in color.

That code is as follows: =AND(A1<>"",Today()>=A1+90,B1="")

I have attached the sheet, what I am trying to do. Basically columns B-E and rows 2-35 are the ones that need the formatting.

Streiffs_Weapons_Warfare_Qual Tracker.xls

View 5 Replies View Related

Predictive Text In Dropdown For CSV?

Jun 27, 2013

I am trying to get predictive text to work for a dropdown box that I will then be able save as a csv.

In the excel file I have three columns with the first, at the moment, being a drop down box that I need to scroll through to select the option I need and the next two columns being information that I need to manually fill in. The dropdown is becoming increasingly big so if I was able to start typing the start of the information in column A .

I have tried making a combo box and although it gave the predictive text element it didn't export the text in column A in the csv. I have never used combo boxes before, so there is a very good chance that I am using it incorrectly, but it just seems to be plonked on and not actually within cell A1.

I need the predictive text drop down boxes to be in every one of the boxes in column A, or at very least the first 50 of them.

View 1 Replies View Related

Predictive Text In List Dropdown?

Oct 31, 2011

I have a list of locations, I then clicked another cell went to Data tab and selected Data Validation, and then clicked under "Allow" the List option and for source I put the range of my locations.

So I now have a list dropdown of locations.

What I need to do is add predicitive text to this, so when the user selects L, it for example shows london. This works when u use the filter option, but I need it to work using List Dropdown, is this possible, >? maybe via VBA code.

View 6 Replies View Related

Tracking Of Credits (Hours) With Expiration

Mar 31, 2014

I work in a HR department and I'm trying to create a spreadsheet to track the amount of extra-duty hours each worker has. For every extra hour they work today, they can use this hour next time.

Screen Shot 2014-03-31 at 9.25.22 pm.png

This is my current spreadsheetCredit hours means hours added to their 'account'.Debit means hours taken out.Hours will expire in X days if not utilised.Right now, each worker has their own spreadsheet in the same workbook.I have about 25 workers.Is this the best way to manage this?How can I create a 'bank account' system to track their hours?

hourstracking.xlsx

View 1 Replies View Related

Automatic Highlighting And Expiration Of Cells?

Jun 12, 2014

I have a large document control register and it is updated daily and posted to a cloud for many people to access. It is very time consuming to constantly jump in and out and highlight and unhighlight as many things as there are and keeping track of which items that need to be unhighlighted. The thing I'm trying to figure out is if there is a formula for this...If i change any cell in a row I want the row to highlight itself entirely, but after 24 hours I want the highlight to expire. Is there a formula or function I can use to make this happen?

View 4 Replies View Related

VBA Code For Multiple Expiration Dates

Jun 11, 2014

I have a vba code for an excel spreadsheet that lets me know when a particular persons' certification is about to expire (within 31 days). However what I cannot figure out is how to make this work with more than one expiration date ( additional columns containing other certification dates). I keep getting errors when trying to add additional columns to check ( I do admit that my VBA coding is atrocious at best).

Ultimately what I would like to achieve is a list of names with expiration dates alongside popping up when opening, but maybe I am asking too much?

View 9 Replies View Related

Conditional Formatting - Expiration Dates

Mar 23, 2007

I need to set up a conditional formatting formula to show when a certificate of approval is within 90 days of expiring and when it actually has expired.

The conditional formatting is in column A and the expiration date is in column I.

View 9 Replies View Related

Generating Monthly Report From Expiration Dates

Jun 3, 2013

I am new at excel and have very limited experience. I have a employee training database, with employees (in column A2:A54) and the certification names (in row A1:AS1) that I must generate a monthly report on employees that are expiring within the current month. The cells are already conditionally formatted to change colors for one month prior to expiration date, current month of expiration date, and past the expiration date.

I am manually gathering the data then adding it to another sheet. In the mist of trying to gather data, I am missing and/or overlooking information. I wanted to know if there is a way to automatically generate a report based on the expiration dates that would pull the employees name and which certification is expiring or expired, preferable both. I have tried reading threads and applying advanced filters but due to the number of certifications it is not functional to do it this way.

I have attached a sample of the spreadsheet : ETD.xlsx‎

View 3 Replies View Related

Excel 2010 :: Conditional Formatting On Expiration Dates?

Jun 21, 2011

I have a spreadsheet where we track our contractor's Worker's Comp and General Liability insurance certificate expiration dates. I want the expiration date to highlight in red if it is expired and to highlight in orange if it will expire within 30 days or less.

I have attached a testing sheet similar to what I'm working on. The F column has the dates that need to highlight. I have MS Excel 2010.

View 6 Replies View Related

Excel 2011 :: Conditional Formatting For Training Expiration Dates

Mar 28, 2014

I manage a number if individuals in the Army and as such, track their annual training requirements. Some requirements are semi-annual, annual, quadrennial, etc...

I have a spreadsheet to track the dates that the requirement was last completed (attached). I would like to use conditional formatting to turn dates that are within 30 days of being due (or blank) RED and dates that are between 31 days and 60 days of being due YELLOW.

I am using Excel MAC 2011.

View 3 Replies View Related

Excel 2010 :: Conditional Formatting Based On Expiration Dates?

Feb 3, 2014

I am trying to use conditional formatting to calculate when the date in the top column gets within 60 days from expiring to turn yellow, 30 days from expiring to turn orange and when it expires to turn red. The dates that are listed from row 5 down are when the classes were taken. the expiration date will be based on row 3. Some are annual,3 years and 5 years, etc. I am using Excel 2010....

View 10 Replies View Related

Model For Payment Schedule

Aug 20, 2013

I'm currently developing a model for a payment schedule. For example, lets say a customer purchases an item from a store, but the store receives that payment in the following month. I'm looking to develop a dynamic model so that if I change the assumption from 1 month to another term (2,3,4+ months etc.) the model will adjust accordingly.

I've started with a formula

=IF(MONTH(H3)-MONTH(G3)=B14,G11*B13)

But of course this will not work once the term is set to larger than 1 month. With B14 representing 1 month, and G11*B13 being payment information (price * quantity).

View 2 Replies View Related

Change Model To Category?

Apr 13, 2014

1. In column A, I have models, in column B, I want to place either a "printer" if the model begins with Phaser or Laser, and if it begins with WorkCentre make it MFD. Also, if the Phaser has MFP on the end, make this an "MFD" and If Color 560 or Docucolor, make this "Out of Scope". How do I read the first part of the string in column A to do this, or do I need to make a second column with this Phaser and WorkCentre broken out?

I have this code attached, but only works if I have the word Phaser or WorkCentre.

View 8 Replies View Related

Spreadsheet Model & Buttons

Dec 20, 2006

I want to create a button on this spreadsheet - the button will be called z4 in the "Yr 9 ICT" sheet

it will include the following

rows Jane Bloggs 2
rows Jane Bloggs 12
rows Jane Bloggs 22
rows Jane Bloggs 32
rows Jane Bloggs 33
rows Jane Bloggs 42
rows Jane Bloggs 44
rows Jane Bloggs 66

What do I have to do to create this.

View 10 Replies View Related

Time Model Graph

Jul 1, 2007

I have a sheet with a table of peoples hours they are doing during the week each day. I want the hours to be put into a model shading the appropriate times to show when people will be in. I have attached a sample sheet of what i want it to do which i have had to do my self. Sheet 1 has table in and sheet 2 has the model i want to be automatically filled in once ihave entered all my data in the original table.

View 11 Replies View Related

Simulation Model For Inventory

Nov 15, 2006

I am having a very difficult time determining how to get started with this problem in VBA. I am not sure how to generate the failures, or start the array. I have been racking my brain for quite some time. Company B makes a product that has two component parts. The results of reliability testing for each component shows that the components fail according to an exponential distribution with the following mean time between failure (mtbf).

ComponentMTBF(months)
115
224

Below are Company B's sales records for the past 36 months.

MonthSalesMonthSalesMonthSales...............................

View 5 Replies View Related

Formula For A Deferred Revenue Model?

Dec 27, 2013

I have a deferred revenue model. Revenue from each month earns out at an equal rate over twelve months. Sales for each month are in column B (B21) and C. I created formulas for the first year but when I get to the second year, I'm not sure what to do, because the earned premium will include values from previous year sales and current year sales.

View 4 Replies View Related

Solver With Code-Generated Model

Dec 14, 2009

Suppose that you have some data points and you want to fit a straight line to them. You write the line's equation in the cells ajacent to your data points, make the square of each difference, sum up all the squares and you have your objective function. Of course your line equation depends on two parameters, that you enter in two cells. Then you run the Excel Solver, enter your objective function as target cell to minimize, enter the range containing your parameters, set your constraints and off you go.
So far so good.

And now suppose that in order to generate your model data it is not enough to write a straight line equation in some cells, but rather to run a complete reactor model (contained in a macro). How do I couple that model-generating macro with the Excel Solver? Now, I actually found a solution. I wrote a Worksheet_change macro in the sheet containing the model parameters, which calls the model-generating code each time the parameters are chenged by the Excel Solver. This has worked fine for a simple example as the straight line one.

Now one of the two:.....

View 4 Replies View Related

Put Together A Cancel Curve On An Annual Membership Model

Nov 15, 2009

What would be the best way to put together a cancel curve on an annual membership model?

View 5 Replies View Related

Collect Model Outputs Into Summary Table?

Feb 12, 2013

I have a question around making a summary table from a model. I will try to explain this as plainly as possible.

I have a model where you can toggle 3 different inputs across two variables. The final output number of the model will vary accordingly.

I would like to create a 3X3 table with the final output for each combination of variables. Is there a way of doing this using formulas or would I need a macro?

View 2 Replies View Related

Analysis Of Adding Extra Row To A Model With Lot Of Macros

Apr 27, 2014

I have recently started working on a model built by some one else and I need to add a extra row to model. The Model has lot of macros on every page. So i need to know how adding an extra row is going to affect the macros.

I understand the main problem would be that the references in the macro wont get updated which might lead the macro to malfunction.

Whats the best way to analyze which macros are getting effected.

View 1 Replies View Related

Multiple Data Sheets In One Macro Model

Feb 28, 2007

I have: + three raw data sheets (needed as 3 lots of data with 25K records in each). + I also have a model that I want to take each record from each sheet, populates some cells in a seperate calculation sheet and then gets a result - which it adds to a total (array).Finally I have + a clever macro that shows me what % of the way through I am (i.e. displays the number of record processed out of the 75K (3*25K) total)

While I have got the model to work - there is some untidy code used where I start my clever % macro for x = 1 to 75K then repeat the same instructions for running the model for each section i.e. sheet 1 : 1 to 25000, then the same instructions for sheet 2, 1 to 25000 etc etc. and then end it I want to know if there is any clever coding that will let me go from one sheet to another when there is an empty cell struck on the active sheet?

View 2 Replies View Related

Sensitivity Table For Given Return In Derivatives Model

Oct 15, 2007

I've inherited the following code, which uses solver to create a sensitivity table for a given return in a derivatives model:

Private Sub CommandButton1_Click()
'Yield Analysis
'Application. ScreenUpdating = False
x = Range("Correlation")
v = Range("SwapCur")
w = Range("DebtLTV")
Range("ValYLD").Value = 0.005
For i = 1 To 5
For j = 1 To 7
Range("ValYLD").Value = 0.005
Range("DebtLTV") = 0
a = Range("IRRung")
b = Sheets("Cashflow").Cells(35 + j, 4)
c = Range("SwapFX")
d = Sheets("Cashflow").Cells(35, 4 + i).................

It seems that the code does not cope well when negative numbers are used as inputs, as the results it gives are unexpected and incorrect. I have fiddled with various elements but to no avail. All inputs are percentages. i= 1to 5 are always positive, j 1-7 percentages, centred around "SwapFX". It is these inputs, along with "swapcur" which are now negative, and previously have not been.

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved