Selecting Highest Value And Returning Data?

Nov 22, 2011

I have the following table of data...

ABCDLetter--100.0%-100.0%-----100.0%----100.0%-100.0%---100.0%---100.0%---100.0%---100.0%--0.7%99.1%0.2%-

I would like to populate the Letter column with A B C or D depending on which contains the highest value.

View 8 Replies


ADVERTISEMENT

Returning The Person With The Highest Value

May 31, 2007

I have some data as below and I want to return the name of the person with the highest value.

Col A Col B Col C Col D
John Peter Paul Luke
3 4 7 8

View 9 Replies View Related

Returning Two Highest Numbers From A Range?

Jul 5, 2012

I have a row of upto 20 numerical entries, (1,1,2,2,10,10,3,3,4,5,6,7,8,12,1,1,7,8,9,11) what formula do I use to go about getting excel to return the two highest numbers?

In this example I'd want excel to return the numbers, 12 and 11

View 1 Replies View Related

Selecting First Negative Number In Row And Returning Associated Column Value?

Feb 10, 2014

I have row of dates and underneath those dates I have a row of numbers. The numbers count down. For example:

[Code] .....

At the end of the row I want a cell to return the date that the row first started going negative at. In this example, it should display 10/31/2014 (for when it went to -60).

View 5 Replies View Related

Selecting All Data In Specific Columns Without Selecting Adjacent Column

Mar 10, 2014

Using VBA, I need to Select A1:C14.

The problem is that A1:C14 contains blank cells, and there is also an adjacent column D that I do not want to copy.

So, UsedRegion and CurrentRegion aren't doing it for me. (It selects Column D too.)

Obviously, this is an example...the real data set is an export and varies in size.

View 1 Replies View Related

Selecting One Cell And Returning That Value In Another Cell

May 3, 2007

I would like to select a cell in a range a1:h5 numbered 1-31 (days in a month)and return the selected cells value in another cell.

What formula would I put in the cell where I want the value of the selected cell?

View 9 Replies View Related

VBA Extract Highest And Second Highest Values

Nov 27, 2013

I'm attempting to put together a script which in simple terms finds the 'Highest and Second' highest activity and associated FTE for a given sub group.

To be more specific:

On the "Slide 1" sheet look at the values in column J starting at row 7 until blank;For each value, then search the "All Monthly Direct Activities" sheet in column C for the same value, excluding the 'Subtotal' rows;Where a match is found, compare all the values in column E for that sub group;And Find the highest and second highest figure;

Once these are found copy this figure and associated value in column B and paste onto the "slide 1" sheet.

I'm not particularly well versed in writing VB, but I've been working with the code to see if I can get this work, which I have been unable to do.

I have attached a file which may perhaps provide a greater detail than my description of the problem containing the 'Source' and 'Destination' sheets.

View 9 Replies View Related

Quick Max :: Possible To Show The Next Highest Rather Than The Highest

Jan 15, 2008

If I use =MAX(A1:G1) I get the highest value. Is it possible to show the next highest rather than the highest and if so how?

View 9 Replies View Related

VBA Code That Deletes All Data Except For Highest Value

Mar 27, 2014

What each piece of this code means and what it is doing? The more details the better

[Code] .....

View 1 Replies View Related

Consolidate The Data By Highest To Lowest Rank?

Jan 24, 2014

I have a data that needs to be ranked from highest to lowest. I used the Rank function to do this.After getting the rank, i need to consolidate the data by highest to lowest rank, while simultaneously getting the values of the column on the same row.

I used the index and the match function. And i was able to do that, but the problem is there are items that have the same rank. how do i consolidate the data from highest to lowest even if with same ranks?

View 5 Replies View Related

Formula That Will Rank Based On Highest Data

Mar 12, 2014

I am building a football stat database which I am looking to put in an individual sheet which will search the other 20 sheets, collate the information and then display a top 5 ranking in each area. For example, this is our setup for the data:

Screenshot 2014-03-12 21.56.18.jpg

So what I want to to is have a separate sheet which will have a section for say over 1.5 goals %. The formula would go and retrieve all of the % results for each individual team. Then it would rank the 5 best teams and display the team name in the first cell and the % in the other cell.

View 3 Replies View Related

Sum A Selection Of The Highest Numbers In A Range Of Data

Jan 29, 2007

I need to know how I can create a formula which will sum a selection of the highest numbers in a range of data. So for example, if I have a row of 10 cells each containing dfferent numbers, and I want to take the 7 highest values from there and get the sum of these values, how do I go about this?

I've tried using the LARGE command but can only get an individual figure.

View 9 Replies View Related

Finding Highest Value In A Week From Daily Data

Apr 20, 2009

I have two columns.

A column = contains dates but does not always have 5 days in a week. Holidays are not entered.

B column = price data for each day

All I want to do is get the highest price from the previous week. So for example last week highest price was 5000 then column C will display 5000 for this entire week. I tried using WEEKNUM and WEEKDAY but i am clueless on what to do after that. I'm trying to avoid macros or VB since im not that advance with that. But if I have to I will.

View 5 Replies View Related

Find The Highest Manager From 2 Columns Of Data

Feb 4, 2010

In the attched sheet I have a list of employee ID's in column A and the Employee's Line manager ID in Column B. In Column C I need the Line Manager at the top of the pile so to speak. These line managers are listed in column J (J2:J6)

At the moment I have been writing formulas accross 11 columns (there are 11 possible levels) to check the line managers ID in Column A and see if their line manager is in the top manager list, I do this formula for all 11 columns until the line manager in the list is found. If the Line Manager is in the list I simply repeat it for the next columns. The end result is that in the 11th column all employees will have one of these Line Managers from the Top List in their row.

Is this possible to do through VBA? I have thought about how I could do this through VBA but I have just hit a brick wall.

I'm not asking for someone to do all of this for me but if someone could give me a couple of hints around how to look up a value in a list through VBA and if it is even possible to repeat that process per line until the match is found, that would be great.

View 7 Replies View Related

How To Sort Data Based On Numbers From Lowest To Highest

Feb 17, 2014

I can't find a way to sort my data. It looks similar to below. And I need to sort them based on the numbers from lowest to highest.

Tom Simmon (23.2)
Jason Paige (19.1)
Jeff Johns (14.1)

View 8 Replies View Related

Monitoring Data: Record The Highest And Lowest Values

Jan 17, 2007

I have data in a worksheet coming from an external device that is updated via DDE. The values in the cell change every few seconds. I would like to record the highest and lowest values that these cells contain.

I want the peak values to be stored in other cells.

View 11 Replies View Related

Find Highest No. In A Column But Inclusion Is Based On Data In Other Cells

Oct 26, 2009

I’m keeping tabs of some clay pigeon shooting scores. I go to alternate locations each week and normally shoot 100 clays, however sometimes it’s only 50. I’ve used MAX to find the highest score in Column D of a spreadsheet and it did what I required. However I now wish to find the highest number in Column D - but only include rows if Column C = P and column E =100.


Col B Col C Col D Col E Col F
date Location score out of % hit

25/10/2008A6210062
08/11/2008P3510035
22/11/2008A4210042
06/12/2008P6610066
20/12/2008A6010060
03/01/2009P295058
17/01/2009A5110051
31/01/2009P4010040

In other words I want to find the highest score for location P but only if that week it was out of 100 shots. It would return 66. Then I can do the same formula for location A and it would return 62. I can’t see how to do this and have searched the forum to no avail. It doesn’t look like I can just use the MAX anymore and I’ve tried incorporating that into a (nested) IF but unsuccessfully.

View 2 Replies View Related

Formula To Count Highest Number Of Continuous Cells With Data In A Range And Their Sum

Apr 1, 2009

I have a range of 30 cells in a row. From that row there are groups of cells that have data that might be 1-7 cells populated in a row and in between these groups are blank cells in the row. I need to see what is the highest number of cells in a continuous row that contain data, what the mode is for continuous cell counts, and what is the average value for the data from the continuous cells. The average is a nice to have but not entirely necessary as most cell data will be fairly similar and I can get a close enough average just by knowing the average number of cells that contain data in a row. I have to do this calculation for about 1000 rows of individual data so its important a formula fit in one row.

Almost need a count function to count starting with each cell and then stopping at the first no no value it finds. Then it would show those counts and I could run a formula to pick the highest count and also show the mode of counts.

I will let the experts at it!, my weak mind could not think this one through. I thought something to do with MATCH for a while but no go from what I could do.

View 9 Replies View Related

Identifying Data In One Column Based On Highest Figure Data In Another Column?

Jun 19, 2014

I am trying to write a formula that shows the best grade for each each student and the subject in which
that grade was achieved.

In a previous post i was shown how to identify the highest grade

MAX(IF(A$3:A$34=A7,C$3:C$34))

I hit CTRL, SHIFT & ENTER to activate the formula - Result in column E

However, I also want to identify the subject in which they scored their highest grade in column F

I have two problems

1. I don't know how to write a formula that brings in the subject based on the grade for each student

2. I don't know how to write a formula in case there is a tie (see DAVID L)

View 11 Replies View Related

Selecting Data And Using It For Further Calculation?

Jul 11, 2014

I have got historical intraday-data of a stock index and first of all need to summarize them by seconds: The data looks like that:

time price
08.00.00 159
08.00.00 153
08.00.00 148
08.00.01 157
08.00.01 152
08.00.02 167
08.00.02 151
08.00.03 155
08.00.03 154
08.00.03 154

So I want to calculate the average price per second. Is there any formula to tell Excel that it should sort it by second and further calculate the average price of it.

View 5 Replies View Related

Selecting Only Cells That Contain Data

Sep 15, 2009

when run a macro to make the macro select all the cells in a specific column that only contain data i.e. i have a spreadsheet 5 columns wide by 23 rows deep, the macro at the moment selects the 5 columns (this never changes) but the number of rows always changes 123, 56, 1, etc i need to to always select the rows that have data.

View 14 Replies View Related

Selecting Data For A Chart In VBA

Dec 1, 2011

I have made a macro which generates a bar chart for many sets of data.

I'm having a problem at the moment however, as I need to generate a line graph on the same chart. How does one generate another x-axis and graph on a chart? Let me know if you want to see my current macro.

View 3 Replies View Related

Selecting Data By Values

Mar 19, 2014

I have a worksheet with about 10,000 rows of data and from this raw data I need to create 60 or so separate spreadsheets for 60 different companies- so around 160 some row actually pertain to a given client. However, it's not fixed and from one month to the next the actual number of rows changes so I can't just use a simple range. There are two possible ways to mark that the data pertains to a new client. But it will be easier to just show a quick example:

1/1/2014
CompanyA

Total
CompanyA

1/1/2014
CompanyB

So anytime it runs into "Total" in column 1 it should know to start another iteration or when the cell in column b does not equal the cell directly above it. Below is a truncated version of what I have so far:

Sub MonthlyStatements()
'
' MonthlyStatements Macro
'
' Keyboard Shortcut: Ctrl+w
'
Dim taxi As String
Range("F32").Select
Workbooks.Add

[Code] ......

View 1 Replies View Related

Selecting Data On Another Sheet

Jul 25, 2008

When I am trying to select a data range on another sheet within the same document, I get an error. My code looks like this:

activeworkbook.sheets("mySheet").Range("A1:D3").Select

View 9 Replies View Related

Selecting Data For Chart

Jul 22, 2009

I'm working on a macro that creates columnplots from a sheet of data.

The sheet is organised as a series of tables. Through a userform, the user selects the columns and rows that she wishes to include in the plot.

Is it possible to control the order in which the data is plotted?
For instance, the macro produces the following range to be plotted:

"$D$29, $B$29, $C$29,D33:D31,B33:B31,C33:C31"

where row 29 contains the table headlines, and rows 31:33 contains the data.
However, when I plot this, it always ends up as column B, then C, then D, rather than D first like I wanted.

I'm fairly new to both Excel and Visual Basic, so it's difficult to explain exactly what I'm after, but hopefully someone will understand what I'm after here..

View 9 Replies View Related

Selecting Data Without Using Filter

Dec 21, 2009

I have that list in column B and I want to put only those cells that end in "RET" in column C and put only those that don`t end in "RET" in column D, by using an automatic method, otherwise I`m gonna have to do it many times in many worksheets manually ;/

View 9 Replies View Related

Selecting Dates – In Msg Box And Data

May 16, 2006

I need a macro that will, (i) make a copy of the current sheet, (ii) let the user select the month to be selected from a list (Message box), then (iii) delete all other columns in the sheet that is not from the selected month and then, (iv) total the data of the selected month in the empty cell on the right.

The sheet contains data in the following way:

Column A = Description of data in rows
Column B to IV = in each column is a specifics day data
Row 1 = Branch Name
Row 2 = the date in the format 2006/05/16 for 16 May 2006
Row 3 – 361 = financial data

View 2 Replies View Related

Comparing Data And Returning Changes

Feb 24, 2014

I would like compare data using a certain column to key off of and compare whether data has changed.

I have 5,000 rows and 26 columns. Cell C1 is CALLED PMNUM, cell I1 is called CHANGEDATE

I want to find all of the same PMNUMs (C2-C5000), look at the last change date (I2) (sorted in descending order), compare it to the previous change date (I2) and if anything has been changed in columns D2 through G2 and J2 through Z2 compared to the last time the data was reported, list the changes in in AA2.

View 4 Replies View Related

Nested If: Returning All Data

May 14, 2009

The formula below

=IF(M22<=286.74>191.16,(286.74-M22)*30%, IF(M22<=191.16>127.44,((191.16-M22)*50%)+28.674, IF(M22<=127.44>79.65,((127.44-M22)*70%)+60.534, IF(M22<=79.65,((79.65-M22)*90%)+93.987. is returning all data based on =IF(M22<=286.74>191.16,(286.74-M22)*30%, and is disregrading the rest of the formula.

View 4 Replies View Related

Returning Data If A Value Matches

Apr 1, 2014

I have a reference vertical table which can be up to 30 long (I just put 5 here to keep it simple):

Sheet 1
A
B
1

[Code].....

And I want to return the data in the B column depending on whether the data matches either of the words in the corresponding A column.

E.g. Sheet 2
C
D
10
laki

The formula in this cell would return B1 because C10 = A1
11
katla

The formula in this cell would return B4 because C11 = A4

View 4 Replies View Related







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