Return Corresponding Data From Earliest Date
Jun 1, 2007
What I understand is that balls are drawn in each dated lotto draw and the numbers of the balls thus drawn are entered into a spreadsheet against the actual date of the drawing - and so forth and so forth for each successive drawing.
Here is my version of the question:
If I want to look up the LAST date that a specific ball was drawn, the array formula that daddylonglegs provided works 100%, but when I replace the MAX in that formula with MIN (to get the earliest date??), it ALWAYS responds with 00/01/1900 with the cell formatted as a date, or simply 0 if it is formatted as a number.
I made sure that the ranges did not include empty cells and still it gives me that answer.
I attach the same workbook with daddylonglegs' formula in column D and my "tries" in column F.
View 9 Replies
ADVERTISEMENT
Apr 26, 2008
I have a date range, containing blanks and values. I need a function to show the earliest date that contains a non-blank value. The function should be robust enough that I can sort by date and still show the correct data.
Example...(correct answer would be 10/26/2006)
Date ... Value
10/23/2006
10/24/2006
10/25/2006 0.08
10/26/2006 0.10
10/27/2006
10/28/2006
10/29/2006 0.18
10/30/2006 0.20
10/31/2006
11/01/2006
11/02/2006
11/03/2006 (0.18)
11/04/2006 (0.15)
View 5 Replies
View Related
May 25, 2012
Using online examples I am usually capable to reconstruct whatever I need. However, it's the combination of things I need to do now, which has left me banging my head on the keyboard for days now
Here's the data I am working with:
Sheet 1:
Sheet 2:
And here's what I need to get done:
From sheet 1, select first ID entry from Column A.Find matching ID in Column A of sheet 2On match, find in Column B the earliest date belonging to the concerned IDCopy that earliest date next to the corressponding ID in Column B back on sheet 1Return to step 1 and repeat for next ID entry. Do until end of list (sheet1)
So the result should look as following on sheet 1:
The major issue I am having is the combination of step 3 and 5. Because it probably means something like moving through an array that's within an array through which one is moving. And I am just missing that bit of experience that allows me to make that thinking step. I just keep falling off if you know what I mean...
View 3 Replies
View Related
Feb 25, 2009
I have two columns in a table; Plan and Date.
Plan Date
A 01/02/03
B 12/08/05
C 02/04/06
C 06/04/07
C 06/04/07
Now I want the third column, also a date, so that it returns the earliest date for the repeating plan type.
Plan Date New Date
A 01/02/03 01/02/03
B 12/08/05 12/08/05
C 02/04/06 02/04/06
C 06/04/07 02/04/06
C 06/04/07 02/04/06
View 14 Replies
View Related
Mar 14, 2008
a formula to pick a first and last date from two lists of dates.
I have attached a spreadsheet to show the exact problem.
View 14 Replies
View Related
Feb 14, 2014
remove duplicate.PNG
is there a way to remove the duplicates in column ICAP ID... but only remove the icap id that has the earliest completed date(completion_dt).
I attached an example excell...
View 2 Replies
View Related
Apr 11, 2009
i have 6 columns representing people B6:B500 C D E F G all the same in each row a date as worked will be entered for each person say from b6 to g6 2,6,1,3,5,4
in A1 i want to show the earliest date worked which is 1 then say 7 is entered into d7 i need A1 to show 2 as the next earliest and the same to happen as each date is entered i am using 2007 at work and 2003 at home.
View 4 Replies
View Related
Apr 2, 2012
I'm working through a large database on sheet 1 that has multiple transactions for each person, what i am trying to do is find the earliest date and the first amount that each person deposited money. The findings will go into a table on sheet 2
This is a dummy data of what i have: Sheet 1 - database....
View 5 Replies
View Related
Apr 5, 2013
I'm trying to find a formula that will return the earliest date in a cell looking at the six columns to the left of the earliest date column.
See below for example.
Employee Date1 Date2 Date3 Date4 Date5 Date6 EARLIEST DATE
Long Johns 7/1/2012 7/1/2012 7/1/2012 7/1/2012 7/1/2010 7/1/2012 7/1/2010
View 2 Replies
View Related
Dec 10, 2008
I have a column of dates listed at the bottom of this post. I am looking to have a formula in a cell that gives me the earliest date from the column. I have tried Min() and Small() with no success. Is it perhaps the "AM" and "PM" that is throwing things off? A small example of the data:
11/21/2008 AM11/09/2008 AM11/09/2008 PM11/09/2008 PM11/10/2008 PM11/11/2008 AM11/11/2008 AM
and it should return 11/09/2008. Thanks in advance any and all.
Ed
View 9 Replies
View Related
May 30, 2014
We have multiple work orders per opportunity, and each work order has a date. I have a sheet of these work orders which shows the work order #, work order date, and opportunity date. What I want to do is add a column which reports the work order date if it is the earliest instance of a work order for the opportunity (said differently, the first work order for the opportunity). Is there a way to write a formula to report whether the date of the row is the earliest date for a given opportunity, all in the same table?
View 1 Replies
View Related
Dec 8, 2013
On the attached sample file, I used this array formula to lookup fo the
"First purchase date" - {=MIN(IF((Sheet2!A:A=Sheet1!A2),Sheet2!B:B))}
However, for the "Second purchase" and "Third purchase", i'm stuck and can't think on how to return the dates.
View 3 Replies
View Related
Jan 24, 2007
There is a speadsheet at work with a column which has a range of dates (from 18/05/2003 - date) which information gets drawn from every Friday. The information needed from the column is pretty simple but lengthy to expalin. For example...
[url]
As you can the dates are in no order...and need to stay that way. The information needed every week is shown here...
[url]
I have got the formula for the number of enteries between each date but strugling with the earliest date within the dates. I can do it manually by auto filtering the column and looking for the date closest to the earliest date but this is long.
The dates change on a weekly basis...just to throw a spanner in the works.
View 9 Replies
View Related
Jun 25, 2014
I need an excel function to return the earliest and latest date for a particular/unique ID.
For example: In my sample workbook, the earliest date for all the columns with ID = 1 should return 11/1/2001 and the latest date should be 12/2/2011. If all the dates for a particular ID are the same, it should just return that date. For example, for ID = 2, all dates are 5/5/2010 so the earliest and latest dates should equal 5/5/2010. The earliest and latest dates have to be for each unique ID.
View 5 Replies
View Related
Jan 25, 2010
Ok so let me set this up. I have 2 columns: .....
View 14 Replies
View Related
Jan 16, 2008
I tried searching through the forums, but I don't exactly know how to word my question!
I have a workbook with two sheets: Meetings and MasterStatus
On the both sheets I have taskID for a specific task.
On the MasterStatus sheet, I want to use an array to look up the next meeting date for each taskID (Column C), referencing the Meetings sheet (Column E) to do so.
The formula I have so far doesn't work:
=MIN(
IF(
AND(
Meetings!$A$2:$A$3000>TODAY()-1,
NOT(ISBLANK(Meetings!$A$2:$A$3000)),
Meetings!$E$2:$E$3000=$C$7),
Meetings!$A$2:$A$3000,
0
)
)
View 9 Replies
View Related
May 23, 2014
I am having issues with a min if formula, even though i enter it as an array (ctrl +shift+enter), it only returns a zero.
The formula is supposed to return the earliest date from Raw data if the name of the company matches the one from the data validation ('Company lookup'!D3).
Dates are in column D and company name in column M
I checked, the dates are all formatted as dates
=MIN(IF(RAW!$M:$M,'Company lookup'!D3,RAW!$D:$D))
View 3 Replies
View Related
Jan 18, 2008
I am trying to use a function to search for a particluar value (e.g., ssn) in one column and return the "InDate" in another column. I thought this would be easy, but I'm having considerable trouble. When I do manage to get a value returned, it's the wrong value. I need to return the most recent "InDate" for the ssn that I search for. The button on the " Lookup" sheet is to sort the InDate column descending so that the Excel function will start with the most recent date when it searches. I've tried Lookup and and just about every other similar function with no luck. I originally wanted to search for a ssn and return the information for the last 5-10 most recent visits, but gave up on that long ago.
View 2 Replies
View Related
Jun 1, 2014
I have my tracking data sheet in my master file.
I wish to create a macro code to only retrieve the data on the file last modified date with the specific date.
For example like this :
I wish when I click on the List button, it will pull out the file that is from 28/5/2014 till 30/5/2014 which I have input in B6:B7
I have my code like this but it will pull out all the file in the folder:
Code:
Dim iRow
Sub list()
iRow = 11
Call ListMyFiles(Range("C4"), Range("C5"))
End Sub
Sub ListMyFiles(mySourcePath, IncludeSubfolders)
[Code] ........
View 1 Replies
View Related
Jan 14, 2014
Basically, what I want is to find the earliest EPSI1MN and its associated EPSI1YR and EPSI1NE, within the same period of EPSI1YR and then store the results in a separate sheet. This process is to be repeated for 12 years of data, covering more than 4000 companies.
View 3 Replies
View Related
Jan 4, 2009
I have a workbook with two sheets.
Sheet1 contains details of all of the jobs I do.
Sheet2 is my customer list.
Customers appear only once in sheet2, but may appear mutiple times in sheet1.
In sheet1 I have customer name, lead date, job date et al.
In sheet2 I have customer name, first date, last date et al
I am trying to populate first and last date in sheet2 from the lead date and job date in sheet1.
Sheet1 has a range of 500 jobs
View 9 Replies
View Related
Jul 1, 2008
I need to compare three cells of random dates shown in Column E, F,& G with Row's H5:AK5, H7:AK7, H9:AK7 (the Dates to these rows is Static on row H3:AK3.) EX: ROW 5 has Start Date, End Date (1) and End Date (2). Compare Cell H3 between Start Date & End Date (1). If H3 falls between or equal to Start and End Date(1) then highlight cell H5. Proceed till AK3 (higlighting only the cells H5:AK5). Then compare cell H3 between or equal to End Date (1) and End Date (2) (higlighting only the cells H5:AK5). Then do the same for ROW 7 and ROW 9.
To make things a bit more difficult I need to have " WK#" in Row 14 (these WK# is on another tab called "Task" of the workbook) needs to be displayed in Row's H4:AK4, H6:AK6, & H8:AK8. EX: Compare Date in D15 between or equal to Start Date & End Date (1) then display Wk# in D14 in H4. Continue till all dates in
D15:Z15 are compared to Start Date & End Date (1) and WK#'s in Row D14:Z14 are inputted if applicable in Row H4:AK4, H6:AK6, H8:AK8. I hope this is not confusing. I can't seem to use the upload option so here is alink to download a jpg of the sheet
View 2 Replies
View Related
Feb 21, 2014
I want to get a return value of date in column C whereas column A represent a date and column B represent a number. Simplest formula in excel is Column C (Feb 26, 2014)= Column A (Feb 21, 2014) + Column B (5). I want it to have in macro code.
View 14 Replies
View Related
Feb 7, 2014
I'm trying to pull out the earliest and latest dates associated with a text string in a workbook.
Min Max dates example.xlsx
i.e. in this example, I want one column to display the earliest date associated with DU 145, and the next column to display the latest.
From what I understand, I need an array formula to do this and have written the following, which works:
=MIN(IF($A$2:$A$6=A2,$B$2:$B$6))
(confirmed with CSE) - and the same for MAX.
Where I'm struggling is that DU 145 may be entered in the workbook as DU145, DU 145 or DU-145 and I need to take all of them into account. I tried:
=MIN(IF($A$2:$A$6="du*145",$B$2:$B$6))
As this works in a COUNTIF formula in the same sheet. But this just returns a date of 00/01/1900. I'm new to array formulae & haven't really worked them out yet. Is there a way to do this? I assume it's something to do with the way I'm entering text as removing the wildcard * makes no difference.
View 4 Replies
View Related
Mar 19, 2014
Below is an example of an Excel sheet I'm working with: [URL]
Basically, I'm trying to delete the duplicate rows by matching ID, Date and Type. If ID, Date and Type are the same, then, I want to only keep the record with the earliest Time in case of Type = In and the latest Time in case of Type = Out.
So, for example, in the case of ID = 1, there are 3 records for In, I only want to keep the one where Time is: 8:01 as this is the earliest. The other 2 records should be deleted.
Similarly, in the case of ID 3, I want to keep the record where Time = 18:05 as this is the later time out of the 2.
Can this be achieved by Conditional Formatting or Macro or VBA?
View 1 Replies
View Related
Jul 25, 2014
I'm trying to pull the earliest and lasted times out of a list of time stamps. Say I have a column full of clock in and clock out times and wanted to find the first clock in time and the last clock out time (just an example). My lookup_value would be a Store number. I can't post it here due to legality reasons, but I have a column a store numbers that will be my lookup values and I need to find the earliest and lastest time in a list of data on another tab.
View 9 Replies
View Related
Jan 30, 2014
I am trying to create a data entry sheet to enter quotes on. When a quote is received, I click on my "Add quote" button and a userform appears. Data is entered into the userform (frmEntryForm) and returned back to the next available row.
I also need to be able to:
Edit a row by double-clicking it. When a row is double-clicked, data from that row is passed back to the userform, edited and returned back to the same row (to prevent duplicates).Validate that all fields are complete within the userform where relevant (i.e. if the work is not complete or in progress then the "Invoice Number" and "Actual Cost" fields are disabled and blanked to prevent entry (I think this is almost sorted judging by my tests)
I have attached my sheet : 2014 Gatwick Quote Log (Macro Enabled).xlsm
View 14 Replies
View Related
Dec 8, 2009
I am trying to return a TRUE or FALSE based on a date in a cell.
for example:
if cell A1 = 07/11/2009
I want A2 to show TRUE or FALSE if A1 is 14 days or more behind todays date.
I have tried stuff like:
=IF(A1=TODAY()-14,"True","False")
but it just always says false. EDIT: I have just noticed that if I change the date in A1 to exactly 14 days behind todays, it returns TRUE. So, it does work. Do I need to add a GREATER THAN in there?
View 6 Replies
View Related
Apr 24, 2013
Using one spreadsheet with three date columns and two columns counting days.
If there is a value in Resolution date, then Column N is blank
If there is no value in Submit date and Resolution date, then Column N is blank
If there is no value in Resolution date, and there is a value in Submit date, subtract Submit date from todays date to show how many days it has been pending approval
Created on = J4
Submitted on = K4
Resolution Date = L4
Days to Approve = M4 I've got that formula =IF(L4="","",L4-K4)
Days Pending Approval= N4 (cell with formula)
If Resoultion Date L4 has a value, return blank
If Submit on K4 and Resoultion date L4 are blank, return blank
If Resolution date L4 is blank, and Submit on K4 has a value, subtract Todays date from Submit on K4 to show Days Pending Approval
Cell J4______Cell K4______Cell L4__________Cell M4__________Cell N4
Created on___Submit On___Resolution Date___Days to Approve___Days Pending Approval
4/5/13_______blank______Blank____________Blank___________Blank
4/5/13_______4/5/13_____4/7/13___________2_______________Blank
4/5/13_______4/5/13_____Blank____________Blank___________()Today-K4
View 3 Replies
View Related
Oct 4, 2009
I am trying to find the largest value, second largest, and third largest value for a column of numbers then return a content value for the adjacent column that contains the name for which each. The problem I am running into is when the second highest has the same value as the highest and also when the third value is zero (n=meaning there are only non-zero numbers for the column). I am using these formulas currently whic work when the numbers are not the same and I have atleast 3 non-zero numbers but I need to modify in order to account for the problem stated above...
View 8 Replies
View Related