Finding Cell With Largest Value
Mar 13, 2007
I did a search & couldn't find anything related to my question: If I have a range of known cells (A1, A3, A5, for ex.) & want to find which cell has the largest value & then return the cell of that contains the largest value (not the value itself), how do I code it it VBA?
View 4 Replies
ADVERTISEMENT
Aug 17, 2009
I want to find the largest cell in a column so I can use “auto fit selection” without cutting off type.
View 9 Replies
View Related
Jul 20, 2006
I have a small problem with a list of event codes in the form XX###, (Xs are letters, # numbers), I need to be able to find the largest numerical component in the list, and am having problems finiding a neat way of doing it.
I could do it by using the RIGHT command to get the numerical bit in a seperate column, then convert it to number, then use LARGEST, but this seems somewhat cumbersome!
View 4 Replies
View Related
May 12, 2012
I have a table showing interest levels in training courses from a group of schools, eg:
English Maths Science
School1 3 4 2
School2 7 1 0
School3 3 2 5
I want to identify the column heading for the first, second and third most popular courses. ie for School1 the most popular course is Maths, second most popular is English and so on.
I have tried using the OFFSET function, which worked if I provided the cell location of the required value. I then looked at the ADDRESS function to provide the cell location: eg For School2 find the 2nd most popular course:
=ADDRESS(ROW(A3),COLUMN(data?)+MATCH(LARGE(B3:B5,2),B3:B5,0)-1)
But I have got stuck with what I should enter for COLUMN(data?) as I do not know in which column the second largest value is.
I am sure Excel has the required functionality.
View 12 Replies
View Related
Jul 16, 2014
In the attached workbook the classify macro reformats data. Can a line of code resize the cells to the largest word in the cell?
Example.xlsm‎
View 6 Replies
View Related
Jun 2, 2009
How would I return a cell reference (address) to a cell that contains the largest number in a list?
I tried using "Address(large....) where I get the correct column, but the returned row # is the actual value in the cell (the highest # in the list).
I eventually will want to delete the highest number to leave the cell blank.
View 3 Replies
View Related
Feb 18, 2014
I need a macro to identify the largest value across columns I2 - AS2. Once found, I need to replace the value with value found minus the value in BQ. The final step would be to highlight the cell that was changed across columns I2 - AS2, then move to the next row and do same until I reach the last row in the worksheet. The number of rows vary each day but the columns do not.
I have written the attached code, which identifies the largest value in the first row, but I don't know how to replace the value found with the new value and then move to the next row until it reaches the final row for the day.
In the attached file, my largest value sits in AC2. That value needs to be replaced with 486.17 (1,175.37 - the value in BQ2 of 689.20). The cell should then be highlighted so I can quickly identified what cells have been changed.
View 3 Replies
View Related
May 8, 2014
Looking for a formula (not macro) that can do the following:
I have a spreadsheet and in one column, it has last names of clients. In the next column, it has full names of clients that are the same account, but different system with different descriptions for the name. I need to lookup the column that just has last name and see if that last name exist anywhere in the "Full name" column. If it does, then I need column C to say "Yes" or something along those lines.
The "full name" column isn't always in the same format and sometimes doesn't even contain the "last name." Sometimes the last name will be first and sometimes there's a comma and sometimes there isn't a comma. The spreadsheet attached shows a good short example of what I'm working with...
Name Spreadsheet Ex.xlsx
View 2 Replies
View Related
May 2, 2012
I am creating a macro to automate data analysis for work, but I've become stuck.
I need to find the coordinate of the first cell in a column with word "reserved" or "extended" contained in the cell, and then assign the row number of that coordinate as a variable to use for moving data around. Basically, I want something like VLOOKUP, but instead of returning a value, I want it to return the coordinate.
View 1 Replies
View Related
Jan 25, 2012
Macros question - The user enters a word, e.g. Malaysia in a particular cell (always the same location) and I want the macro to be able to find the next cell with that word in it, but it appears that when using macros you can't paste anything into the find function, so was just wondering what to do!
View 1 Replies
View Related
May 9, 2007
I have 3 columns. The first has names of students, the second names of their schools, and the third the student's scores. I need to add together the top 4 scores from each school and return them in a table. I have tried combining LARGE and SUMIF but to no avail. Also tried a Pivot table but I cannot get just the top four scores to add.
View 9 Replies
View Related
May 15, 2014
How to find a particular cell value, example: i have sheet and in that we have 30 employee names and i need to map the data of work from home, which is in dark bule color and need to make a total of it. rather than counting the all the sheet details from month start till end. I need to find it in a quick shot.
I would like to prepare a shift schedule for 3 months it should be a automated.
View 2 Replies
View Related
Feb 24, 2009
Ok, I've come close to the solution using the Match function, but somehow just can't quite nail it.
What I need is a formula that will search down Column B until it finds the first blank cell. Then report what is directly to the left of that cell.
So If the first blank cell is in $B$5, it will report what is in $A$5.
View 6 Replies
View Related
Jun 13, 2014
I have been trying to sum the largest 5 numbers that are in a row
the number are in the columns stating c1, e1, g1,i1,k1,m1,o1 ect for about and other 15-20 columns, so there is a missing, so a lot of numbers
thing to note i am missing a cell between the cells i need to count/ sum ...
View 8 Replies
View Related
Mar 26, 2009
I'm working with box quantities and would like to get a formula that would take the box quantity and return the largest value based on some parameters. Here are my parameters:
Box Quantity
- 375 pieces
Break down options
2 - 187.5 pieces
3 - 125 pieces
4 - 93.75 pieces
5 - 75 pieces
Obviously options 2 and 4 are no good as I can only work with even break downs. This leaves me with either 3 or 4 and because I want the largest, I would choose number 3. What I need is help on a formula that will take the value of the box quantity and return the largest whole number. I think for the time being I would like to leave the break down between 2 and 5 as well.
View 5 Replies
View Related
Nov 14, 2006
If TRUE or omitted, an exact or approximate match is returned. If an exact match is not found, the next largest value that is less than lookup_value is returned. But this is not correct as the value I am seeking falls with a range of Min/Max Values therefore the return should be the Next Largest Value
I have values I would like to lookup against a table Min Max values
Col A Min Value 700,000
Col B Max Value 799,999.99
The value being sought is 745,000
I would like the return to be 799,999.99
But currently returning 700,000
Current formula is
=VLOOKUP(G2,tblMaxValues,2,TRUE)
Where G2 is 745,000
tblMaxValues is a list of values for comparison
,2, is the column to be returned
View 3 Replies
View Related
Dec 30, 2006
I need a formula that would return the sum of the largest 3 numerical values out of a range of values, i.e. ignoring the lowest values in the range.
View 5 Replies
View Related
Jul 11, 2007
I have a row with 30 cells and each cell has a different value. i want to count the highest 15 cells of those 30, so the sum of the total only counts the largest 15 digits.
View 2 Replies
View Related
Apr 17, 2008
=LARGEST(overview!$AB5:$AL5;11)
I'm using this formula to look up a certain value in "overview" sheet, is there a way to not show the result in this cell but show as result the cell in the same column in row 3?
View 3 Replies
View Related
Mar 29, 2009
I have another post here on this forum, but I'm afaid the formula is getting so complex that nobody is able to fully understand what I want. Instead I want to find a value between two numbers and add it to some IF sentences. It will do what I want, even if it's not that elegant.
I've looked at the SUMIF function but it did not do exactly what I wanted. It finds a number or adds numbers only if they are in range it seems.
What I want is the following:
Return sum between 500 and 1000 in one cell.
View 11 Replies
View Related
Sep 7, 2009
I am trying to extract text from one cell into another, for example if in cell A2 I have text " {Operating System Issue} ~Word~ I got a new PC i used to have avaya…" in cell b2 i want {Operating System Issue} and in Cell c2 I want ~Word~.
This is what i am doing, in Cell B2 in putting formulla as =MID($A2,FIND("{",$A2,1),FIND("}",$A2,1)) and in cell C2 i am putting formulla as =MID($A2,FIND("~",$A2,1),FIND("~",$A2,1)). However in cell C2 thsi si what I am getting
~Word~ I got a new PC i used
i dont want anything after "~" sign. What i need is only the text that is in betwwen "~" sign.
View 11 Replies
View Related
Sep 17, 2009
I have to copy and paste some datas under anothers but I don't know the code to do so; I mean, the code to paste on the first empty cell under the previously used cell.
View 12 Replies
View Related
Oct 18, 2009
I have data entered in rows 2:10. The amount of data is variable for each row. For example, in row 2, columns A:F are filled out, and the rest (G:P) are blank. In row 3, columns A:J are filled out and K:P are blank. The data is always entered from left to right, and to a maximum up to column P. Hope this makes sense.
In column Q, I want to write a formula that will tell me the last filled column of that row (A=1, B=2, C=3, etc.). So in Q2 would display 6. Row 3 would display 10. And so on.
View 3 Replies
View Related
Dec 5, 2009
I type in a number in G8 in F8 a town name comes up which is on another sheet in column c the number I typed in G8 in in column B of sheet 2 It continues all the way down in column G with differance numbers.
View 3 Replies
View Related
May 29, 2014
I have a cell value in sheet 5. I want a macro to find that cell value in sheet 1, offset -14 columns and give that new cell the value in the column next to the original value in sheet 5. I named the ranges in sheet 5 that i wanted.
here is my original code.
[Code] .....
View 10 Replies
View Related
Dec 11, 2008
I have a worksheet where I need to start at c1 and move down col c until I get to a cell containing text. The left 6 characters will be "budget".
Not sure what the code would be for that.
View 2 Replies
View Related
Mar 3, 2009
assist me with editing this code so that even though my range may be set from A1:A3000 it would stop after finding and completing its task in the last cell in column A with data. This code will put dashes in a set of numbers and there is no certain amount of account numbers that could end up being in column A on any given month.
View 3 Replies
View Related
Jun 4, 2009
I am now looking for a command that will return if a cell is populated. I.e. I need something that will find out which cell is the last one populated in a column (populated = contains data) and then will move 2 cells down, and then will enter some data into the following cells.
View 4 Replies
View Related
Oct 25, 2013
Is it possible to find the unsaved data in a spreadhseet/workbook? Or the last cell was edited?
After working on multiple workbooks when I try closing them excel confirms if the changes should be saved or not. I was wondering if there was a way to check what those changes were. If there was a way to find address of the cell that was edited last.
View 3 Replies
View Related
Apr 17, 2008
I've got a spreadsheet where column A has dates and time and column C has over 8000 rows of numbers.
I'm looking to pull the date and time from column A associated with a value in column C...
how do i do a "lookup" in this case?
View 9 Replies
View Related