Picking Latest Entry In A Table?

Nov 7, 2013

I have a table like this:

Book, Loaned to, Date
A Tale of 2 Cities, John, 1/1/2010
Oliver Twist, Mary, 2/3/2011
Great Expectations, James, 4/6/2011
Oliver Twist, Greg, 6/2/2010

I want to make it such that, when I input the name of the book, it will tell me the person whom I lent it to last and the date of the transaction. Preferably, this should be done without any assumptions on how the table is ordered. For example:

Book= Oliver Twist
Loaned to= Greg
Date= 6/2/2010

View 2 Replies


ADVERTISEMENT

Selecting Latest Entry In Table?

Nov 7, 2013

I have a table like this:

Book, Loaned to, Date
A Tale of 2 Cities, John, 1/1/2010
Oliver Twist, Mary, 2/3/2011
Great Expectations, James, 4/6/2011
Oliver Twist, Greg, 6/2/2010

I want to make it such that, when I input the name of the book, it will tell me the person whom I lent it to last and the date of the transaction. Preferably, this should be done without any assumptions on how the table is ordered. For example:

Book= Oliver Twist
Loaned to= Greg
Date= 6/2/2010

View 7 Replies View Related

VLookup Not Picking Up Table Array In Another Spreadsheet

Apr 3, 2012

I use VLOOKUP a lot and the simple VLOOKUP I am attempting is a very common exercise for me. That doesn't make me an expert just very familiar with it.

I have a worksheet where column A is a 5 digit reference and I use column A as the lookup value. In a worksheet in another spreadsheet I have a load of data but column A is also a 5 digit reference. I am trying to pull cell content from a single column of data from the second worksheet into the first worksheet when there is a match for the 5 digit reference.

The problem is, using the wizard, the lookup value is entered ok but when I come to highlight the range of cells in the second worksheet nothing appears in the table array line in the wizard.

References in both worksheets are numerical and sorted in numerical ascending order. Both spreadsheets have been saved.

However if I copy the worksheet from the second spreadsheet and simply copy it into a new worksheet in the first and then try referencing it as a table array it works just fine.

For such a simple exercise I always use the wizard as it is so much quicker, but I can't figure out why it won't work the way it usually does.

View 5 Replies View Related

SUMPRODUCT Not Picking Last Two Columns Of Data Table

Aug 12, 2013

I cant seem to figure out why this sumproduct formula wwill not pick up the datatable on a separate tab. Data table is Column E to AA but it only goes to Column Y. If I try putting AA in - the formula returns the VALUE#. I thought it maybe the cell formatting but it does not seem to the problem.

=SUMPRODUCT((Worksheet!$C$3:$C$57>=$H$12)*(Worksheet!$C$3:$C$57

View 1 Replies View Related

Formula To Pull Latest Date From One Column Based On Entry In Adjacent Column

Jun 6, 2014

Any way to construct a formula in excel that will look at a reference in one column and find the latest date from the data in an adjacent column for that specific reference?

Below is an exctract from a much larger sheet of the columns in question.

The result in the last column should be 21/05/2014 for anything with D.O.001 in the second column and 15/05/2014 for anything with D.O.002.

Date Decision agreed
Disposal Order
Latest Decision date for D.O.

06/05/2014
D.O.001

[Code] ........

View 6 Replies View Related

Return Second Latest Value In Excel Table?

Aug 5, 2012

I have a table with different values on different dates. To get the newest value on the lastest date I'm using this formula; =INDEX(F5:K5;MATCH(9,99999999999999E+160;F5:K5)).

However, how I can get the second latest value? In this example I want a formula to to return the value previous price;

Latest observation
Latest observation date
Previous price
previous price change date
01.08.2012
02.08.2012
03.08.2012
04.08.2012
05.08.2012
06.08.2012

[code]....

View 8 Replies View Related

Compressing Table To Capture Latest Instance Based On Each ID

Feb 6, 2012

I have a table that I am trying to compress to capture the latest instance based on each ID.

For example, let us say this is my data set:

ID___ | Name | Level_ | Score | Date
ID-32 | John | Beginr | 56.00 | 27-Jan
ID-33 | Jill | Beginr | 32.00 | 28-Jan
ID-34 | Bill | Beginr | 78.00 | 28-Jan
ID-34 | Bill | Interm | 39.00 | 29-Jan *
ID-33 | Jill | Beginr | 62.00 | 31-Jan
ID-32 | John | Interm | 61.00 | 02-Feb
ID-33 | Jill | Interm | 67.00 | 03-Feb *
ID-35 | Mike | Beginr | 82.00 | 03-Feb
ID-35 | Mike | Interm | 85.00 | 04-Feb
ID-35 | Mike | Advncd | 89.00 | 05-Feb *
ID-32 | John | Advncd | 24.00 | 05-Feb
ID-32 | John | Advncd | 52.00 | 08-Feb *

From this data set I wish to extract only the 4 entries with a "*" next to them. These entries give me the updated latest status for each student.

So the output table would look like:

ID___ | Name | Level_ | Score | Date
ID-32 | John | Advncd | 52.00 | 08-Feb
ID-33 | Jill | Interm | 67.00 | 03-Feb
ID-34 | Bill | Interm | 39.00 | 29-Jan
ID-35 | Mike | Advncd | 89.00 | 05-Feb

View 7 Replies View Related

Code To Move Data From Entry Table To Historical Table By Date

Mar 14, 2014

In the attachment you will see an example of what I am trying to accomplish. What I am trying to do is find VBA code that is either specific to this worksheet or in a macro. When the sheet is opened I enter a date in B2. I then enter data into A7, B7, and C7. What I would like to happen is when the data is entered into A7, B7, and C7 the sheet goes and finds the same date that I entered in B2 and copies that data from A7, B7, and C7 into F7, G7, and H7.

View 2 Replies View Related

Excel 2010 :: Macro To Select Latest Date In Dropdown Box Of Pivot Table?

May 9, 2013

I am trying to create a macro using the recorder that will select the latest date in a drop down list. The dates upate each day in the pivot table after the table is earlier refreshed. Using the recorder simply picks the same date each time. I want it to select the latest date. Am using Excel 2010 and have some very limited experience in vba for editing macros.

View 1 Replies View Related

Excel 2010 :: Macro To Select Rolling / Latest 6 Weeks In Pivot Table

Nov 13, 2013

I have a raw data in one file and then another file contains pivot table linked to the raw data. In the dashboard i need to show last 6 weeks trend which is linked to the pivot table. Currently i am manually unselecting previous week and selecting the latest week.

Ex: This week i select weeks 5, 6, 7, 8, 9, 10 from the pivot for the dashboard. When new data is updated next week, i want to select 6, 7, 8, 9, 10, 11. I cannot delete as i need the historical data.

I am using Microsoft Excel 2010.

View 1 Replies View Related

Returning Value From A Table Based On Last Non Zero Entry In Table

Dec 5, 2013

I am trying to basically search for the last non zero entry in a column and then return a value in the same row as that last non zero entry.

For example:

My first column of the table is time, second column is submission/marking of coursework (denoted by +1 & -1) and the third column is the number of courseworks awaiting to be marked. My aim is to search the third column for the last non zero value then return the time (from first column) that last non zero value appears.

View 6 Replies View Related

Finding The First Non-zero Entry In Table

Jul 20, 2006

I have a table (which has 100s of rows) and I want to find out for each row entry, which column the first non-zero number appears. I have attached an example. Items 7, 12 and 16 first appear within this time period and I would like the First Appeared column to say Week 12 (for Item 6), Week 8 (for Item 12) and Week 18 (for Item 16).

View 6 Replies View Related

Data Entry Into Vlookup Table

Jul 5, 2007

I have a workbook where in Sheet1 Cell A1 is a customer name, and A2:A5 contain parameters for the customer. I would like to be able to input those data to a Vlookup table on Sheet2. (The Vlookup is used to fill values on Sheet3).

I have been trying to create a macro to copy those parameters from sheet1A2:A5 by finding the match for A1 in the Vlookup table in Sheet2 and then copying to the corresponding matching row , A2 pasting into column 3 (on the corresponding row of course), A3 into colum 4, A4 into column 5 and A5 into Column 6.

View 9 Replies View Related

Copy 1 Of Every Individual Table Entry To New Sheet

May 29, 2014

I have a spreadsheet that is being updated every month with new project information. The spreadsheet is a log of all the hours worked by employees on each project. Due to many employees working on the same projects and each weekly log per engineer having an individual row to display these hours, there are many duplicated cells.

I am wondering if there is a way for me to display in another table, just a list of the projects that exist.

For example, the original table may look something like this:

WEEK MONTH PROJECT HOURS
1 Jan A 5
1 Jan B 4
1 Jan A 7
5 Feb C 5
5 Feb C 3
5 Feb B 8

I would like to display a table that looks like:

PROJECTS
A
B
C

In March there could be a project D and I would like that to be automatically added on to the second table, if possible?

View 6 Replies View Related

How To Not Display Legend Entry In Table Below Graph

Jul 24, 2012

I have a standard bar graph with 2 sets of data: 1 dataset on the primary axis and 1 on the secondary axis. I have defined the legend entries fairly specifically so the descriptions are long. I have also inlcluded a 'rank' value into the graph which doesn't appear on the graph as the values on either axis aren't at a range that allows it to display. However, I want to display the rank value in a table below the graph. However, when I add the table, the legend entries are so long, the graph gets 'scrunched' and looks terrible.

Is there a way to either:

1.) Only show the rank data in the data table below the graph?
or
2.) Show only the data in the data table below the graph and not the legend entries?
or
3.) Another option to display the rank data on the graph?

View 1 Replies View Related

User Box Options If Cell Entry Is A Duplicate Found In A Table Column

Aug 23, 2009

I have a table that i use for a customer database. and the end user adds new customers to this table, what i would like is for a message box to pop up whenever cell B2 matches an entry in a column in the customers table. the table starts on row 25, and the column i would like to check for duplicates is column B. I would like the message box to give the user the message "A customer by this name already exists, Would you like to load this customers file?" If the answer is yes, then the row that the match was found on would be copied and pasted onto row 1. if the answer is no, then nothing else happens. I hope this makes sense, i am posting this sheet of my workbook for reference.

View 8 Replies View Related

Getting Entry In One Cell To Cause Entry In Another Based On Entry In 3rd

Mar 20, 2014

I have a percentage in R3.

If I make an entry in D13 then I want the R3 to be duplicated into C27 otherwise C27 should be 0.

View 4 Replies View Related

Check If Any Entry In List Older Than 7 Days - Delete Second Double Entry?

Sep 11, 2013

I am having a sheet where I keep track of when online surveys have been sent to users. The users enail address (column K) may be on the list for several times, but I need to make sure that there is at least a 7 days pause between sending the first mail and the second, depending on the visit date (column G).If there are less than 7 days between two entries with the same email address, the user is not qualified for taking another survey.

I was thinking to write an IF formula which returns either 1 or 0 and then let conditional formatting highlight and HIDE the row via a VBA loop.

View 3 Replies View Related

Formula To Look For A Number Entry On One Worksheet And Return Another Fixed Entry?

Mar 14, 2014

Is there a formula that will allow me to look for the existence of any number value in a row of one worksheet and then return a specific number value in a cell on another worksheet? For example, if the formula finds any number value it will always return the number 15 to a cell on another worksheet.

View 3 Replies View Related

Picking Data Out Of Different Columns?

Apr 2, 2014

The purpose of the attached workbook is to calculate the average number of days a customer takes to pay their invoices. There are two tabs - Invoices and Payments. I am trying to calculate the number of days between Invoices "Sales Date" and Payments "Settlement Date".

The Payments tab is raw data exported from Attache financial system as CSV. It is the best I can get out of the system but the columns are all over the place.

I thought maybe from the Invoices tab I could search a row on the Payments tab to match the invoice number, find the cell containing the phrase "Invoice Number" then pick up the date from the following cell which contains the Settlement Date . This would be straight forward if the data from the CSV file consistently landed in the same column in the Payments worksheet, but it doesn't. As you can see, the phrase "Invoice Number" might appear in any one of several different columns.

View 5 Replies View Related

Picking Values From A Row With Blanks?

Oct 6, 2008

I work in school which for example offers 20 courses for every student. Therefore I have a spreadsheet which has students name in A and B then the 20 courses spread from C to V.

Each student will study 3, 4 or 5 of the courses and will have value in the corresponding column (their teaching group) the rest of their row will be blank.

For each student create in columns X, Y , Z, AA and AB I would like to be able to pull from the 20 courses those which the student studies. Therefore finishing up with C to V hidden and just the student names and the 3, 4 or 5 courses they study.

Any ideas? if one method is to get them into one cell how do I get them into the 5 columns; i know DATA : Text to Columns but won't have anything to Delimit it with and can't use Fixed width as students will study subjects with different length charactors.

View 6 Replies View Related

Picking One Item From Array?

May 20, 2014

I have a table, which has pairs, e.g like this:

A=1
B=2
etc

how to give the value to variable based on this pairs? I mean something like this:

If left(mystring;1)=A, then
myvar=1

I used the case-structure, but maybe there is a better solution, which can use an array in order not to write all of the items whenever I need it.

View 9 Replies View Related

Picking Time From Dropdown Box?

Oct 21, 2009

I've created a useform for recording stock trades. So it asks the user to enter values for

"Date of trade"
"Time of trade"
"Name of stock"
"Price"

Right now I'm using a calendar control I downloaded from
http://www.fontstuff.com/vba/vbatut07.htm and it looks good, but I'd also like to have an easy way for the user to select the time of the trade (in minutes).

Is there an easy way to have a time picker? Like a dropdown box maybe? I'd like to have date and time picked separately since the date will remain the same for a lot of trades but the time will always change.

I've googled it a lot and some people mentioned using the datetimepicker Access add-in but I'm not sure if that's right for me. Also, I'm using Excel 2007 but the form will also be used on excel 2003 machines, will that affect the choice of solution?

View 3 Replies View Related

SQL (Select All) Not Picking Up A Number

Jan 5, 2012

I have a CSV file which contains a list of records about offices. This CSV file is generated from another program.

I read the CSV file with VBA, a SELECT * SQL statement which puts the elements into an Office Object and adds the offices to a collection.

For some reason, when one of the Telephone numbers is read it is being identified as a Null value. If I manually open the CSV file and change it to a different number e.g. 12345 and try re-read the CSV file with SQL VBA the number gets read fine. Every other element in the CSV file reads fine except for this. The number itself is 7736786460.

Attached is the small snippets of code to read the CSV file which is fairly straightforward.

Code:

Sub LoadUnits()
Dim oRs As Recordset
Set oFSObj = CreateObject("SCRIPTING.FILESYSTEMOBJECT")
'Open an ADO connection to the folder specified
Set oConn = CreateObject("ADODB.CONNECTION")
oConn.Open "Provider=Microsoft.Jet.OLEDB.4.0;" & _
"Data Source=" & strFilePath & ";" & _

[code]...

View 7 Replies View Related

Different Formula Picking Up Same Columns?

Jan 5, 2012

Copied the below formula 1 column to the left - to pick up numbers 1 column to the left:

=IF(SUMPRODUCT(--(MOD(COLUMN(E7:AX7),3)=2),E7:AX7)=0,"",SUMPRODUCT(--(MOD(COLUMN(E7:AX7),3)=2),E7:AX7))

But the below resulting formula still picks up the same columns as the formula above:

=IF(SUMPRODUCT(--(MOD(COLUMN(D7:AW7),3)=2),D7:AW7)=0,"",SUMPRODUCT(--(MOD(COLUMN(D7:AW7),3)=2),D7:AW7))

View 1 Replies View Related

SUMPRODUCT Not Picking Up Values

Apr 10, 2014

I'm trying to use SUMPRODUCT as a sort of SUMIF/VLOOKUP hybrid. The following formula:

Code:
=ROUND(SUMPRODUCT('[12 GB BUDGET 15 V1 LOCAL VERSION.xlsx]
Revenue'!$G$3:$FM$3=$K2)*('[12 GB BUDGET 15 V1
LOCAL VERSION.xlsx]Revenue'!$G$27:$FM$27);0)

... should check for the value in cell K2 of the current sheet, compare it to all the values in row 3 of the Revenue sheet, and add up any and all values for those columns in row 27 where there's a match in row 3.

I don't get an error, but it's not adding anything up, either.

View 9 Replies View Related

Picking Up Random Samples

Sep 20, 2007

I have a excel file with names of employees and projects handled by them. In the 1st column is the name of employee and in the second column, its the name of the project. Every employee has approx 10-15 projects made by them.

I have another file with name of all employees in the 1st column. What is want is to insert the name of any two projects (taken randomly from 1st file) ahead of each employee.

View 9 Replies View Related

Picking Up Selected Data

Feb 4, 2008

I have Workbook with numerous worksheets,on one particular worksheet i require a formula/macro code that will pick up (say) those cells highlighted in red and then transfer that data set and the other selected information on that row to a another worksheet within the workbook.

E.g
Sheet 1 contains columns A to J;
Sheet 2 is where i require the information which is highlighted in red to be uplifted and pasted too.

so if Cell B2 contains the highlighted cell how would i uplift and transfer this along with data in cell C2,H2,I2 and J2 automatically to sheet 2.

View 9 Replies View Related

Picking Up Numbers That Add Up To Another Number

Apr 26, 2008

I have a question that has been bugging me for a long time and an answer to it can be a big timesaver for alot of excel users specially accountants that do account reconciliations..

lets assume that I have 3000 numbers(amounts) listed on an Excel spreadsheet vertically, and i know for a fact that the sum of most of these 3000 transactions equal a certian amount..lets say $1,200,320.23,
lets also assume that all these amounts on the list are unique..

now..I want to isolate these numbers(amounts) that add up to that $1,200,320.23 by way of highlighting them or any other method. once that is done, I would be left with the amounts that are causing the descrepency in that account. I wonder if there is any function, utility or even VBA code in excel or even another software that can help solve that problem..I hope my explaination was suffecient, let me know if you need further clarification.

View 9 Replies View Related

SumProduct Not Picking Up Data

Aug 1, 2008

I'm using the following formula to pick up data from another worksheet

=SUMPRODUCT(--(RawActuals!$A$1:$A$10000="jun"),--(RawActuals!$E$1:$E$10000=A236),RawActuals!$M$1:$M$10000)

It's picking up most of the data, but it's missing some - and it's to do with formatting of SOME of the data within the RawActuals sheet

212605Agency Staff - Professional & Other212701Staff Cost Tfr to Change Programme221112Property Rents - Passing Rent221310Hire, office/courtr'm/related eqpt

The 1st, 3rd and 4th lines are correctly picking up the data - but the 2nd is not. They are all set to the same number format.

View 9 Replies View Related







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