Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Excel


Advertisements:










Extract The Highest Number In A Row To Another Cell


I have a list of names in one column and in the next column I have a list of numbers. The names and numbers go together. In anohter cell I would like to extract the highest number and the name related to it. The list changes often.

I would like to be able to put a heading saying that "name" (in anohter cell) made the highest score and the name is entered into a cell automatically.


View Complete Thread with Replies

Sponsored Links:

Related Forum Messages:
Formatting The Highest Number In A Row
I have a few rows in an excel sheet and I want to highlight the highest number(s) in each row.

I've been playing around with conditional formatting, and using the formula:
=$C23=MAX($C$23:$C$55)
in the conditional formatting box and selecting a formatting type, I can automatically highlight the highest number in column C (row 23 to 55). However, this formula only seems to work when I'm selecting columns of data rather than rows. If I want to highlight the highest number in row 23, the formula I'm using is:
=$C23=MAX($C$23:$M$23)
Which I think should highlight the highest number From C23 to M23, but it doesn't - nothing happens.

What am I doing wrong?

View Replies!   View Related
Highest Number In Row Then Info 23 Lines Down
I am attempting to pull the Highest number out of a row of cells. Then grab the info 23 lines below. What I have is a spreadsheet that pulls from other spreadsheets and tracks all of my sales for the year. This is divided up into tabs for each day of the week. I am a formula to find the highest sales for Tuesdays {LARGE(Tuesday!B8:BB8,1)} then in the cell below it I need it to show the date that days sales happened on. That date is listed 23 lines lower. I have tried using {HLOOKUP((MAX(Tuesday!B8:B88)),Tuesday!B8:B88,23)}. This kinda works. It pulls from the 23rd line but only from the first column. Not the column that has the highest sales. I have searched for a solution but I must not be typing in my question correctly.

View Replies!   View Related
Return Based On Highest Number In Row
Formula: ......

I am looking for the value in column G, a formula that will search B-F and return the Group with the highest percentage for each zip.

View Replies!   View Related
Rounding Up A Cell Value To Next Highest Whole Number
I have a whole number value in cell F18. In cell F24 I want to enter a formula that allows me to divide the value in cell F18 by 4 and if the result is not a whole number, round it up to the next whole number.

View Replies!   View Related
Extract A Row Number From A Range
I would like to know if it is possible to extract just the number of a row from a range. for instance range("c5") would give a row number of 3. Its probably simple but its evading my attmept to work it out.

View Replies!   View Related
Extract Top Row Number After Filter
I have to find out the top first number aftet filtering the data based on particular column. ie each time when i am taking each filter value the row will start from different number.

so how to find the top row number after filter? U got what i mean?

View Replies!   View Related
Finding Highest Number And Printing Anothers Cell Value
Cells L5 - L65 have percentages. B5 - B65 Have the associates names. I want to write something in another cell that looks for the highest percentage and then prints the name as the highest.

View Replies!   View Related
Extract Number From Alphanumeric String Located At Different Row
What is the formula to be used to extract number from a alphanumeric string located at different row?

example:
test123test128test131
test124test129test132
test125test130test133
test126test131test134
test127test132test135
test128test133test136

result: ....

View Replies!   View Related
Identify Row Number Based On Value In A Cell And Use That Row Number In A Macro
I have Sheet with 40 employees who each proposes their work schedule, so I have to give each Employee access to the same sheet and want highlight and unlock only those cells that specific employee can use.

Each employee has to login from a drop-down (sourced from Sheet.Employee Master), so their unique Employee Number is in "A13" of Sheet.LOGIN

Can I identify the ROW number and then use that ROW number in a macro to highlight and unlock specific Range of Cells in Sheet.PROPOSED SCHEDULE?
---where "Sheet.LOGIN("A13") = (the value in the cell Col A:"row" of Sheet.PROPOSED SCHEDULE)

I have attached a scaled down version of the Workbook.

Following code is scaled down-- this is for Employee 02 who appears on ROW 16 of the sheet. (macro is same for each employee, just uses a different row)

View Replies!   View Related
Extract Number From Text Cell
I have an extract from a call logging system; one of the columns is a description of the call (this column is extracted in Text format). Within some of the descriptions is a reference number which I need to extract (sadly this number isn't kept in its own field) - is there any way to determine whether a cell has numbers in it, and if so is there a way to pull them out into a seperate column? (preferably using a formula as I'm no good at VBA!)


View Replies!   View Related
Extract Text & Number From Cell
How can i extract text and number from a cell .For example I have a series of data like 453x, 45y in Column "A". I want text in column "B" and numbers in "C" column. The cell has variable data with diffrent length.

View Replies!   View Related
Send Row Number Of Changed Cell To Cell Where Row Resides In Cell
I have the following range of cells B2:Y3700. I want that when a value from 1 to 9999 is inserted in one cell of the above mentioned range, to copy the row number of that cell in the cell that is located in column Z and row is the number inserted in that cell. For example, if the number "1234" is inserted in one cell from range B2:Y3700, to enter in cell Z1234 the number of the row where is located the respective cell. At same the time is very important to me to not permit to insert the same number in B2:Y3700, so i believe that is need a macro code to check the cell from column z to see if value already exist .

View Replies!   View Related
Lookup Second Highest Number
I have a table of information which is sorted in ascending order. I have created a vlookup to find the highest value as close to 1 as possible.

Say it returns the value 0.95.

i now have another cell which i need to find the second highest value from the column of data.

however i dont know how to do it. because the second vlookup function just returns the 0.95 all the time and not the second highest value..

E.G.

Column A
0.70
0.75
0.81
0.84
0.87
0.90
0.95

So in the cell with the first Vlookup i get the value 0.95 returned.

I need then for the second cell to return the next highest value in this case 0.90.

Then third cell third highest

fourth cell fourth highest value etc.

View Replies!   View Related
Overwrite Highest Number
in cell A1 i have the balance. i would like to record the balance every time it reaches a new high in cell B1. how would this be possible please using excel 2007

View Replies!   View Related
Round Up To The Highest Number
this is a formular that i used to divide

=IF(Z6=TRUE,K6/MID(D6, FIND("1=",D6)+2,LEN(D6)-FIND("1=",D6)-1),K6)

the problem i have is that if i have 14 in cell k6 and 1=10 in d6 the answer i get is 1.40 what i need the formular to do is always round it up to the highest number
ie 2 not 1.4

example 1=10 20 answer 2
1=10 25 answer 3
1=4 11 answer 3
1=4 20 answer 5

View Replies!   View Related
Taking Next Highest Number
I have a dilemma. What I want to do is: If I input a date in a cell I want the adjacent cell to take the next highest number from a list on another worksheet. My example attached

View Replies!   View Related
Find Cell Value Row Number & Use For Column Number
to update these values via a form in this sheet. I can find the correct row to be edited by entering a value from column A and B. The problem is if I want display the values of that row first and then change it. If I want to change row 10 data how can I bring back the value in ROW 3 AND THE COLUMN VALUE? The next step would be to do the actual update if I want to change ROW 10 to "Ooi" and a sales value of 200?

This is what I have done so far:

Dim myRows As Integer

With Sheets("Mrt")

'Retrieve history information for row
For myRows = 4 To 49
If comboxDay.Text = Range("A" & myRows).Value And textboxdescription.Text = Range("B" & myRows).Value Then
textboxbedrag.Text = Range("C" & myRows).Value
chkBTW_Ja.Value = Range("D" & myRows).Value
txtNota.Text = Range("S" & myRows).Value
End If
Next
End With

Picture attached to show how sheet looks like.

View Replies!   View Related
Lowest/Highest Number Cells
I have a data listed from A1 to G1. What I want to do is

Check out all the numbers written in those cells, take the highest number among and write to the following cell (lets say A3)
also
Check out all the numbers written in those cells, take the lowest number among and write to the following cell (lets say A4)

View Replies!   View Related
Find Highest Number Based On Name
In sheet 1:
I have a list of customers and their current credit limit

In sheet 2:
i have a list of all payments received in the last 12 months.

my customers credit limits are set by multiplying their highest payment in the last 12 months x 1.25
(e.g. payment of $1000 x 1.25= limit of $1250)

what i want to do is:
1) look at the customers in sheet 1

2) check sheet 2 to see if they have made a payment

3) return their highest payment (if any) in sheet 1 Col. C

4) i can work out the rest


View Replies!   View Related
Highlight 2nd Highest Number
I'm using this CF to show me the largest number in a range;

=F10=MAX(F$10:F$33)

I now want to also show the second largest number in the same range.


View Replies!   View Related
Subtract The Lower Number From The Highest
I have name and a number in this

format: cell a1 Jones---56. In cell b1 I have another name i.e.,
Johnson---45. How can I subtract 45 from 56, take 60% of the difference
and in cell c3 show the following; Johnson---6. All numbers are to
rounded down to 0. The final result would look like this;
a1 Jones----56, b1 Johnson----45, c1 Johnson----6. I have other cells
with the same type of info in them. Example; a2 Smith----34, b2
Jones----78, c3 would show Smith----26.(rounded down) I always want to
subtract the lower number from the highest and take 60% of the
difference.


View Replies!   View Related
Return Highest Number With Date
column a has dates & column d has values - what is formula to find highest number in values and return it's date (using =large(Dxx:Dxxx, 1) to find highest number

View Replies!   View Related
Use Row Number Stored In Cell As Formula Row Reference
Column A contains numeric values that refer to a row number in column B. I need the value in column B to be outputted in column C. eg. if the value in Row 1 Column A = 55, the value in row 55 column B will be outputted in column C

View Replies!   View Related
Highest Letter In A Row
I'm trying to list the latest revision of a drawing in an issue sheet spreadsheet. What I need is to be able to enter a formula that will find the highest alphanumerical value in the columns beyond. Alphabetic characters take precedence over numerical - i.e., drawing issue numbers usually follow a 00, 01, 02, 03, then switch to A, B, C, D,... order.

To try and illustrate what I mean a little better, I have the following table, with dates in DD/MM format. Sorry it's not laid out too well, my HTML isn't great:

Drawing title latest revision 01/01 02/01 03/01 04/01 05/01 06/01
example010001AB
example02000102
example0300

I want the cells in the "latest revision" column to report the highest value. So, I want it to say this:

Drawing title latest revision 01/01 02/01 03/01 04/01 05/01 06/01
example01B0001AB
example0202000102
example030000

I won't have control over the numbers and letters reached (i.e., the drawing revision could get up to Z or something - or the number revision reach 15 before switching to alphabetic revisions) so I'd rather avoid having to set up a crazy IF function with "00", "01", "02", "03", "04", etc etc. But -

View Replies!   View Related
LIST Funtion: Find The Highest Number ?
I have several worksheets where I input data, and I would like a 'stats' page as worksheet 1. Work sheet one is a list of names in cells A4:A28. column B,C,D,E,F, and G contain the results using Countif. How would I now get excel to look down a column, for example B, to find the highest number in that column and then use the name from that line but in column A.

View Replies!   View Related
Highest Number From File Names In Folder
I need a macro which checks for next available number from list of filenames in a folder. Then it returns that value to one predefined cell in a new document (here Untitled.xls). For example:

c: est

has the following files:
Untitled.xls - read only
abc-09-001.xls
abc-09-002.xls
abc-09-003.xls
abc-09-004.xls

Next available filename should be "abc-09-005" and macro returns that value to predefined cell in a new document (Untitled.xls). There should be NO saving at this point whatsoever. Macro simply picks the next value from a filelist. As you've noticed the value has some constants too. New document doesn't know the last picked value before macro is active (predefined cell should be empty at startup).

View Replies!   View Related
Averaging Only The X Highest Numbers In A Row
Is there a way to average only the X highest number of scores in a row?

What about if there is an additional condition, i.e., if the column
heading says "Quiz", for instance, instead of "Test"?

View Replies!   View Related
Vlookup (search All Of Column A For The Highest Number In The Range)
I WANT it to search all of column A for the highest number in the range (which will change daily to a new high number above the highest currently), and return the value in column 4 (column D) that corresponds to that value from column A. This is what I have, but it is not working, it is giving me the number (1) in Cell A800 (which is the lowest valued number in my range. The numbers range in value from 1 to 762 with none repeating (they are sequential). The formula I have is :
=+VLOOKUP(MAX(A76:A2000),A76:I2000,4)

View Replies!   View Related
Indirect Address/match: Pull The Highest Number
I am trying to do season stats for my roller derby league. I have a great spreadsheet going but the one thing I want to do, I can't seem to do. I am attaching a "test" file. very simple and small but shows what I need to do.

I have different sections and I am trying to pull the highest number out of that section. For this example, it is under the green Jams Skated: Jams at Jammer. The number on the right is the highest number of jams skated while the number on the left should be the name of the skater who has this number. Okay, no problems there. My problem occurs when I try to move these same formulas to another sheet. in this case, sheet 2. It pulls all kinds of strange things.

View Replies!   View Related
Show The Headings Of The Four Highest Marks In Each Row
I have tried to construct a formula for columns M N O and P to extract the names of the four best marks for each student. I have used the 'Large' formula but it does work when there are equal marks in the list.

Has anyone used a formula to order the first four highest marks and show the headings?

Here is a sample of the Spreadsheet I am using.
(Using Excel 2003)

Column headings are:
(ignore the commas - they are just spacers for the data when posting)

,B,,,,,,C,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,M,,,,,N,,,,,,O,,,,,P

Foot, Athl, Base, R.Cl., Rug, Crick, Tram, Bad, TT, Gym, Golf,,,,, 1st,,,2nd,,,3rd,,,4th

,20,,,,,25,,,,21,,,,,19,,,,22,,,,,20,,,,,24 ,,,25,,,,21,,,24,,,,19,,,,,, Athl Bad Tram Gym

,25,,,,,21,,,,19,,,,,22,,,,20,,,,,24,,,,,25,,,,21,,,,24,,,19,,,,25,,,,,, Foot Tram Golf Crick

,20,,,,,26,,,,25,,,,,21,,,,19,,,,,22,,,,,20,,,,24,,,,25,,,21,,,,24,,,,,, Athl Base TT Bad


View Replies!   View Related
Sum The Highest 3 Values In A Pivot Table Row
I have a Pivot Table with 10 columns of data (numbers with a value of 0 to 1000) and a Total per row - all okay (1500 or so records).

For each row, I need to add the highest 3 values from the 10 columns to make a new total. Is there an easy formula I can add to the Pivot to do this?

View Replies!   View Related
Filter Show The Most Recent (highest Row) Unique Entry
Is there a way to make Advance Filter show the most recent (highest row)unique entry instead of the first entry (lowest row)?

For instance if a spread sheet has

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

I want to keep the "1 3", "2 3", and "3 3" entry, not "1 1", "2 1", and "3 1".

View Replies!   View Related
Formula To Count Highest Number Of Continuous Cells With Data In A Range And Their Sum
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 Replies!   View Related
Autofill; Copy Down It Doesn’t Automatically Update The Cell References Because It Want To Update Them By Column Number Instead Of Row Number
I have a basic formula =C17+'Asset Depreciation 2008 Onwards'!C24, and I want to copy it down just using the drag function. Problem is that the second reference range of cells are in rows and hence when I copy it down it doesn’t automatically update the cell references because it want to update them by column number instead of row number. IE I want it to display =C17+'Asset Depreciation 2008 Onwards'!
D24, instead of C25. Do you know if there is any way of telling Excel that I want it to increase the column number by 1 every time, instead of the row number for this part of the formula?

View Replies!   View Related
Quick Max :: Possible To Show The Next Highest Rather Than The Highest
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 Replies!   View Related
Hyperlink Cell To Another Sheet Where Row Number Is In Cell
I have two worksheets. A data sheet that can stretch to thousands of records which each span around twenty (ish) rows; and a sheet I arrive at via a macro which contains rows with selected data from the records in the first sheet. Column A in the second sheet contains row numbers corresponding to the start of a chunk of data in the first sheet. I need to hyperlink (or create a macro to link) from the row value in sheet2 column A, to the corresponding row in sheet1.

View Replies!   View Related
Get Row Number From Cell Value
I am using the following macro to fill out a table and then goal seek a solution based on input. The macro works in its present state, but I need it to do more.

I want D84 to be dependent on the value of another cell (G8), so that the number of rows is equal to the value of G8. In this example, G8=84, so the last row is set to D84. If G8=2079, then I would want all occurrences of D84 in this example to read D2079.

Sub Macro2()
Range("A3:D3").Select
Selection.AutoFill Destination:=Range("A3:D84"), Type:=xlFillDefault
Range("D84").GoalSeek Goal:=Range("C2"), ChangingCell:=Range("B2")
End Sub

In other scripting languages such as lua I would simply use Dx and then define x=G8, but I do not know how it works in Excel. I have attempted to define a variable and then use Dvariable, but this does not work. Perhaps there is some way of saying that the column should be D and the row number should equal the value in G8? If so, how would that be integrated into the script above? If not,

View Replies!   View Related
Hide A Row With Number In Cell C2
I have a button from the Forms toolbar.

If I enter a number in cell C2 "say 1859' then hit a button... An input box comes up I have to enter Team number Once entered, I would find the 1859 in a list of data Go to the Column with "teams" (Column Q) enter the input number then hide this row that has the 1859.

View Replies!   View Related
Delete Row If Cell Value Is Not Number
I search the board and found this VB. Is doing what I want, which is deleting any rows for which the cell in coulum E is not a number. But also is erasing the content of colum D.
________________
Sub DelTxtCell()
On Error Resume Next
With Range("e1", Range("e" & Rows.Count).End(xlUp)).Offset(, -1)
.Formula = "=if(isnumber(left(e1,1)+0),"""",false)"
.SpecialCells(-4123, 4).EntireRow.Delete
End With

End Sub
________________

I tried deleting the Offset and the SpecialCells; but as you can see by now, I do not know what I am doing.

View Replies!   View Related
Use Active Cell For Row Number
There is a chart encompasing column A, B and C. The column D has certain numbers stored in its cells. All I wont is to build a code which would check the value of the cell in column D which is in the same row as the active cell, and then paste certain date into the active cell - basing on the value of the cell in column D.

Here an example:

Sub pasteif()
first one) column D has
'if the value is i.e 2 then it should paste into the active cell whatever there is in Range F1:G1
'if other value is present in this case in cell D1 (it is always the D column) then other range would copied into the active cell
Range("F1:G1").Copy
ActiveCell.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=False
End Sub

View Replies!   View Related
Row Number Of Active Cell
I need to write code which would find the row number of my selected range (named 's')and then select the row beneath that.

View Replies!   View Related
Pass Cell Value Using Variable Row Number
Following statement works for me:

bdcTerm1 = ThisWorkbook. Sheets("ws2"). Range("A1").Value

But instead I want to parse through 50 rows and dynamically get the value instead of using a static Range("A1"). So I am trying to do the following:


For Row = 1 To bdc_rows
bdcTerm1 = ThisWorkbook.Sheets("ws2").Cell(Row, 1).Value
bdcTerm2 = ThisWorkbook.Sheets("ws2").Cell(Row, 2).Value
Next Row

But I get errror.

View Replies!   View Related
Use Row Number In Cell For Reference Formula
I have five workbooks, one for each week of the month, and in a cell M9 in workbooks 1 to 5 I reference the value of a cell in another workbook called counter.xls.
The cell I need to reference changes each week by one row.

At the start of a month I need to have a macro that will go and find the first empty ...

View Replies!   View Related
Finding Row Number Of A Cell Based On A Particular Value
I need to find the row number of a cell based on a particular value. I am populating a row within a spreadsheet with a value (the columns have unique identifiers). After that is done, I need to go to a different spreadsheet, grab different values, and place them in a different column in the above referenced spreadsheet. So, what I want to do is find the row number for the unique identifier, then place the value in the column.

View Replies!   View Related
Macro: Base Row Number On Cell Value
I have a macro that has following line

Range("C38'").Select

I want to dynamically change the C38 to may be C37 depending on a value in a cell i.e. F1

so if the value in cell F1 is 31 then I want this statement to look like

Range("C31'").Select

View Replies!   View Related
Refer To Variable Cell Row Number
is it possible to refer to a cell by a variable cell number? For example suppose i want to refer to a cell on column B, by a value which is in cell C1, so the if C1 has the value 7, i would refer to cell B7, abd if it has the value 87 i would refer to cell B87.

View Replies!   View Related
Copy Range Where Last Row Number Is In A Cell
I have this statement

Range("J4:J367").Select
Selection.Copy

In X1, I have 400 and wish to use this cell value as a varible in the copy range statement. This would make the new Range("J4:J400)

View Replies!   View Related
Use Cell Number In Formula Row Reference
In cell A2, I have the number 10. In cell G10 of a different sheet, I have a number I want in a third location. Is there a way to do something in the third cell like =G(A2) so that the value of cell A2 is entered into the formula, referencing the value of G10 in the third cell?

View Replies!   View Related
Bring Data From Certain Row Based On Cell Number
I'd like to bring data from Sheet2 to Sheet1. If value at Sheet1 f2=5 it should copy from sheet2 b5:k5 tosheet1 a2:j2 If value at Sheet1 f2=10 it should copy from sheet2 b10:k10 tosheet1 a2:j2 etc.

View Replies!   View Related
Match Function For Cell Reference Row Number
I am trying to acccess a cell value from a seperate worksheet. The cell reference needs to be generated by a seperate formula. In this example

=DSInfo!C28 // provides the correct result i.e the contents of cell C28 on worsheet DSInfo =MATCH(A4,DSInfo!C1:C35,0) //provides the correct row number - in this case 28

However on trying to combine the two =DSInfo!C&MATCH(A4,DSInfo!C1:C35,0) // provides only a formula error. I'm guessing this is a simple syntax error on my part but after hours of trying various ways I'm still having no luck.

View Replies!   View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved