Matching Two Sets Of Date And Displaying

May 8, 2012

I have two separate worksheets:

I'm trying to find a formula that looks at Column A on both sheets and if they match enter in column D of the referral sheet the month they were seen but only if its a 1st contact (appt type on column D of contact sheet)

ABCDReferralIDReferral Date409383316 January 2012 Month / year of referral Month of first contact
485955005 March 2012January 2012539372005 September 2011March 2012385048229 February 2012
September 2011483172202 December 2011February 2012944156617 January 2012December 2011
393039322 February 2012January 2012

ABCDContact IDcontact Datemonth / year of contactAppointment Type
539372026 January 2012January 20121ST385048205 March 2012March 20121ST944156616 December 2011
December 2011F/UP222944119 December 2011December 2011F/UP344055529 December 2011
December 2011F/UP539372010 September 2011September 20111st

View 8 Replies


ADVERTISEMENT

Matching Sets Of Data?

Jul 10, 2014

I created a macro that extracts two columns of numbers from one workbook and need to match them to another set of numbers in another workbook. For instance i have numbers like...

18314 907
18272 64
11005 907
11005 324

..Now i need to match these numbers up with the others to find the hyperlink associated with them.

View 5 Replies View Related

Displaying Text On The Right If It Is Matching

Jul 20, 2012

Here is the data table. I need to find values from the 2nd column in the 1st column and for instance display them in 3rd column as presented.

A
B

B
D
B

[code].....

So if B from 2nd column is found in the 1st column, display it in the same row in the 3rd column.

View 2 Replies View Related

Multiple Date Sets Filter

Aug 21, 2014

I have six columns.

Column A: dates
Column B: data with relates to A

Column C: dates
Column D: data with relates to C

Column E: dates
Column F: data with relates to E

View 1 Replies View Related

Delete Both Sets Of Duplicate Date?

Oct 8, 2008

I currently have about 3000 rows of data, much of it being duplicate data. Is there a way to have it search for duplicate data, and have it delete BOTH sets of duplicate data? For example, say this is what is in my spreadsheet:....

I would want it to delete both John Smith records and both Ted Nugent records, leaving Bob Bobbert's and Michael Jordan's records.

View 4 Replies View Related

Formula For Displaying Next Quarter Date Based On A Date

Mar 22, 2012

What I need to do is that I have electrical tools that get tested on a certain date in Column A. I need Column B to look at column A and determine and display in date format the next quarter when test is due.

Practical example: Extension cord got tested on 04/04/12. The next test needs to be conducted on 01/06/12. If the test is overdue and gets conducted on 02/06/12. The column A will change to 02/06/12 and column B should change to 01/09/12 as a result.

The formula I have got to work is

=DATE(YEAR(F2)+IF(MONTH(F2)>9,1,0),CHOOSE(MONTH(F2),4,4,4,7,7,7,10,10,10,1,1,1,),1)

but this makes the quarter dates as APRIL, JULY AND OCTOBER - they need to be MARCH, JUNE, SEPTEMBER

when I change the formula to

=DATE(YEAR(F2)+IF(MONTH(F2)>9,1,0),CHOOSE(MONTH(F2),3,3,3,6,6,6,9,9,9,1,1,1,),1)

The dates work BUT if the following test is undertaken on 01/03/12 the date in Column B does not change to 01/06/12. Why? How do I get it to work?

View 6 Replies View Related

Compare 2 Sets Of Data According To Start And End Date Column?

May 26, 2014

In my attachment I am trying to identify rows within Table 2 that do not fit in with Table 1. For example in Table 2, Row 16 has a Start Date of 17.11.2010 and an End Date of 13.11.2011 for ID number 151. This record has to be shown as "OK" because it fits into the date range of Row 103 of Table 1 i.e. Table 1 Row 103 has a Start Date of 01.01.2010 and an End Date of 28.02.2013 for ID 15. In other words the Start Date of Table 2 Row 16 is GE the Start date of Table 1 Row 103, and the End Date of Table 2 Row 16 is LE the End Date of the same Row 103 of Table 1, therefore this reocrd is OK.

Row 14 of Table 2 needs to be shown as "NOT OK" because it has a Start Date of 12.01.2013 and an End Date of 31.03.2013 for ID 15 and this doesn't fit any date range of any Row in Table 1 for ID 15.

View 2 Replies View Related

Calculating Number Late Last Week From Multiple Dates / Date Sets

Jul 2, 2014

I am putting together a simple table to display current week's data vs previous weeks. The current week's data is drawn from a status chart which changes frequently. The constant change is fine for 'Current' as I only want the current data displayed.

The problem I am having is calculating the number of late jobs that existed during the previous week.

The status log has a due date which is compared to the current date to determine 'on time' status for the current week.
Due dates are reissued regularly so I can't use

=COUNTIF(RANGE,WEEKNUM(NOW()-1)) to return data about last week from my status chart.

I have available a 'Movement Log' (in the workbook but a separate worksheet) which tracks the changes in the due date field, but I'm not sure how to integrate that data to calculate the # of jobs that were running late from the last week.

My thought is that I need to perform a count of the # of late based on a comparison of 'due date' to 'date of the last day of last week' with a way to insert the "old due date" from the movement log to replace what is shown in the status log if necessary.

Movement Log.JPG

Status Chart.JPG

View 1 Replies View Related

Displaying A Certain Date

Jan 12, 2009

Is there anyway I would be able to display the current age of majority (19 here at home) in a cell or userform? This would have to be current each day the form or sheet was opened.

View 5 Replies View Related

To Insert Down Between Sets Then Border Sets

Apr 10, 2008

Below is a series of sets. Column A is the set number. I need a macro that will insert a row between sets and then put a border around each set. In my spreadsheet the sets are from A1:C500. Sometimes the sets are only 1 row, sometimes multiple rows. It looks like I will be doing one of these sheets every week. So far I have been doing it manually, but a macro sure would save some time.

View 13 Replies View Related

IF,AND, Function Displaying Last Date

Jan 23, 2010

I have been trying to get this formula to work, and it appears it only works when it wants to and I cannot figure out why. What I'm trying to do: I have a spreadsheet with several columns of data, but I want the formula to read only two entire columns for a specific criteria for each column, then display the most recent date based off the criteria. I do not need to total up the criteria, just display the last date. This is what I have so far: =IF((AND(Sheet2!A:A=B2,Sheet2!B:B="Game: Counter Strike - Source")),MAX(Sheet2!C:C)).


I have this in a table, header as "last date" which is (C2), the B2 in my table would be where criteria would be typed in. So basically, my table should pull the last date from based off the criteria from raw data in sheet2, that is entered in to B2 on sheet1 and is "Game: Counter Strike - Source".

View 5 Replies View Related

Displaying A Date Of 00/01/1900 If The Value Is Zero

Feb 4, 2008

I currently have to display a large amount of data on a separate report. I have a master sheet which has columns and cells linked to another sheet, then a further sheet which has cells linked to the master sheet. The problem I am getting is when I link some of the date columns using a formula in the 3rd sheet, as this is looking at a cell that has another formula in on the other sheet it is displaying a date of 00/01/1900 if the value is zero, is there any easier way of getting the data to just display a blank as this is messing up the database it is being exported

View 9 Replies View Related

Cell Displaying Date

Nov 12, 2009

Each time my spreadsheet is modified and saved, I would like the date of this action to appear in a cell. I think this may involve VBA but I'm not sure.

Let's just say, the cell is L54. I am using Excel 2007.

View 9 Replies View Related

Displaying Cell Depending On Date

Apr 24, 2007

My head hurts from working on this all day. I have a large spreadsheet and in the top left corner I need to show the percent of vehicles that are not working out of our whole pool. I have a function that detects the color of the cell (Red is broke) and counts the total of red cells and then divides it by the total giving the percent and it is in G118 for Jan 1/2007, H118 for Jan 2/2007 etc. I made a function that will count Julian days from Jan 1, so for today I get 114. I know I need to display G + 114 columns but have no idea how to get that column name from this and always display the current one in the corner.

View 9 Replies View Related

Serial Number Date Displaying Incorrect Day?

Dec 16, 2008

I maintain a class register in Excel to monitor student attendance. The first row shows the date of the class in the form dd-mm.

I need to identify all dates which fall on a Monday and thought that if I custom formatted a new row as "dddd" and enter the formula =DAY(cell ref) into the cells of this new row it would achieve this- I could easily spot the Mondays for the period under review.

What I'm finding, however, is that the formula seems to incorrectly state that 16th September 2008 is a Monday whereas it's actually a Tuesday- utterly bizarre!

I can get a fix simply by modifying the =DAY() formula by adding 1 to my formula [ie =DAY(A1)+1] but am wondering is this a "so called known issue" with Excel or has anyone else come across it? I have never previously come across this and consider myself to be an above average competency level user of the application.

View 6 Replies View Related

Displaying Date And Time At The Moment Of Entry

Dec 12, 2011

I have cells on my spreadsheet which contain: =now() and they work as they should - displaying the date and time at the moment of entry. Unfortunately the cells update when other info is added at other locations on the sheet - is there a way to ensure they enter the current 'now' only at the point of initial entry - such that the data doesn't then alter?

View 3 Replies View Related

Sorting Duplicates And Displaying Latest Date?

Dec 23, 2011

I am working with a large spread sheet of people names and the courses that they have attended and what date they attended. The Sheet Identifies : ID No. Names, Courses, Date Attended, Due Date How can i remove all entries execpt for the last date for each qualification entered on each person?

ABCDEID. No.Name CourseDate AttendedDue Date22SmithFirst Aid2010/10/102011/10/1022SmithFirst Aid2011/10/102012/10/1021BobECDL2010/09/092011/09/0921BobECDL2011/10/102012/10/1022SmithECDL2010/08/082011/08/0822SmithECDL2011/09/092012/09/0920TerryFirst Aid2010/09/092011/09/0920TerryFirst Aid2011/10/102012/10/10

View 5 Replies View Related

Displaying What CAMPUS A Student Was LOCATED At On The Course Completion Date?

Jul 29, 2014

I have a spreadsheet containing 2 worksheets. First worksheet has my Students Details and the second spreadsheet has their Campus Locations.

What I need to create is a Formula that tells me "What CAMPUS was the student LOCATED at on the Course Completion Date?"

[URL]

what I'm trying to do is as follows:

John Completes his Course on the 25th July 2013, his Student ID is 450.

I need to go to the CAMPUS LOCATION spreadsheet and first search for Johns student ID (450) in column B. Because John is listed in B2,B3 and B4 excel needs to check date in Column E to see if his completion date was before the Date he started at Campus.

If it is then the Campus he was at will be the value of Column D on that line.

If it is not then it needs to search the next line until it satisfies the condition.

View 5 Replies View Related

Displaying Last Modified Date And Time Of File In A Cell

Jul 11, 2009

How can display the last modified date and time of my excel file in a particular cell - Say in cell E1.

This is the same value that we get when we Right Click excel file->Properties->General and look at the label "Modified".

View 8 Replies View Related

Displaying MIN Date Based On Criteria In Calculated Field Of PowerPivot?

Jan 23, 2014

I have a database with a list of transactions with multiple fields, including:

Customer ID
Store ID
Item ID
Date
Price

I am wanting to add a calculated field that displays the first (or MIN) Date from the date column, looking at all of the orders where the customer ID, store ID, item ID and price are the same.

In the attached file I have shown what I currently have, as well as a solution using a helper column, and formulas I would use if I wasn't using powerpivot.

View 2 Replies View Related

Next Date Matching Criteria Within Date Range

Jan 7, 2010

I'm setting up a spreadsheet to manage recurring tasks that fall within a given date range.

I have a named variable (theDate) which pulls the list of matching tasks that fall on a single day, but some fall on multiple days, so I need to somehow extract the next valid date the task will come due.

I've been playing with formulas until my brain got scrambled. I suspect I may not have got enough sleep over Christmas and there's something staring me in the face I'll kick myself over.

Column Headings are:
Description (Col B), [various notes C:E], M, T, W, T, F, S, S, (Cols F:L, marked with x when relevant), StartDate (M), EndDate (N) and my nemesis, NextDate.

That formula should check that 'theDate' falls within the range, if so, lookup whether the appropriate weekday is null or not, and if it's not, then the current date comes back. If it is, then I need it to find the next weekday (by that I don't mean M-F, I mean any of the 7) when it will fall and return that date. I do have the weekday number in F2 if needed, and I'm using a weekday return type of 2 (Mon=1).

'theDate' will usually be in the future, but not always. It needs to not fall over if it's past.

I'd like to do this via formula ideally, since the SOE I'm on keeps losing my Analysis Toolpak, but if I have to code, I have to code.

View 3 Replies View Related

Displaying Values Used In Criteria Selection (Date Ranges) As Part Of Query Output

Dec 20, 2011

Using MS Query in Excel, I've created a simple query that pulls its records from an SQL dbase. Here's the statement:

SELECT uvVisit.FacilityListName, uvVisit.DoctorListName, uvVisit.Date, uvVisit.PatientVisitId, uvVisit.PatientLast, uvVisit.PatientFirst
FROM CPS.dbo.uvVisit uvVisit
WHERE (uvVisit.Date Between ? And ?)
ORDER BY uvVisit.FacilityListName

The query runs fine and prompts the user to enter beginning & ending date ranges for the visit date when executed. So far...so good...but, this requires me to manually insert a line in Excel above the 1st record and type in something like: "For Date Range: MM/DD/YYY - MM/DD/YY" to denote the date range that the qualified records fall into (something the user wants to see).

However, I'd like to find a way automatically preface and display in the report's output (perhaps as the 1st line of the report in Excel??) something similar to what I'm already typing, and have it pull the beginning and ending MM/DD/YY values from those supplied by the user in the parameter.

View 3 Replies View Related

Date Before A Date With Matching Criteria?

Mar 3, 2014

I have the attached spreadsheet and I need to find the date in the table that is less than the specified date in E3 and is also the animal specified in cell D3. So the formula should bring back the result 18/03/2013 (line 4) as that is the closest date before the given date and it is also a dog.

I know I probably need an array formula and some max ifs, I have tried a few combos but I can't get it going. I don't want to be able to do any sorting of the table I kind of want to keep that how it is.

DATE BEFORE DATE.xlsx

View 2 Replies View Related

Matching Date In Excel

Aug 7, 2012

I have this nagging problem with my current data. So let i have two "sites" which contain a date column. Some of the dates matches. So i want to match this date in excel and not manually go cell by cell checking for a match. how can i do this with excel?

a better illustration of my question. So basically i want to match concord 4/1/1999 with the other concord of the same date.

Site name
Date
Data
Site name
Date
Data

concord
4/1/1999
0.1
Concord
3/1/1998
0.13

[Code] ........

View 4 Replies View Related

Matching Value In F:F To Lastest Date/time In A:A

Jan 15, 2010

I have to extract information from an imported .csv file. In the attached mock up A2:B223 is the data being imported. A macro list the individual values from B:B & C:C in F:F & G:G. I'm interested in a formula for I:I that will match the values in F:F to the most recent timestamp in A:A.

View 4 Replies View Related

VBA - Find The First Matching Date Within A Range

Feb 19, 2009

In a row on the spreadsheet I have a range of dates from 19/09/2008 to 19/06/2008 mainly with a weekly interval.

I want to incorporate into the macro a find function so that it can determine the first occurrence of a specific month and return the row number.

View 9 Replies View Related

Finds The Matching Date In The Timesheet

Apr 30, 2009

On Error GoTo importError
For Each b In Range("names")
If b = FILE.Sheets("Sheet2").Range("e3") Then
ThisWorkbook.Activate
ThisWorkbook.Sheets("Sheet2").Select
b.Row.Value = n
For Each c In Range("dates")
If c = FILE.Sheets("Sheet2").Range("e5") Then
ThisWorkbook.Activate
ThisWorkbook.Sheets("Sheet2").Select
c.Column.Value = m
ActiveCell = nm
Set Targ = ActiveCell
Targ = system
Targ = FILE.Sheets("Sheet2").Range("e20")

End If
Next

It doesnt work, it gets to b.row.value and throws up an error, i realise im using the wrong code but I dont know enough vba script to resolve the issue

I have a timesheet and a data base spreadsheet, the db spreadsheet opens the timesheet (many, one after another) and I want it to look for each name in the db and if the name cell on the timesheet it has open matches then i want it to remember the row value (on the db), then look through the dates in the db until it finds the matching date to the one in the timesheet, i want it to store this column value (in the db) so I can concat the row and column to get the activecell where I will be putting the total hours (a single cell reference) from the timesheets into the db.

View 9 Replies View Related

Sum Column With Date Matching Choice

Sep 11, 2007

I am trying to make an attendance sheet where if you open the file up on a specific date, the matching date from the columns is selected only and the sum of the column is put beside the cell that says available. I have attached the file I am trying to make.

View 3 Replies View Related

Lookups For Separate Workbooks Matching Date

Feb 18, 2014

I have workbooks based on the date. Here is an example "Daily Numbers Report - Summary_2014_02-18-06-02-30"

All of the files are formatted this way. Then, in a master file I have dates going horizontally for the entire year in the following format Tue Jan 15, etc. How could I do a lookup that would grab from all of the open files and match the date BUT subtract 1 day from that date for all the lookups, so Feb 18 would look at 2-17?

View 5 Replies View Related

Matching Date In Another Sheet And Returning Cell Value

Mar 29, 2012

I have in my 'Daily' sheet I9 which needs a formula to look at the date in C9 and the scan range 'Weeks' F6:AN41 and find the cell with the matching date and then whatever text is in Row 2 of the column the date was in will be returned.

View 2 Replies View Related







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