Find The Top 5 /bottom 5 Values Using The Large/small Functions

May 28, 2009

I understand how to find the top 5 /bottom 5 values using the large/small functions, but the question I have is: How do I get associated fields. For example I attached a sample sheet with values (Fields: Ticker,TE,Sector,Return). How do I get the Ticker,Sector that the return is for. I'd like to show all the associated fields that relate to the retun, but I can't find the solution on how to do that.

View 3 Replies


ADVERTISEMENT

LARGE Vs SMALL- Array

Jan 8, 2010

I'm having a difficulty using LARGE and SMALL.I want to return the 1st to 5th value of an array (each in a different row) choosing months as criteria. While the LARGE formula works fine, when I replace the LARGE() formula for the SMALL() leaving everything else unchanged, the formula returns ZERO and there are no ZEROS in the original data! Here is the function:

View 4 Replies View Related

Find Top/bottom 3 Values From A Range

Aug 13, 2008

I now have everything set up to do exactly what I want except this last bit.

All I want is for the overview page to show the top three referrers for each month. At the moment, it's finding the top and bottom 'scorer' but if more than one has the same score I can only see the first alphabetically.

View 10 Replies View Related

Crashes :: One Large Workbook Or Many Small Ones

Aug 8, 2009

I'm writing an application in Excel, its a little over 5MB after I've run through UsedRegion and trimmed stuff, 94 worksheets. I'm encountering a fair number of crashes these days. My OS is fully patched as is MS Office. Running Windows server 2003 and Excel 2007.

I was wondering about the pros and cons of writing an application in one large workbook or many smaller ones. So far its been one large one but these crashes are really impeding my progress.

What's the best way to remedy these crashes or even start to diagnose?

View 7 Replies View Related

Use SMALL() & LARGE() Function Without Duplicates

Sep 3, 2009

I have a column of number that I want to use the Small & Large function on, skipping duplicates.

Example:

Column A has the following numbers;

1
6
1
4
3
2
4
6
17
8
21
8
10
13

I want the Small function to identify the first lowest number (1) and then the second lowest number (2), not (1) again.

View 9 Replies View Related

Macro: Small & Large Formula

Dec 6, 2006

I wondered if there is a possibility to make this

Range("L3").FormulaR1C1 = "=SMALL(R[-1]C[-11]:RC[-11],1)"
Range("L4").FormulaR1C1 = "=LARGE(R[-2]C[-11]:R[-1]C[-11],1)"

more simple so i can get the range for my small and large formula's variable? What i try to reach here is:

Range("L3") = smallest date In Range("A2", Range("A" & Rows.Count).End(xlUp))
Range("L4") = largest date In Range("A2", Range("A" & Rows.Count).End(xlUp))

View 6 Replies View Related

Identifying Small Tables In One Large Table

Mar 23, 2009

I have a data dump, on this single excel sheet their are a large number of tables, up to 100 in all, and what i need to do is extract key figures to form a summary table which i then produce stats for.

What i need is a macro or code that will automatically scan the tables, retrieve the key figures and return them in my summary table.

Attached is an example, you will see three small tables labelled Servicing query complex, servicing query simple and total.

I need to extract the blue cell, being the name of the table, the purple cell being the last figure in column c in each table (total number or processes) and the green figure being the the average turnaround. The final figure is i think the hardest to get as its the total number of figures in column c that have either a 0 or a 1 in Colum A. Note that their will be table where neither 0 or 1 will appear.

All figures are dummy figures but the table structure is correct.

View 14 Replies View Related

No SMALL And LARGE With SUBTOTAL On Filtered List?

Oct 17, 2011

I have sales data in columns, the right most column has values in it.

If I filter the data using the standard Filter, I can add only filtered records by using SUBTOTAL(9, filtered_list) and this gives me the answer.

How can I find the 2nd largest or second smallest ONLY from the filtered data without using a Pivot table?

View 5 Replies View Related

How To Sort Multiple Colums From Small To Large

Feb 9, 2012

I have a question about sorting. I would like to sort multiple columns from small to large at the same time. Is this possible? I have over 400 columns to sort so I would rather not do this one column at the time.
Example

A.... B.... C
0.2 0.4 0.3
0.4 0.3 0.5
0.1 0.6 0.1

shoud be

A.... B.... C
0.1 0.3 0.1
0.2 0.4 0.3
0.4 0.6 0.5

View 1 Replies View Related

Excel Only Shows Small Fraction Of Rows In Large File?

Jun 26, 2013

I have a file that has been produced using Statistica software. The file is supposed to have around one million rows, and when exported to Excel the file is about 30 MB. When I open the .xlsx file in Excel 2010 only two pages of data appear. The rows also have weird numbering. The first square of the A column is A1. The second is A3833, the third is A6789, then A8161, then A8162, then A8163, then A8164, then A18070.

The scroll button to the left of the screen is long, as if the document was only two pages long. When the scroll button is click-and-dragged a small beige square appears with a row number. This small square seems to be aware that not all rows are shown as it shows many more rows than are visible to me.

View 3 Replies View Related

How To Find 1 Value In Range Of Other Large Values

Mar 24, 2013

I'm looking for a formula that would tell me if a value in colume E can be found in column M while the values in column M may have characters before and after the value I'm looking for. The values are alpha and numberic in many cases.

Find E2 in M:M where E2 = 0123 and is in M:M as a15012388. The "yes/no" result is marked in red where I would like to have the answer.

Description
Looking For
Yes/No

[Code].....

View 4 Replies View Related

Find Row Of Large Value In Array And Return Values In Different Named Range

Feb 28, 2012

I have four named ranges (Segment, Keyword, Impressions and Dropdown) and I would like to create a formula-based ranking of keywords by impressions and clicks. Using the following array formula, I am able to return the correct values for impressions or clicks:

{=LARGE(IF(Segment=DropDown,Impressions),$H7)} where $H7 is the number ranking 1, 2, 3 etc.

My question is what array formula could be used to find which row in the array returned that number and then pulls the data from the same row in the other named ranges?

Essentially find row of {=LARGE(IF(Segment=DropDown,Impressions),$H7)} but return Keyword and Clicks on that row.

Other Notes: I cannot use pivot tables and some values might be the same which would make Vlookups not accurate for duplicate values.

Link to an example document to clarify this. [URL] .......

View 9 Replies View Related

IF Functions To Reduce A Large Number Of Bands To A Smaller Set

Nov 27, 2008

I'm using nested IF functions to reduce a large number of bands to a smaller set using the following formula:

=IF(LEFT(D4,1)="

View 9 Replies View Related

Find Small Amount Of Data Amongst Lot Of Empty Cells?

Jul 1, 2013

One of my datasheets by necessity ends up as about 25,000 rows long, but only about 40 of those rows have data in. The rest of the rows are empty.

If a row has data in, there will be data in every column on that row, for example if row 2 was not empty, there would be data in A, B, C . . . and all the way to the last column without missing cells along the row.

I need to copy those 40 rows without blank rows in between. At the moment, I have a macro that deletes blank rows, but it takes hours to run.

This is the code that's being used at the moment:

Sub DeleteBlankARows()
Dim r As Long
For r = Cells(Rows.Count, 1).End(xlUp).Row To 1 Step -1
If Cells(r, 1) = "" Then Rows(r).Delete
Next r
End Sub

View 4 Replies View Related

Calculating Nearest Value From Small Range Of Values?

Sep 10, 2013

If I have a list of 6 values and a number that I want to get as near to as possible (above or below) using any, and as many as needed, of these 6 values - is there a way of calculating the nearest value? And, if there is, is there also a way of showing which values would be used?

Example:
Value 1 = 0.190
Value 2 = 0.278
Value 3 = 0.593
Value 4 = 1.079
Value 5 = 2.075
Value 6 = 2.998

Value I want to get as near to as possible = 3.644

View 13 Replies View Related

INDEX MATCH And MIN / SMALL To Pull First And Second Smallest Values From Array

Jan 18, 2014

I'm using this formula to lookup data based on the lowest average.

[Code] .....

The problem is that the minimum average is a two way tie, and I need to return both data sets. It just happens to have the same average.

I've tried using SMALL(array,1) and SMALL(array,2) in place of MIN above, but it gives me the same data set. I've also tried resizing using offset.

See attached : sample.xls‎

View 6 Replies View Related

Find And Copy From End (bottom) Of The Worksheet

Apr 1, 2008

I copy information from one worksheet to another. Now i specify the range to copy in the macro. What i need is for the macro to find the end (last row) of data and than copy everything from row 5 to last row.

The below is a macro i currently use:

Sub Import_FNGC()
Const TARGET_FILENAME = "2008.xls"
'
' import_FNGC Macro
' Macro recorded 1/30/2008 by wwrobel
'

'
myMSG = "This will clear the data and import information. Do you want to continue?"
Response = MsgBox(myMSG, vbExclamation + vbYesNo, myTitle)
Select Case Response
Case Is = vbYes
Range("A5:BM100").Select............

View 9 Replies View Related

Index Match With Small For Generating Result In Ascending Order Even If Values Same

May 19, 2014

Here is a code for me to print the names in ascending order even if values are of same means it is showing one name only instead of the other name

means if values are A=1 B=2 C=3 D=4 E=2

it has to show like this A B E C D

But the result is coming like this A B B C D

Formula which i used

=OFFSET(B$6,MATCH(SMALL(C$6:C$18,ROW()-ROW(C$6)+1),C$6:C$18,0)-1,0)test.xls

Here i am attaching the sample file for your reference

View 10 Replies View Related

Find The Bottom Left Cell Of A Range

Oct 27, 2008

I am trying to find a code that will simply find the last cell in Column A of a named Range (titled: ConditionlFormatArea)?

Also IF I could get a line(s) of code that would just find the last cell in Column A of the Used Area.

I ask for both because I am not yet certain which line of code will work best for me.

When I have that cell located I need to Remove the Conditional Formatting. I think I can get the code for that part.

View 9 Replies View Related

Chart Top Or Bottom X Values

Dec 1, 2006

Chart Building With Ranked Data. I have adapted the offset formula for my spreadsheet, but what to do if 2 values tie. I need the top 10 values to populate my chart, but if there are two values which rank joint first place, the formula only extracts the first value. Is there any way I can get round this?

View 2 Replies View Related

Rank Values Into Top/Bottom X Scale

May 21, 2008

I am creating a Power Poll Spreadsheet for a Fantasy Football League, and I need to create a code that will take the win/loss columns and in a new column assign rankings so that the team with the most wins gets ranked '1st', then '2nd' etc. I'd like it to, in the case of a tie, rank both teams equally 'the 3rd and 4th best teams both have identical records, so both get ranked '3rd' and the '4th' ranking gets skipped.

I have searched for a formula to allow this, and I can't find it. Can anyone help? As an aside, is anyone aware of a place I can find a listing of formulas that can be used in sports ranking, etc?

View 8 Replies View Related

Macro To SummIf Values At Bottom Of Page

Jan 5, 2007

Referencing the spreadsheet below, I'd appreciate some help with a macro that finds the last row of data in a spreadsheet, and fills in all the data from cell C22 through H23. There are many spreadsheets like this one in my workbook. The last line of data is usually at a different line for each spreadsheet....

View 9 Replies View Related

Print Previewed A Worksheet And Find A Tiny Image With A Small Portion Of The Print Area

Mar 27, 2009

I just converted from Excel 2003 to 2007 and print previewed a worksheet and find a tiny image with a small portion of the print area. When I look at the sheet in page break preview mode, I see the 8.5 x 11 sheet broken up into approx 77 smaller sheets. When I try to move the page breaks to include the whole sheet it states the change cannot be made as it will result in an image less than 10%. I have attached two images - the first shows the print preview I get, and the second show the multiple pages when I view in page break.

View 4 Replies View Related

Functions To Find Value

Mar 9, 2007

I have struggled with this and can't make it work. I am not sure if I should have used a lookup function.

I have this function in a worksheet:
=IF(AND(I62<F62,I63>F63),B64,"0")

The problem is that cell I62 may contain a value or 0. If 0 then I need to go back up through four cells I61 to I58 to find the value. Only one of the cells I62 to I58 will contain a value. The rest will be 0.

To try and do this I wrote this function but it does not work.
=IF(AND((IF(I62>0),I62,"IF(I61>0),I61,"IF(I60>0),I60,"IF(I59>0),I59,"IF(I58>0),I58,"I27""""")<F62,I63>F63),B64,"0")

View 9 Replies View Related

Adding Values To Bottom Of Row In Range In Excel After Index Match

Jul 12, 2013

Basically, I am trying to write a program that will index match through a range and if it doesn't find the value that it is matching to, it will add the value to the bottom of the range it is indexing against. In other words:

My C column has a list of CUSIPS. In column J, I would like for the User to be able to add a list of cusips and then have the ones that don't already exist in the list of CUSIPS in column C be added at the bottom of the range. I have written a macro now that uses the index match, but for some reason it adds all of the cusips that exist in J range to column C, not just the ones that are missing. I can provide a template if necessary.

Sub Filler()
Dim Row As Variant
Dim NumberOfRows As Long
Row = 0

[Code]...

View 4 Replies View Related

Create Formula That Creates Average But Excludes Top 10% And Bottom 10% Values?

May 5, 2014

how to create a formula that creates an average but excludes the top 10% and bottom 10% values?

View 5 Replies View Related

Find Value In Large Range Of Data

May 29, 2014

I have enormous amounts of data to sort through (as we all do) and I am trying to link them to unique identifiers for easier data maintenance later.

What I want to do is vlookup from the 'solved' sheet a code, which will search the 'data' table and return the 'DFU' code.

Example 2905.xlsx

View 5 Replies View Related

Using Lists To Find Information In Large Db

Nov 20, 2008

I have a sheet with many columns of data relating to different companies as shown below (obviously my actual sheet has much more data):

NOTE: the Mr. Excel forums display the data in the correct form. I've tried to fix it here but obviously that didn't work perfectly, so if you want to view it correctly, click on the link above.

Comp Name Facility Name Product Name clean date
Comp A
Plant 1A Prod A1 11/11/2008
Prod A2
Prod A3
Prod A4
Plant 2A Prod A1000 12/1/2008
Prod A1001

Comp B
Plant 1B Prod B1 12/5/2008
Prod B2

In a new worksheet I want to see only the information relating to the Facilities, specifically the clean date of each facility, such that the information looks something like this:

Facility Name clean date

Plant 1A 11/11/2008
Plant 2A 12/1/2008
Plant 1B 12/5/2008


I know that I can use a simply vlookup formula such as the one below:
=VLOOKUP(C21,Info,3,FALSE), where C21 is the Facility Name and "info" is a list of the last 3 columns of my initial datasheet. However, I need to remember add each new facility name to the 2nd list when it is added to the main datasheet.

Is there a way to have the 2nd sheet automatically add the new facility name every time I add one on the main sheet, but without showing the many empty rows inbetween?

View 4 Replies View Related

Find Top 3 Value From Large Number Of Data

Apr 20, 2014

I am facing problem to make summary sheet of top 3 value from large number of value of my excel sheet like-

Sheet1

A
Group
B
Name
C
Value

1
Nashid
200145

[Code] ......

Now I want to make summary in sheet2 top 5 value among the list of sheet1 separately from group 1, 2 & 3.

If group number is 1 in sheet1 then top 3 value will be like this-
Group1
Name
Value

Nashid
200145

Jabed
184198

Eman
156622

If group number is 2 in sheet1 then top 3 value will be like this-
Group2
Name
Value

Rubel
172569

Hasin
152304

Monem
104463

If group number is 3 in sheet1 then top 3 value will be like this-
Name
Value

Romel
168251

Nasim
136357

Hasan
120410

View 1 Replies View Related

Find Function Within Large Data

Aug 1, 2006

I have a large amount of data, in columnA a list of cars, columnB a list of engines, in columnC the city built, in columnD the country to ship, in columnE distance, in columnF the time.

Now some makes, city's and destinations match and sometimes the engine, but i would like to be able to say cellX = (time to ship) where cellA = Ford AND cellB = 1.8 AND cellC = London and CellD = Ireland

The key data is the city built and shipping destination, so i'd like to say if cell A3 = London AND Cell B3 = Ireland AND Cell A5 = Ford AND CellA7 = 1.8 then CellA10 = (distance) & CellA11 = (time)

Vlookup's are of no use due to the large amount of data. But is there a way of writting this command in VB?? or am i missing something in Excel?

View 6 Replies View Related







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