Can't Display Most Recent Start Date For Mission Of Particular Type For Agent

Jun 23, 2014

I have an excel spread sheet that is quite large it hold events for a piece of software that we are using what I am trying to do is display the last time was successful and the last time something failed

What I Want Return the MAX Value of the cells in a Column labeled start date for the rows where a Column labeled Agent =X and a Column labeled Mission Type = Y

In plain English with an example In another Cell I want to display the most recent start date for a mission of a particular type for an agent

Using the following table as an example I would like to determine the last time Agent 007 was on a Mission of type a

The Expected result should be 6/23/2008
If the same was asked for agent 99 the result would be 4/20/2008
And again for 66 the results would be 5/2/2008
If we then changed the mission type to b the results would be
007 6/23/2010
66 5/2/2010
99 4/25/2010

Here are the formulas i have tried already the results for these were incorrect and exactly the same 6/23/2012 the formula seems to be ignoring the first value and just calculating the last column to the latest date

[Code]....

View 14 Replies


ADVERTISEMENT

Display Most Recent Non-zero Value

Apr 28, 2010

Column Q is a vlookup which looks up dates contained in column P within a range called "Query_From_Price_Database" and returns data from column 3 as indicated below:

=VLOOKUP($P4,Query_from_Price_Database,3)

What I'd like to achieve for each time a value is returned as being "0", is for the cell to display the most recent data.

E.g.The vlookup results might be:

27/04/10 15.29
26/04/10 15.55
25/04/10 14.98
24/04/10 0
23/04/10 15.13
22/04/10 0
21/04/10 0
20/04/10 0
19/04/10 15.24

I want it to be displayed thus:

27/04/10 15.29
26/04/10 15.55
25/04/10 14.98
24/04/10 15.13
23/04/10 15.13
22/04/10 15.24
21/04/10 15.24
20/04/10 15.24
19/04/10 15.24

Where there would be zeros, data is displayed from the most recent date actually containing non-zero data. Is this possible with a "not too complicated" formula?

I've tried a few methods, but they only seem to result in "formula too long" errors.

View 2 Replies View Related

Copy Lines Depending On Agent Selected And Date Range

Feb 3, 2010

I am having issues with this Macro since I have to run it on computers only supporting Excel 2003 and computers with Excel 2007. The Macro in use is as follows:
--------------------------------------------------------------------------------------------------------------------------------

View 9 Replies View Related

Formula To Copy Lines Depending On Date Range And Agent Selected

Jan 30, 2010

What I would like to do with the information that I have put together on a different workbook is to reference an Agent (column A), and a time range (Date is in column D) and then copy the row from A to I for each occurrence during that range of dates so we can see how many and what errors have occurred during any range of dates selected. (I will have different people inputting errors at different times so the dates will not be sorted unless they have to be). I want to be able to select different agents/date ranges to be able to get a glance of how that particular agent did during this time frame.

Here is an example of the work sheet where the data is originaly.

[Removed]

Here is an example (in a different workbook) of what the sheet should look like if I was searching errors for Albert Ozier between 1/25/2010 and 1/28/2010.

[Removed]

View 9 Replies View Related

VBA Functions: Type # For Date (Type:=?)

Oct 22, 2008

1. Is there a VBA Function equivalent to the FIND() function, If so What is it?
2. Let's say Im Putting a Date into a inputbox, what is the type # for date (Type:=?)??

View 2 Replies View Related

Get Date Of Most Recent Activity

Apr 11, 2014

I have one spreadsheet with a list of materials by material number. I have another with all sales activity. How can I pull into the first spreadsheet the date of the latest activity from the second spreadsheet?

View 2 Replies View Related

Formula For Most Recent Date

Dec 23, 2009

I have a workbook to keep track of names and dates of a specific action. There are 10-15 names that recur on the list. The most recent action is added to the bottom of the list. The names are in column I and the date of the action is in column J.

The problem is having to scroll through the list to find the most recent action for each person. Ideally i'd like to have a list of the names in column N and then in column O the most recent date in the list for each name.

View 2 Replies View Related

Return Value :: Most Recent Date Using MAX

Apr 10, 2007

Looking at a series of rows that contain dates (in one column).

Return the value of the cell in the column next to the most recent date.

I can get the most recent date using MAX, but how do I tell Excel to return the value of the cell next to it?

View 9 Replies View Related

Extract Row By Most Recent Date

Aug 7, 2007

I have data resembling the following

Col A
Sun
Sun
Sun
Sun

Col B
12/08/2007
13/08/2007
14/08/2007
15/08/2007

Col C
A
B
C
D

Is there a formula where I can extract the entire row for the most recent date, in this case Row 4 containing Sun,15/08/2007,D would be returned.

View 9 Replies View Related

Lookup For Most Recent Date

Aug 20, 2008

I want to lookup an ID which there may be three of, but I would want the most recent date out of the three ID. I can get this to work by putting the column in ascending order but this is not very practical.

Is there any way I can do a lookup and add a date parameter to lookup the most recent?

View 9 Replies View Related

Formula To Lookup Most Recent Date?

Jul 23, 2014

I have a list of numbers column A and a list of dates in column b, i need a formula which looks up the most recent for each of the numbers. can this be done?

View 3 Replies View Related

Delete All Rows Except Most Recent Date

Jan 26, 2009

Have a sheet with 24K rows. Column A is client name. Column B are check dates. The info is sorted by client then check date. Clients can have one to many check dates, so I client is listed as many times as there are check dates. If ten checks, then ten rows for that client. One check then one row for that client.

I only want to keep the last/most recent check date for each client, deleting all other rows for that client with check dates before the most recent. I believe I need to step through the file comparing column A, row by row, to see if I have a match for the next row in A. If no match I keep that row, because there is only one check, and move down one. If a match, then I delete the current row.

How to code this is my problem. Is it a loop?

View 6 Replies View Related

Highlight Only Most Recent Change By Date?

Nov 3, 2011

I'm trying to put a report together that shows the most recent salary increase for each employee. Below is a snap shot of what my pivot looks like - How can I format the report to only show the most current change - Which in this case would be the 2 highlighted rows....

View 1 Replies View Related

Most Recent Date From Multiple Columns

Oct 27, 2006

I've searched the site, but have not found anything that matches what I want to do. I have a statistical spreadsheet that tracks machine accuracy by date. The spreadsheet has multiple columns per worksheet. The info is entered and sorted by date with oldest date first. I want to set up a seperate worksheet to find the most recent date from several different columns and populate it in a seperate cell. From there I'll do some calculations to identify how long it has been since a particular machine has been accuracy verified. Is there a formula to do this or does it have to be done through a macro?

View 3 Replies View Related

Compute The FuTure Date When Start Date,Lead Date,Weekly Offs,Leaves And Holidays

Nov 15, 2008

First and foremost I would like to congragulate you on this wondeful piece of code in the below link...

The query was to get a future date excluding Fridays and Holidays...

http://www.excelforum.com/excel-work...rkingdays.html

I have a similar query and therefore I pasted this link...

I actually wanted to get a future date using a Dynamic two day off as my the offs keep on changing as well as incorporate Holidays and Leaves if any..

Now Holidays would be official Public Holidays and
Leaves would be taken by the employee..

The code needs to pick the Leaves + Holidays and different offs maybe even more than 2 offs...

View 7 Replies View Related

Is It Possible To Display Character Length As I Type

Jun 20, 2009

I am sure this isn't just a setting that can be enable in excel. I was wondering if there is a code that will allow the display of the number of characters in a cell when typing in it.

I know there is a len() function but I don't know how to use it so it displays my char length on the go.

View 11 Replies View Related

How To Auto-Populate Date Range (working Days Only) From Start Date And End Date

May 25, 2014

I am now trying to create a excel macro to auto populate all the dates with reference to a start date and end date. The catch is that only working days are required in the range. My reference cells (start and end date) are in Sheet 1 while the destination cell range are in Sheet 2. The reason for creating a macro instead of a function is that the intervals between the start date and end date changes frequently (annual, semi-annual and quarterly) Best case scenario would be a button which I can just press after i input the dates to generate the range of dates in another sheet.

View 1 Replies View Related

Formula That Returns Most Recent Date For Particular Year

Dec 9, 2013

The data in my spreadsheet will have a column of dates that will change depending on info input in another cell.

What I need is a formula that will give me the most recent date for lets say 2012

04/01/13
03/01/13
02/01/13
01/01/13
12/27/12
12/25/12
12/12/12
12/02/12

if use the max function I get the 4/1/13 result, what I need is a formula that will return the 12/7/12 number.

View 5 Replies View Related

Count Data Using Most Recent Date And Aging

Jan 29, 2014

I've been trying to create a pv table that will count all the trades based on products, but they are duplicate in my set of data that I am trying to eliminate, I just want to select the trades with most recent date and if there are duplicates entries with the same date, then to select the aging column..

Column A are my trade IDs (duplicates trades), column G my dates and column O my aging days (goes up to >5). What I'd like to do is to count the trade using the most recent date and if the date is the same use the aging column. is this even possible to do using formulas?

View 1 Replies View Related

MAX Function To Populate The Most Recent Date In A Series

Mar 11, 2009

I have used the MAX function to populate the most recent date in a series.
-EX. the most recent date input into the cells S8, T8, U8 will populate in cell R8. There is a default value of 0-Jan-00 that automatically populates in cell R8 as a result of the MAX Function. Any value that is input into cell S8, T8, U8 will show in cell R8 immediately after being input as a result of the MAX Function.

I need cell R8 to remail blank until the last of cells S8 or T8 or U8 has been input (in no specific order). Once the last cell has been filled; it is only at that time I need cell R8 to show that most recent date input into any of cells S8 or T8 or U8. I can't hide the column, I need cell R8 to remain empty until the last of the three cells- S8, T8, U8 has been filled (the last cell filled will not always contain the largest value or most recent date).

View 5 Replies View Related

List Most Recent File Creation Date

Nov 20, 2009

I put together some code which at the end of it I am wanting to show in cell D1 the creation date for the most recently created file found.

View 5 Replies View Related

VBA - Find Most Recent Date In Column With Condition

Jun 6, 2012

I want to find the most recent date in column D, when the variables in column E are all the same. There are many different variables in column E, and for each group of the same variables (eg. all cells containing "A"), I want to find which is most recently dated (dates are in column D). This is my code so far...

Sub adddiv()
Dim ticker As Variant
Dim freq As Long
Dim csheet As Worksheet
Set csheet = Worksheets("Sheet2")

[Code] ....

View 3 Replies View Related

Sort Alphanumeric Date From Recent To Oldest?

Aug 19, 2012

How do we sort an alpha numeric date from recent to oldest.

from this:-
HGH010112
HGH231211
HGH020212

to this:-
HGH231211
HGH010112
HGH020212

View 2 Replies View Related

Sum Year To Date Based On Most Recent Input

Oct 7, 2006

My spreadsheet uses alternating columns for actual and budget inputs
I would like to preload the budget for the whole year
But the ytd formula should only show results to match the input of actuals

In otherwords, If I input actuals for period 1, the YTD formulas for actuals and budget should return YTD period 1 only and ignore the remainder of the budget inputs

After period 2 actual inputs, the formulas shlould update to reflect period 2 YTD and so on and so forth

How can I accomplich this?
Sample of layout attached
Totals at Cols AK-AM

View 3 Replies View Related

Want To Display Start Of Month On X Axis?

Jun 1, 2014

I'm trying to prepare a Gantt chart and I'm unable to display the start of month date in the x axis. Currently I'm able to display each month by giving an interval of 31 days, but I'm not sure how to display the start of month in the chart. Tried to add a secondary horizontal axis,but the secondary axis is not intersecting with the y axis and the grid is not getting aligned properly.

View 1 Replies View Related

Display Alert On Excel Start

Sep 12, 2008

I have created a program to display an Alert based on a Date. I have this program enlcosed in the Workbook Open event. I need to popout this alert everyday, everytime EXCEL starts on a computer.

I had something in my mind though - I thought of plonking this program into the Workbook Open event of the Personal.xls workbook for a computer and thereby I could have achieved my requirement of popping out this alert everytime when Excel starts. However, there is one problem here. Every 3 to 5 days the dates in the workbook are going to change and I do not want the user to tamper with Personal.xls on his / her computer.

So I gave it a second thought. I created a shortcut of this workbook and placed it in the XLSTART folder for a computer and now the problem is - it opens the workbook itself rather than popping out the alert whenever Excel starts on the computer. So this would not work too.

Is there any other way I can make the alert pop out everytime I start Excel on a computer ?

View 9 Replies View Related

How To Type In 2 Decimal Places In 1/4 Hour Display

Mar 20, 2008

I have to change a time sheet that was previously in HH:mm to display in decimals, but to the nearest 1/4 hour ( 0.25 (=15 mins), 0.50 (= 30 mins), 0.75 (=45 mins), and 1.00 (1 hour))

This is not a formula question, but a format/display question as the cells have to be typed in by different people who up until now have beeb used to typing in the HH:mm format.

This means;
8:15hrs would become 8.25
8:30hrs would become 8.5
8:45hrs would become 8.75

The reason behind the change is a head office wallah that needs to have time in decimals and not true minutes.

Is there a way to;
prevent user from entering any decimal other than .00; .25;.50;.75
or change formatting to turn red if any other than above is entered.

Alternatively, is there a way of me (the collator for 50 people) being able to take data from their sheets (which I have to do monthly) which could be a formula...

I have tried to get head office to change, but they say that they collate data for 13 other sites and all the others are OK (thats cos all the others receive their data on PAPER and one person tabluates them)...

View 9 Replies View Related

Calculate Next Due Date Based On Start Date Frequency And Current Date?

Mar 9, 2014

I'm trying to workout how to take a known initial date a repeating frequency and work out the next due date from today.

Example

Initial Date :- 1st of January 2014

Frequency :- every 5 weeks

Current Date :- 9th of March 2014

Next Due date should be :-12th of March 2014 (if I worked it out correctly from my paper calendar)

I want to use a cell formula to do this for different initial dates and varying frequency periods (the frequency will always be whole weeks i.e. 1,2,3,4,5,6,7,8,8,10)

View 4 Replies View Related

Nested If Statement: Display The Other Word At The Start?

May 13, 2009

I have a large range of data and on each row the cells contain either 0, 1, No or another word. I would like to display the other word at the start but im really stuck on how to do it. This other word can change on each row but each specific row will only have one word. I can post a sample spreadsheet if necessary.

View 5 Replies View Related

Display The Macro Start/stop Recording

Oct 13, 2008

How can I make XL (2000) display the macro start/stop recording and relative/absolute box that used to appear whenever I started recording a macro?

Such an apparently simple issue, but I can't resolve it!

Somehow I lost this small box, and I know how to force it to display via customize, but it doesn’t seem to work the same (relative does not work as such) and the buttons or box disappear.

View 2 Replies View Related







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