Data Selection: Select The Data For First Year For Each Firm

Jan 5, 2009

i have data on firms for six years as the following :

1
1
1
1
1
1
2
2
2
2
2
2
3
3
3
3
3
3

how can i select the data for first year for each firm.

View 5 Replies


ADVERTISEMENT

Return Latest Reported Figure By Firm In Panel Data

Apr 16, 2013

I have data for various firms - such as revenues, employees, etc. - for multiple time periods. There is no uniformity, so for some firms I'll have data for 8 time periods, for others for 1, for others for 30, etc. I have hundreds of columns, but the three relevant ones are: in one column is firm ID, in another column in reporting date, and in another column is number of employees.

The attached sample data will make it easier to understand.

I'd like a summary table that tells me the most recent reported number of employees for each firm, and the date of that reported figure. If that firm never reported any employee figures, then the summary table should still have a row for that firm ID, but blanks in the 'reporting date' and 'employees' columns. So, the summary table should be 3 columns - firm ID, reporting date and employees.

The challenging aspect is that the most recent reported employee figure is not always the most recent date on which we got data from the firm (so I can't just do a sort followed by a 'remove duplicates'). It'll need either a multi-step formula solution or a VBA code (that's my guess).

The attached sample data will make it easier to understand. It has the form of data I have and the desired output form.

Excel help needed.xlsx‎

View 3 Replies View Related

Select Single Cell Data From Selection?

Mar 25, 2014

I'm looking to take some data from a selection of about 5 or 6 cells in a row, and use them for some formulas. I can only get as far as selecting the 5 cells.

If I have a row of 5 cells selected, how to I save each cell as a different variable? Does this make sense?

Cell 1 = number1
Cell 2 = number 2
etc..

I want to select them as a row to keep them all in one group. I don't know if this is correct or not.

View 3 Replies View Related

Select Different Data Tables From Cell Selection

Oct 6, 2006

In a particular battery sizing workbook I have 3 data tables on each sheet (Sheet2, Sheet3 and Sheet4) The table range is d22:u45, the same on each of these three sheets. What I would like to do is to when any one of three cells (labled "Sheet2", "Sheet3", or "Sheet4") is activated on Sheet1, transfer the data from that reppective sheet table range d22:u45 to the same range d22:u45 on Sheet1. And let me use that data in the Sheet1 worksheet subroutines.

View 2 Replies View Related

Copy Data From Different Sheets Weekly Into Master List With Data Of Whole Year

Mar 8, 2014

We have folders of daily cash collections stored in such a manner, yearmonth. In every month, we will have worksheets sent by the end user to the finance dept, naming it using mmdd. (The folder in the drive will reads: C:Daily Cash Collection2013), (C:Daily Cash Collection2013 0104.xlxs), (C:Daily Cash Collection2013 0115.xlxs). I intend to put the master list outside the year folder, meaning, in the Daily Cash Collection folder (C:Daily Cash CollectionDCC_2013.xlsm). When I have a new folder for year 2014, my master list will be here (C:Daily Cash CollectionDCC_2014.xlsm)

I am looking to automate this opening of all the daily worksheets, select all data except the header row, and copy it into a master list (which will be data for the whole year, with 3 months of the previous year data).

The data in the daily sheets, it will have collections of the same Debit Note number from the file sent earlier. Meaning, if the file was sent on 0104, there is a DN0114-0002, collection of $50. In another daily sheets 0115, it will also have a collection of DN0114-0002 of $20. This 2nd information of $20 will also need to be captured as the payment in 0301 is partial and incomplete.

I will need to copy the daily sheets into the master list every now and then. Is there a way to check and copy the daily sheets and not repeating it and missed out one?

In another words, if I had already copied Jan sheets into the master list, will it look for the next worksheet that I had not copy and copy according the DN number? (it will be in running number but sometimes will have DN of the previous month due to the partial payment ealier).

Alternatively, if this is too complicated, how to insert a macro to copy all cells except the header (will be in fixed column and the first row will be fixed) from an open daily sheet, find the last row in the master list and copy it to the master list, and after copying, unclear the selection of the daily sheet and close the daily? Where can I put this macro as the daily sheet is from the end user. I can only put it into my master list, but my problem is, the file name of the daily sheet is not fixed, it depends on the day the end user saved and email the data to Finance Dept.

DCC foler.jpg

View 10 Replies View Related

Average Daily Data Into Month And Year Data

Feb 26, 2014

I want it to average based on month and year. I have daily data and want to average everything for say January 2000 into one cell and February of 2000 and so on. Column A has date (mm/dd/yy) and column B has data.

View 13 Replies View Related

Load Rows Data On Selection Of Data Validation List

May 28, 2014

I want to load the actual data exist in the rows by selection value from the data validation list.

E.g I have two worksheet in one excel file. One has a data activities of persons with their name like two columns i have in which one exist the name of person and second exist the activities which they perform.

On the second sheet, i made a data validation list of all the person names

Now my requirement is, when i select a person name from the list, load all the data from the 1st sheet to second sheet. Is this possible without VB code, because I want to share it on the Google sheet with my boss, where VB sheet is not supposed to work.

View 13 Replies View Related

Excel 2007 :: Using Formula On Filtered Data - How To Select Only Visible Data

Jun 1, 2011

I have a 5000 line table I am filtering by a few columns, and I'd like to calculate an exponential trendline value.

=INDEX(LINEST(LN(R1059:R1167),W1059:W1167),1)

But I actually don't want all the values from R1059 to R1167 - I want to select only the displayed values (R1059, R1068, R1077, etc). Is there a way to select only display values to use in a formula? The problem is it would be a lot of manual work to select them all - there are 50 or so instances I would have to select 13 manual values.

I am using Excel 2007 on XP.

View 8 Replies View Related

Firm Size Based On Employment

Dec 30, 2008

We have list of firms and employees for six years and we need to give size no 1,2 or 3 for each firm based on average number of employees as the following :

size 1 for 1-9 employee
size 2 for 10-999 employee
size 3 for 1000-above

View 5 Replies View Related

Select Data With Dropdown And Fill Data?

Jul 31, 2014

I have a database (spreadsheet) which has 3 to 4 dozen columns of data. This data is in Sheet 2. On sheet one I would like to have a form which organizes the data on one sheet from sheet 2. I would like to have a drop down box to select the country. Once country is selected all data to the right of country would then be automatically filled on Sheet 1. see attached example.

View 2 Replies View Related

Select Only Year Via Vba

Oct 10, 2009

I have a date lijke : 10.10.2009
How can I via VBA select, only the year , like 2009

View 9 Replies View Related

Extract Data By Certain Year

Mar 7, 2013

I have 2 columns. One is the years and one is the the associated data.

I need the associated data(BP values) to be sorted in years like shown in excel sheet attached.

View 3 Replies View Related

Finding Data From Last Available Year?

Apr 9, 2014

There is a data where values of indicator (in this case Gini coefficient for different countries) is not available for all years - some recent ones are missing - see the picture. What is the most efficient way to find the most recent data in a row?

View 1 Replies View Related

Return Data Corresponding To A Certain Year

Nov 22, 2007

how to lookup a bank holiday lookup sheet to drop in to another sheet in a row beneath each other using the year as a lookup only!

View 5 Replies View Related

Displaying Data By Category By Year

May 1, 2014

DATA: list of films released by year, with box office totals and genre

GOAL: Function to sort data by year, then displaying how many films in each genre were released each year. E.g. horror comedies, romantic films released in 1981, 82, etc

Is there a function, or series of functions, by which I can do this without having to sort through manually?

View 3 Replies View Related

Averaging Each Year Of Data With Zeros

May 8, 2014

For taking out zeros i am using =sum( : )/(sumproduct(( : <>0)*1))

im trying to use {=average(if( : ="1962", : ))} for each year in date column G and average data in column N.

How would i put this together?

Average each year starting with 1962 without counting zeros.

*attached is the file example

View 3 Replies View Related

Average If Data Is In Same Month Of Same Year?

Jun 4, 2014

So I have some data that I would like to have average only if that data was entered in the same month and year as specified in another cell. What I have tried so far is:

[Code] .......

-RenewalMonths is a dynamic range where each cell in the range shows the month of the date in that row.
-RenewalYears is the same but for the years.
-RenewalOverallStuff is a dynamic range where I would need to average the data that meets the criteria.

View 2 Replies View Related

Averaging Each Calendar Day Of A Five Year Data

Jan 13, 2009

I want to find the average value for each Jan 1st, 2nd, 3rd ..., for a data set of five years. How do I do this quickly? I can filter, but would have to do that 365 times and involves a lot of pasting. I tried a pivot table, but basically came down to the same problem, although I don't understand pivot tables that well.

View 9 Replies View Related

Select Year To Show Date In Day?

Jan 18, 2013

Basically I got to create a spreadsheet which needs to last 10 years......my workbook, has set up tab, a tab for each month, and a summary sheet.

At the start the end user needs to select a year in cell 'Set-Up & Info'!B8 (i use a dropdown box, so they can select the year)

I then want my April tab to think 01/04/ then the year which is in cell 'Set-Up & Info'!B8

I then custom format the cell below to show what the day is (Custom format "DDD"), so it the row below needs to be in a date format.

View 2 Replies View Related

Picking Up The Month And Year From A Data Field

Jul 29, 2009

i need to populate a field to show the month and year as follows: the data is entered in one field like this: 01/09/2006. i need another field to populate this: Jun 06. i have tried to use a few formulae but to avail. look forward to your response

View 4 Replies View Related

Return Year For All Data Over Threshold In A Row Without Macros

Feb 19, 2013

I have a financial model that returns ratios for various years. I would like to highlight in the summary part of the model those years where the ratio is over a set threshold.

For example:

A
B
C
D
...

1
2013
2014
2015
2016
...

2
31%
29%
41%
28%
...

3
Max:
30%

4
2 years over Max: 2013, 2015

In the above example, the threshold (Max) is 30% (cell B3), so the value in A4 would be "2 years over Max: 2013, 2015"

I have been able to do it manually by putting together a COUNTIF function along with various IF statements as follows:
=COUNTIF(A2:D2,">="&B3)&" years over Max: "&IF(A$2>$B$3,A$1&", ,"")&IF(B$2>$B$3,B$1&", ","")&IF(C$2>$B$3,C$1&", ","")&IF(D$2>$B$3,D$1&", ","")...

I even managed to get rid of the final "," by adding a second "," at the end and replacing the expression ", ," using the SUBSTITUTE function (yes, I am a bit **** when it comes to details).

My problem is that I currently have 16 years of projections and, although the above formula works, it requires manual changes every time I add / remove years.

I know that I can do it easily in VBA but the Excel file is to be shared with others via email and I know that their systems are setup to deactivate macros by default (and I don't want to rely on the user having to manually activate macros).

View 3 Replies View Related

Data Has Year With A Space And Need To Strip Time

Feb 7, 2014

Exported data in PDF and converted to Excel worksheet and some of the data contains a space in the year.

Example: 2/6/2 014 2:49 PM.

I used the =INT(A1) to strip the time off. Worked wonderfully. However when I need to sort by ascending/descending date , it does not put in order due to this extra space. Is there a formula out there that I can use to delete the space? All of the data doesnt appear this way. I am sure it is due to the conversion.

View 9 Replies View Related

SUM Data In Columns By Month And Year For Multiple Worksheets?

Jun 3, 2014

I have been trying to sum the data in each column on each tab of my workbook by month and year into one pivot table on a new summary worksheet within the workbook. In the summary pivot table, I would like to be able to select the description as labeled on the tab and a year or month and have the respective totals for each tab and set of columns displayed. The column headings may or may not be the same for each tab. I've been able to separate the data for each tab and summarize without dates or sum the data in columns by date via a pivot table, but I have not been able to consolidate the data for both tabs, with the option to select the month and year, in one pivot table.

View 2 Replies View Related

Lookup Function (view Data For Any Quarter Of Any Year)

Oct 9, 2009

I have spreadsheet that I use to display quarterly metrics. Within the workbook, there are two spreadsheets; (1) output (2) data.

Part 1: I want the ability to view data for any quarter of any year. In columns O-P, I have created a dropdown for the year I want to view and option buttons for the quarter I want to view.

The data is organized in one sheet and includes all information by quarter.

As an example, say I want to display data for District 112 and I want to display data for the 3rd Quarter of 2007. I am trying to create a formula that would look in the table as follows: (1) look for district 112 then (2) look for 2007 then (3) look for 3rd quarter then (4) look for units sold. I tried using a modified lookup function but didn’t have any luck.

Part 2: The second part of my question is similar to the first part but in this case I need to summarize data (cells $B$18:$D:$22).

As an example, say I want to display the total number of sales in the U.S. for the 3rd quarter of 2007. In this example, I would look in the table for the following: (1) look for Division then (2) look for 2007 then (3) look for 3rd quarter then (4) sum all based on criteria.

View 4 Replies View Related

Pivot Table : : Get Data For Desired Financial Year Only

Nov 23, 2006

I have a sheet with following columns

Zones Month Revenue
Zone1 Apr-05 1111
Zone2 Apr-05 2222
Zone3 Apr-05 1222
Zone1 May-05 1451
Zone2 May-05 452
Zone3 May-05 4622
Zone1 Jun-05 891
Zone2 Jun-05 255
Zone3 Jun-05 1555

and so on all zones revenue each month.

I am learning Pivot table and struck at a point.

I am able to do simple pivot table but now want the following result

1. All the three zones in row fields.
2. Months in column field.
3. Revenue and running total of revenue (progressive sum) for all the months of desired financial years. ( I can get revenue and running total separately but I want these in alternate columns ie Revenue Apr-05, Revenue upto Apr-05, Revenue May-05, Revenue upto May-05 and so on)

Also how to get data for desired financial year only as 2005-06 (Apr-05 to March 06) or 06-07 (Apr-06 to Oct-06)?

View 9 Replies View Related

How To Merge Daily Sheets To Get Entire Year Data Is In One Sheet

Jul 18, 2014

I have an excel file with a large number of sheets with data, each sheet representing one day of a year. Is it possible to merge the daily sheets so that the entire year's data is in one sheet?

View 4 Replies View Related

Populate 12 Sheets With Data From Dynamic Dump Of Entire Year - Use A Macro?

May 9, 2014

I have a sheet with a data dump containing data on several railcars, taking up approximately 500 rows. Some railcars take up multiple rows, one row for each unique customer, and one railcar can have up to 5 customers' goods on it. What I need to do is get this information separated out onto monthly sheets, based on the departure date of the railcar. Every row of data in the dump has a column with the departure month I need in it, so that would make it seem easy. I have 12 sheets created one for each month, with the same headers as in the dump.

The two tricky parts:

1. The data in the dump is not sorted by railcar number, but the results in the monthly sheets need to be.

2. I don't believe LOOKUPS will work because rows in the dump repeat railcar numbers because of the multiple customers, and each of those rows has to be brought over to the monthly sheets, sorted and subtotaled by railcar number.

Finally, every week or so, I'm going to want to drop a new data dump in the dump sheet and need the monthly sheets to update dynamically. The new dump won't simply be rows added on to the same data as before, all the rows could be different. If this is solved most easily with a macro (i.e. drop the new data in the dump sheet, press a macro button and it populates the monthly sheets)

View 12 Replies View Related

Lookup: Pull Any Color Choices Associated With A Year From The Data Table On The First Worksheet

Jun 17, 2009

I have a data table that contains begin dates, end dates, and colors. The data is input starting with the earliest begin date. On a second worksheet, I have a listing of the years starting with the year of the first begin date and ending with the end of this year. I need to be able to pull any color choices associated with a year from the data table on the first worksheet. Some years may not be specifically listed in the data sheet as the person could have had the same color choice for several years. Sometimes a person could have more than one color choice in a year.

I am at a loss for how to get to the data I need. I created an example spreadsheet to demonstrate the data I am working with, and an example of what I need my results to look like in the end.

View 5 Replies View Related

How To Group Data (rows) Using Month And Year In Date Column Using Macro

May 11, 2013

I want to group data (rows) using month and year in date column using macro.

For example.

Date ID Amount
01/01/2013 12345 $100
02/01/2013 13452 $73
03/01/2013 12232 $50
04/01/2013 34232 $125
01/02/2013 12322 $67
02/02/2013 12345 $100
03/02/2013 13452 $73
04/02/2013 12232 $50
05/02/2013 34232 $125
01/03/2013 12345 $100
02/03/2013 13452 $73
03/03/2013 12232 $50
04/03/2013 34232 $125

I want to group rows by mm/yyyy in date column. Also I want sum amount column by month.

View 5 Replies View Related

Copy Data Based Off Of Fill Color (month) And Year From Another Workbook

Aug 3, 2006

I have a detailed note inside biweekly.xls, it explains everything in context.

Two excel sheets, one is updated manually (Vikki's Yearly Averages.xls), while the other is for reporting (biweekly.xls)

The coding will all be in biweekly.xls.

First, it needs to take a date to the right of a name from biweekly.xls and use the month and year from that date for the search.

Then it needs to look in VYK.xls under the name and copy every entry starting in the year specified and month specified and ending at the current date.

View 6 Replies View Related







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