Find The Oldest Date A Specific Value Occurs
Oct 3, 2008
I am looking for a formula which will find the oldest date for a specific set of search criteria:
A1 A2 A3 A4 A5 A6
05JUL2008 06JUL2008 07JUL2008 08JUL2008 09JUL2008 10JUL2008
B1 B2 B3 B4 B5 B6
Cat Dog Pig Cat Pig Dog
So if possible I would like a formula that searches through and returns
C1 (Search for Pig) = 07JUL2008
C2 (Searcg for Cat) = 05JUL2008
C3 (Search for Dog) = 06JUL2008
View 9 Replies
ADVERTISEMENT
Dec 29, 2009
Is there a way to pull out the oldest date ((04) Apr 25, 1950) and the newest date ((02) Feb 14, 2050)...?
i have tried the Min function (min(P28:P31)) and the Max function (max(P28:P31)) both resulting in a "0"..
i have also searched this forum as well as others and found formulas that were posted by Aladin Akyurek..but those did not work either..
Sheet12
P28(02) Feb 14, 205029(04) Apr 01, 201330(04) Apr 25, 200931(04) Apr 25, 1950
Spreadsheet FormulasCellFormulaP28=IF(O28=FALSE,"Who Knows?","("&RIGHT(O28,2)&")"&" "&LEFT(O28,3)&" "&LEFT(RIGHT(O28,4),2)&", "&LEFT(RIGHT(O28,8),4))
Excel tables to the web >> Excel Jeanie HTML 4
Im Using Windows Xp With Sp2 With Microsoft Excel 2003
View 9 Replies
View Related
Dec 24, 2012
I want to know the macro code to find out the oldest date in the Calculation sheet of the attachment based on two criteria.
The criteria should be if the Item ID on Calculation sheet matches the Item Id Pivot sheet and then if the Status on pivot sheet and calculation sheet matches then the macro should find out the oldest date for each item ID. And once the oldest date is identified the difference on pivot sheet should be added to the cost basis column on calculation sheet to the already found oldest date lot.
Find the attached excel sheet : Book1.xls
View 4 Replies
View Related
Jun 4, 2014
I want to sort a column in Excel 2007 which is having dates. Normally, we use oldest to newest or newest to oldest option in sort & filter. But i am unable to find this option in my excel sheet. how can I find this option in Sort & Filter.
Note: I have imported this data column from Access 2007
View 9 Replies
View Related
Jun 6, 2013
Without VBA, I'd like to find the most recent date in a workbook. The workbook as various columns with dates on numerous sheets. I just need to know the date that is the newest date. Nothing else.
View 4 Replies
View Related
Dec 3, 2009
date1/Jan2/Jan3/Jan4/Jan5/Jan6/Jan7/Jan8/Jan9/Jan10/Jan11/Janquantity 502023108948202535current stock 200oldest date of manufacture?
I have a report that lists the quantity of an item that is manufactured on particular day. On some days there will be no items produced. The report is similar to the above table. I don't want to change the table format.
I know the current stock of that item (in this example it is 200). Note that the current stock is not just the sum of the quantiy for each day's production.
I need a function that will determine the oldest date of manufacture of material in the current stock. The function assumes that that the current stock is made up of the most recently produced material. ie the stock is depleted on a first in -first out basis. Essentially the calculation has to sum backwards from the most recent manufacture date until the total = 200 and then lookup to corresponding date.
In the above table the oldest prodcution date would be 6/Jan. The answer to the funstion in example = 6/Jan
View 9 Replies
View Related
Nov 9, 2013
I am trying to create a formula which would display a date (prior to the computer's system time) when a certain amount of text occurs.
I have attached my workbook with an example and further explanation.
View 14 Replies
View Related
May 30, 2014
What I want to do is return the oldest date to another sheet, but I only want to return the oldest date if the backlog value is higher than 0. So example below has oldest date with 0 as backlog value, I don't want to return that date, but go to the oldest one with an actual backlog value.
So I have the following raw data in Sheet1
[Code] .....
Now I want to put this raw data in Sheet 2
I use this formula to pull the data =SMALL(Sheet1!C3:C5,1)) but this returns the B4 value to me, which I don't want as A4 is 0.
I've been thinking about somehow using VLOOKUP or IF to sort this out but I am stuck.
View 3 Replies
View Related
Feb 28, 2014
I have 4 columns (Date (A), Open (B), High (C), Low (D)) in date order with the newest at the top. I have a value in G1, I'd like to see the oldest date returned in H1 of when a value in the (D) column is lower then G1. I've been looking at match and vlookup but what I can't seem to figure out is how to return the oldest date.
View 8 Replies
View Related
Jan 30, 2012
I am looking for a formula to determine the oldest date in a range of cells. BUT, the part that's kicking me in the pants here, is that the range will change.
In column D, I have a person's name. The number of times that person's name will appear will change every time I run this formula. In column F, I have a date & time. I'm looking for a formula that will determine the oldest date/time associated with that person.
View 2 Replies
View Related
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
Sep 10, 2009
I looking to track the oldest entry that is still marked "Open" or "In progress".
So far I have done the below If Statement:- =IF(H24="Open",E24,IF(H24="In progress",E24,"")). This returns the Date it was logged if the status is "Open" or "In progress". to column T, So far so good!
So in cell T22 i wanted excel to show me the oldest date so i used the MIN function like so:- =MIN(T24:T40). This returned me the oldest date which i then wanted to know how many days this has been open for so i used:- = SUM(TODAY()-H6)
which gives me the number of days. This all works fine until..........i don't have any entries set to "Open" or "In progress" or any dates added (e.g. start of a new week). When this is the case the MIN function returns a value of 01/01/04 which in turn tells me that the oldest entry is 38,604 days old. I have tried different combinations of If statements to ignore the blanks / date etc but i just can't make it return zero or even better blank. I have attached a sample of my sheet and inserted comments to explain what each part does
View 2 Replies
View Related
Aug 10, 2006
I need a formula that links to another workbook where it looks in a column for the oldest date which appears more than 10 times.
So if the oldest date was 01/01/2006 but it only appeared twice, it would ignore it, but if there was then 02/02/06 which appeared 11 times, it qould quote that date in a cell in the workbook
View 9 Replies
View Related
Jan 2, 2010
The following formula is in cell A3: A3=IF(A2="X",A1+365,""). Rather than A3 displaying only 1 year, I would like for it to update after that day occurs to =A1+730, and then A1+1095, and so on.
View 2 Replies
View Related
Oct 26, 2008
I have a list of dates going through several years of data - month ends and starts don't always coincide with calendar months. I need to figure out a way to get the oldest date of the previous month, for example. Tried vlookup but could figure out how to do it for one year only, hence not as applicable with several years of data.
View 9 Replies
View Related
May 23, 2014
I have a UserForm which writes data to rows in a master spreadsheet. I'm attempting to write some vba code for a CommandButton in the master spreadsheet which can identify and delete duplicate entries based on "user ID", "Date", and "Time". I would like the CommandButton to retain the most recent entry from a user and delete all previous entries.
My master sheet is set out as such...
A, B, C, D,
UserID, Date, Time, Response
The users could potentially submit multiple entries on the same day. Ideally I would like to be able to click a CommandButton and delete each user's submission but retain their most recent one (based on "UserID", then "Date", then "Time").
I've searched all day for a solution and I've come close but I can not figure out a code that accounts for my three variables ("UserID", then "Date", then "Time").
View 5 Replies
View Related
Mar 19, 2014
in Excel 2010, whether using VBA or otherwise;
1) how can I return the oldest date in the entire workbook (or at least in the entire sheet if it's not possible to find that date in the entire workbook).
2) how about the most recent date ?
View 2 Replies
View Related
Aug 25, 2008
Use the FIND Method to locate dates?
View 3 Replies
View Related
May 20, 2008
I have a "activity log" sheet which records the date in column A, the activity in column C and the name of the customer that was contacted in column D. There may be multiple entries of a customer's name in column D.
In a separate sheet, I want to find the latest date from the "activity log" sheet that a each customer was contacted and the specific action on that date. In this sheet, the client name will be in column A, and I want to record the last contact date for the client in the same row in column J and the type of contact in column K.
View 4 Replies
View Related
Oct 8, 2013
I have a spreadsheet that contains dates in format mm/dd/yyyy. Lets call this Column C(Paydate). In Column A I have a date that needs to be a 2 business days before the paydate. If this date in column A winds up being a Saturday or Sunday, the function needs to return the previous Friday. If the date is any weekday then it should return that weekday
For example:
C1 = 10/18/2013(a Friday) then A1=10/16/2013
C2 = 10/14/2013(a Monday) then A2= 10/11/2013(the previous Friday since 2 days before 10/14/2013 is a Saturday)
C3 = 10/15/2013(a Tuesday) then A3= 10/11/2013(the previous Friday since 2 days before 10/15/2013 is a Sunday)
View 4 Replies
View Related
Oct 31, 2008
Suppose G2 stipulates whether of car insurance repair is comprehensive or third party (Comp, TP). L2 contains an estimate date for the car.
If the claim is Comp the authority for the job will always follow 2 working days later. (If it is TP it may be any time, and the data will be drawn from a microsoft query report I have behind this one.)
My report needs to recognise that a claim is Comp, see that it has an estimation date and if so add an authorisation date 2 working days later, but only on that date, i.e. if a comp claim is estimated today the authorisation date of 4/10/08 should not appear until Tuesday.
View 4 Replies
View Related
Feb 23, 2010
In my workbook I have about 20 sheets (less in the attached sample), and on most sheets I’d like to query data for each day and find an average value based on the time and then copy that result into another sheet. I’m not sure if I’ll need 2 macro’s for this or if one can be used.
Here’s a quick description:
Assuming that I am currently in the sheet I want to run the macro, then I will either input “1:45” or “0:45” into a popup box, or I could always simply input the 1:45 or 0:45 in the code itself. I’m flexible
1:45:
If I input 1:45, then I’d like the macro to find the first 1:45 in Column B and the value in the same row in Column F will be used in the calculation. Once 1:45 is located, then the macro moves up to find 22:45 in Column B and the value in the same row in Column F will be used in the calculation.....
View 11 Replies
View Related
Nov 30, 2007
So, this works perfectly by itself: {= SUM(IF(MONTH(I4:I17)=1,G4:G17,0))}
And this works perfectly by itself: {=SUM(IF(YEAR(I4:I17)=2007,G4:G17,0))}
But this doesn't work at all: {=SUM(IF(AND(MONTH(I4:I17)=1,YEAR(I4:I17)=2007),G4:G17,0))}
SUM by both a specific month, and a specific year from a single date field?
View 3 Replies
View Related
Nov 16, 2005
I need a formula on my "Problem Areas" sheet that will search and then list
from my "Overall" sheet the ten oldest dates (column O), that have not been
closed (column B), and do not match the text "Repair Clin" (column S). Each
row of data begins with the purchase order# (column A).
On the "Problem Areas" sheet it will only list the PO# and Date Opened.
View 14 Replies
View Related
Aug 5, 2013
I'm trying to find vehicle make and model in a cell containing a lot of text and then display that in the formula cell. For example if A1 is a paragraph that contains somewhere within it "Ford" & "Ranger". I want B1 to display "Ford" and C1 to display "Ranger". I have a list of vehicles makes (column A) and models (column B) on a seperate sheet.
View 2 Replies
View Related
Jan 19, 2010
In the middle of one of my subroutines, my function sometimes hits an error (Subscript Out of Range: because it's looking for a string when it is not there).
If this error occurs, I want it to then look for a different string.
So I ONLY want this other string search to occur if I get an error at that point in the code. I've tried "On Error GoTo ....." but it's doing that GoTo everytime, even if no error occurs. I also can't put "Exit sub" before the On Error statement, because there is a lot of code after this point as well.
View 9 Replies
View Related
Oct 25, 2007
I'm looking for a formula that will look at a sheet of 1500 entries and list the 10 oldest dates held in the sheet.
Is there any way of doing this other than data/sort?
The data that I would need to pull would be the customer name, ref number and the start date. (So roughly, name is column A, ref B, and start C)
View 7 Replies
View Related
May 5, 2009
I have a list of numbers like
A B C D E
1. 8 1 4 7 6
2. 7 4 6 7 8
and so on. In another sheet I also have numbers such
A B C D E
4 3 8 9 0
I want to be able to compare any numbers that occur in sheet 2 that are in the rows in sheet 1 and turn the cells a colour for example turn the cell green if the number occurs.
View 11 Replies
View Related
Jun 28, 2006
With Range("H2:H5000")
.FormulaR1C1 = "= SUMPRODUCT(('Data Sheet'!R2C11:R5000C11=RC1)*('Data Sheet'!R2C81:R5000C81=""G - Prior policy incident handling errors""))"
.Copy
.PasteSpecial Paste:=xlPasteValues
End With
Right now its simply counting, but what I need it to do is to sum col L if col A matches col K. Col L contains numbers, and I need a sum of those numbers if the match occurs in A & K.
View 2 Replies
View Related
Jan 12, 2014
I am trying to create a calculator which will show start date and end date based on the specific date provided.
EX: column A has January 1, 2013, column B has Wednesday, Column C should have a start date which supposed to be 4 days ago (December 28).
View 6 Replies
View Related