Averaging The 42 Newest Entries

Sep 11, 2009

I have two columns of data. In column A is a date and in B is a dollar amount. I need a formula to average the dollar amount in Column B for the newest 42 entries. Every month I have to add a row at the top of the sheet to enter a date and dollar amount. Eventually there will be more than 42 entries. Each time I add a row to the sheet my formula's range shifts down with it. Here is an example of the data that will eventually go past 42 rows.

A B
112/1/08 $4000
211/1/08 $4250
310/1/08 $5000
49/1/08 $4300

View 9 Replies


ADVERTISEMENT

Excel 2007 :: Where To Find Oldest To Newest Or Newest To Oldest Sort Option

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

VBA Detect Duplicates - Keep Only Newest Ones

Feb 23, 2012

I am doing a bit of data spring cleaning... I need some VBA that will look at column FT for duplicates. I want it then to keep only the most recent one, so it would delete the others rows completely. Column B contains a date and time. When removing the items it should make a copy of them to the sheet Delete Log.

View 1 Replies View Related

Extract Newest File From Directory

Jul 21, 2008

I have an excel spreadsheet that has a list of pathways to different folders (ex. Q:TechnicalY001) in each row. I want a macro that will search each of the folders I list in a range of cells and return the most recent file by the Date in the filename:

Example: Cell A1 contains folder path Q:TechnicalY001
Cell A2 contains folder path Q:TechnicalY002

The macro would return the most recent file in Y001 and dump the filename into cell B1. Then it would return the most recent file in Y002 and dump the filename into B2.

After I have all of the most recent filenames, I want to be able to search each of those files for data in certain cells and then dump that data into the spreadsheet. The cells are always going to be the same in each file.

View 14 Replies View Related

Find Newest File In A Folder

Oct 29, 2008

I am doing a project for work at the moment where by I have to manipulate a report compiled by an external program and do various bits and bobs to it. Trouble is, the other program creates a new version every time it runs the report (i.e filename.1.xls, and the next day filename.2.xls, and so on). Is there any way of searching the folder these files are in to find the newest file and select that one as the one to open and manipulate? There will be no files other than these in the folder.

View 5 Replies View Related

Formula To Get Newest Data From List

Jun 23, 2009

I'm trying to figure out a formula to that will pull the newest data from a list. So say I have a list A2:A20. Each week a new number will be entered into the next cell (in this case A21) making the list longer. Is there a formula or some script that will allow me to do this? I have tried a few different things and cant seem to figure it out

View 4 Replies View Related

VBA To Remove Duplicates And Keep Newest Date

Dec 6, 2013

I have a pretty good size file here where I need to remove duplicated date BUT keep only the Newest Record.

What is Needed is to look at "test Group Identification" and compare it to "Actual Start Time" and keep only the Newest Record and remove any Exact Duplicated data

See example of Data.

Test Status
Test Group
Test Group Identification
Actual Start Time
Want I need

Completed
CMTS
cdn01.bellsrd.va.richmond.comcast.net
09-Jan-2013 15:48:25 EST
Delete

[Code] .....

View 3 Replies View Related

Selecting Newest Date From A Column

Dec 22, 2009

I want to seach and select the newest date in a column. There are green, red and black fonts in the column. I only want to only seach the cells with black fonts.

View 9 Replies View Related

Find Oldest And Newest Date

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

Sort Dates In Column From Oldest To Newest?

Jun 11, 2014

I've got one very strange column of dates. The dates in the column are in different formats and probably the first thing would be convert them into one format.

They are, like...

04/07/2014 04:50
and
08/24/12 09:46:59

... type cells. The next thing would be sort them in some logical way not just by first number.

Column with dates.xlsx

What I am having now and how far I am, is...

They might be sorted in some way by month and date but not by actual year that is left out completely. It is just total mismatch and doesn't make any sense.

View 2 Replies View Related

Invert Stock Quotes From Newest To Oldest

May 4, 2009

I inted to invert stock quotes from newest to oldest but I can't cope with it.

How to invert for example numbers like 2, 10, 3, 15, 1 into the form of 1, 15, 3, 10, 2 ?

View 9 Replies View Related

Finding The Newest / Latest Date In Each Record

Aug 26, 2009

I have a table that contains names and dates. I need to find the most recent / latest date in each record. For example:

Names Dates
A 01/02/09
A 05/25/09
B 06/09/09
B 07/30/09
B 01/02/09
C 03/09/09
C 02/28/09
D 12/12/09

The results should be:
A 05/25/09
B 07/30/09
C 03/09/09
D 12/12/09

View 4 Replies View Related

Delete Duplicates With Macro Keeping Only Newest By Date

Feb 14, 2011

I have a spreedsheet with 17,000 rows in it. In column D I have ID numbers and in column B I have the dates. There are multiple entries for each ID in column D which gives multiples dates each entry was given in column B. I need a VBA Macro that will identify duplicate entries in Column D and keep only the most recent entry by date in column B.

View 9 Replies View Related

Find Duplicate In Certain Columns And Keep Newest By Date & Time

Jun 20, 2006

In the included workbook I've got a sheet that needs to be updated every time a userform is completed. So I intend to run a macro after the data is entered to find duplicates, and delete the older row.

so, column A must match then column C must match then look in columns AK & AL to find the newest entry to keep. I also need to delete any rows where column A is empty(light Green), no matter what other columns have data.

In my example sheet all the yellow's match for column A but the bright yellow's are the only "keepers", because one has a different number in "C" and the other is the newest.

Also remember that this is just part of a much bigger, multi-sheet book so I will need to I.D. this sheet in the code.

View 9 Replies View Related

Create A Macro That Will Autofilter My Starting Dates In I To The Newest Date Entered

Feb 11, 2008

i wanted to create a macro that will autofilter my starting dates in I to the newest date entered. So ive recorded the macro: ....

View 9 Replies View Related

Macro To Open "Newest" Created Folder

Aug 10, 2007

I've been working on a macro that opens me up to a certain path so I can select a file.

This is the path sofar:

TheFile = "\datawhse
ootLAW81LAWSONprintRBLEVINS2anrvwfins1"
My code takes me there, but I want to go a step further if it is possible.

\datawhse
ootLAW81LAWSONprintRBLEVINS2anrvwfins1THE NEWEST CREATED FOLDER"

View 9 Replies View Related

Averaging

May 27, 2009

How can I do an average in Excel 2003 when it's not a range but I also don't want to count a certain cell when there's no data or zero? I have attached the spreadsheet.

View 6 Replies View Related

Averaging Only If NameID Is The Same

Apr 8, 2007

I'm trying to average data for the past 3 years. My spreadsheet is setup like this.

Year, NameID, Salary, Average Salary

I have the spreadsheet sorted by NameID so most people in the database will have 3 entries right after another. How do I determine an average salary for the person across all 3 years?

I need the average salary to display across from the most recent date if that is possible as well i.e. if the latest salary date is from 2006, I would prefer that is entered into the row corresponding to 2006 and leave the 2004/2005 rows blank.

Also, some people might only have 2 years of data so keep that in mind as well.

View 10 Replies View Related

Duplicates And Averaging

May 20, 2009

Column A has approximately 50,000 rows with unique property parcel numbers. Column B has numbers that represent an elevation point on the parcel. The parcels are not level. The elevation of a parcel varies depending where one measures. So,...I have many rows with the same parcel number in column A but the adjacent column B shows a different elevation. Is there any way to:

1) remove all of the duplicate column A parcel number rows so I have just one column A parcel number row.

2) get the average of all the column B elevations to show up on the same one row?

I should only have approximately 15,000 rows if I could get rid of the duplicates and get the average elevation. I have version 2007 but I have to share with others who have version 2003. I don't know if that makes a difference but I thought I should mention it

View 3 Replies View Related

Grading And Averaging

Jun 10, 2009

I have received a task to do for school and I tried my heart out but I can't seem to figure this out. It's really simple but I can't seem to do it... I'm not very good with excel.

The excel file is attached .....

View 14 Replies View Related

Averaging Words

Dec 1, 2006

I have a spread sheet and it has a column in it with a drop down menu. The words in the menu are Hot, Medium and Cold. I want to have it tell me which one if showing up the most.

View 13 Replies View Related

Grouping And Averaging

Dec 2, 2008

The organisation I wish to report on has many cost centres which each contain many people. These people are on many different grades, and each are on differing salaries (even those in the same grade).

One “reporting group” has many cost centres.

There are several reporting groups.

I need to report on average salary per grade / per reporting group.

I have attached some dummy data. The “rep group” tab displays the reporting groups and the cost centre mappings (ie reporting group England contains cost centres 1, 2, 3, 4, 5, 6 and 7). Note in reality the cost centres are not this simple, they are 6 digits and varying ranges.

In the “salaries” sheet each individual is listed along with their cost centre (in column c) and their grade (column d). Their salary is shown in E.

View 11 Replies View Related

Averaging Time In VBA

Oct 13, 2009

I have a column of data in Excel in the [h].mm.ss format. These values range from a few minutes to hundreds of hours. I need to get the average of these times.

My code is below. I'm getting a type mismatch error on the line that tries to add the time to the total. The line is in red. I've tried using a Integer, Long, Double, and Date as variable types for this particular variable. All with the same result.

View 9 Replies View Related

Averaging Of N Weeks

Apr 28, 2007

I am attempting to find the average units of the last "n" weeks. I wish to input the required number of weeks in cell D20 which will show the average in cell D22. In this particular example, I have manually calculated using the average formula....

View 9 Replies View Related

Formula For Averaging

Jun 16, 2007

I need some help with a formula. I've tried daverage, cant seem to get it to work. below is an example of the spreadsheet.

A B C D E
Date Name Project Score Pass?
5/1 Joe Test 55% No
5/1 Jan Quiz 88% Yes
5/4 Jon Test 100% Yes
5/9 Gary Test 75% Yes
5/11 Joe Quiz 90% Yes
5/18 Mary Test 45% No

Ok, I need a formula that I can execute from a different worksheet than the data is on. I need the formula to give me the average of the scores in column D for the criteria in Column C "Test". I tried daverage=(A1:E7, "Project", C1:C2) I cant get it to work. Do you guys know any other way to do this?

View 9 Replies View Related

Averaging A Vlookup

Jan 27, 2009

in Sheet1, i have 'part number' listed in column A and 'customer number' in column H. in column P, i have 'customer price' (for that part). so there are multiples of the same part numbers listed in column A.

in Sheet2, i have a summary showing totals for the parts (regardless of the customer), which includes SUMIFs for other columns such as pieces sold, etc. what i am looking to do is get the 'customer price' average by part (in column P/worksheet1) for each part on Sheet2.

Sheet1 sample:
Column A / Column H / Column P
31397 / 1001240 / $6.60
31397 / 1020312 / $6.65
31397 / 40020 / $6.63
31832 / 1047493 / $4.22
31832 / 1035195 / $4.22
31832 / 40017 / $4.40

So for Sheet2 i would like it to be like:
Column A / Column B
31397 / $6.6267
31832 / $4.28

i also need this formula to work if column P has any cells with zero entered.

View 9 Replies View Related

Averaging Columns

May 16, 2009

I'm making up a list of average scores across a season. I have an average column and I need to be able to deduct 10% from this average, then have excel ignore any scores below this new number and make up a new average (kinda like a handicap score).

I have columns for average (BD), 10% of this (BE) "ignore any score lower than"(BF) but Im not sure how to get excel to add up only the scores below the number in BF and make a new average column of only these in BG -

Last column would be to give each person a classification based on cutoffs (for instance 1-10=C Class, 11-20=B Class, 21-30=A Class etc etc). Is there a way to make "if BF=xxxx, make BH A, B, C etc?

View 9 Replies View Related

Averaging A Set Of Numbers

Jun 25, 2009

I need to average out a set of numbers but the amount of numbers inputed will vary, these number can also be either positive numbers or negative numbers but will never be 0.

How do i do this and I would like this in formula terms?

Say cells a3,b3,c3 were the numbers that I want averaged but there is not always a number inputted in each of these cells. I want the answer to show up in cell a4

View 9 Replies View Related

Averaging An Array

Jun 29, 2006

i've got a worksheet with 3 columns each declared, called date, place and avspeed
I'm trying to average the avspeed if it falls under certain criteria within the other 2 columns.

The dates are in day format and basically I require the average over the week

If tried using
=AVERAGE(IF(WEEKNUM(date)=45,IF(local=I4,avspeed)))

also declaring it as an array formula but both

also tried the following by summing and then counting the data and dividing one by the other, but so far neither are working

View 9 Replies View Related

Math Averaging

Jul 7, 2006

Trying to compute annual change I've always used the formula "(b1-a1)/a1" - where b1 is the current year, a1 is the prior year. I've been asked to compute average annual change over a number of years and thought simply by using the above for each year and then taking the average of all these, I'd be ok. I recently found a formula as follows: "(y2/y1)^(1/n)-1", where y2 is current year, y1 is 1st year I have data, n = the number of changes.

View 7 Replies View Related







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