Return Cell Address With Maximum Value

Mar 13, 2008

I have two columns of numbers in column A & B. In column A I am trying to locate the maximum value and get the cell address of the number next to it in column B. I am currently using this formula to do this ..... =ADDRESS(MATCH(MAX(A1:A4),A1:A4),2,4)

It works ok, but if the maximum number is the first value in the column it is returning the last cell address in column B. I am not sure what I am doing wrong.

View 2 Replies


ADVERTISEMENT

Return Cell Address Of Maximum Number?

Jan 20, 2009

i'm looking to return the cell address of the max number in a given range?

View 3 Replies View Related

How Do I Find Address Of Cell Containing Maximum Value

Aug 29, 2005

I'd like to have the cell address returned along with a value when I use the
MAX function.

View 13 Replies View Related

Finding The Cell Address Of Maximum Value

Feb 12, 2007

I have a range of overtime data. I want to list the maximum occurrence of first 10 overtime data ( Like 3200,2950.2300....etc) Thereafter from the results obtained I need to know the cell address of the employee corresponding to the results obtained, i.e XYZ, ABC.....

A B
Employee Name OT Amount
1. XYZ 3200.00
23. ABC 2950.00
35. WER 2300.00

View 10 Replies View Related

Get Cell Address Of Maximum Number..

Oct 15, 2008

What formula can i use to obtain the address of the cell which contains the highest number? My range is A:A

View 2 Replies View Related

How To Return Address Of Column Or Cell Select Not Just Return Value

Aug 18, 2014

How to return address of the column or cell I selected from Application.Inputbox, not just return the value?

[Code] ....

View 8 Replies View Related

Return Corresponding Cell For Maximum In Another Column

Oct 22, 2007

* I hav two columns B and N having some data. From column N i need to find the Maximum valued cell.

* And now i need the content of a cell in column B in the same row , which matches with maximum value.

View 2 Replies View Related

Return Maximum Of Active Cell & Arbitrary Value To Cell

Nov 18, 2007

I am looking for VBA that will add the value of the current active cell on the sheet to the value in cell F12. The maximum value of F12 cannot exceed 1000. So if the value in F12 = 950 and 100 is the value in the active cell the maximum value in F12 should show 1000, not 1050.

It should do this on the click of a button.

View 5 Replies View Related

Lookup And Return Cell Address

May 1, 2009

I have a range of cells (C29:BB29) containing zeros and integers, I want to lookup the smallest non-zero value from that range in another range (C11:BB11) and return the cell address from C11:BB11 to use in a further SUM formula.
Is that possible?

View 9 Replies View Related

Return Cell Address Of Lookup Value

Jan 24, 2008

I'm trying to return the cell address of an lookup. The lookup result is correct, but when I try use the below Address function, it just returns the text value (i.e., the formula itself) instead of the cell address. Below is the an example of each: ...

View 4 Replies View Related

Return Address Of Moving Cell

Feb 29, 2008

I want to be able to display the location of a specific cell no matter if I move it around by inserting cells above it. I've used =ADDRESS(41,2,1,TRUE,B41). Cell B41 contains the word "Tommy". So the result of this formula returns this: Tommy!$B$41. But now if I insert a row above cell B41, "Tommy" moves to cell B42 but the formula still returns: Tommy!$B$41. How can I get the formula to display the new cell address of "Tommy"?

View 8 Replies View Related

Find Value In Range Then Return The Cell Address?

Mar 16, 2014

construct a formula that finds a value in a range , then returns the cell address of that value.

Say, i wanted to find the amount 12385 from another sheet , range C2:AA12 (contains only numbers , no duplicates). result should give me the address of that value.

I have tried the address & match function but gives me an N/A error.

View 3 Replies View Related

.range.find Need To Return Cell Address

Nov 14, 2007

when I use the range.find function to find a certain value in a column.. i want to return the address of the cell.. and save it in a range variable. how would I do that?

so this is what i have now.. but Rng does not return as a range.. it returns 69... when i use ctrl + G and type ?rng

set rng = .range(A:A).find(what:=69, After:=.Cells(1, 1), Searchorder:=xlByRows, searchdirection:=xlPrevious)
ok so say it picks up..... cell A69... how do i get it to save range A69

View 9 Replies View Related

Return User Changed Cell Address

May 4, 2008

The format for the sheet is set in stone and can't change, and therefore my macro's operate on set columns / rows amd cells.

Because the sheet is huge, im trying to figure out a way to only run the macro's that need to run and more specfically on the changed location.

The Question

I need to create a routine that on the user changing a cell, it returns the cell position (row,column), then it will call a routine i have already which decides based on the cell location, which macro to run and where.

View 9 Replies View Related

Vlookup Function To Return The Cell Address

May 18, 2002

Is there a way to get the vlookup function to return the cell address, rather than the value, of the lookup?

View 9 Replies View Related

Return Single Cell Address From Range

May 18, 2007

I have a list of ID's on one sheet that are also located in a large matrix on another sheet.

This macro uses the Find_Range function to find each ID within the matrix and return the column header where the ID was first located.
There is also a line which return a list of ranges, indicating all the places where the ID was found.

What I want is to convert the list of ranges into a list of corresponding column headers (ie row 1 of all columns in the range)

' Number of id's in list
RowCnt = Application.WorksheetFunction. CountA(Columns("A"))

For I = 2 To RowCnt

LookFor = Sheets("ID List").Range("A" & I)
Set InRng = Sheets("Matrix").Cells
Set Found = Find_Range(LookFor, InRng, xlValues, xlWhole)
On Error Resume Next ' If value is not found
Sheets("RateID Count").Range("C" & I) = Sheets("Matrix") _
.Cells(1, Range(Found.Address).Column) ' Return column header
Sheets("ID List").Range("D" & I) = Found.Address(False, False) ' Return cell address or range of addresses
On Error Goto 0

Next I

View 9 Replies View Related

Return Cell Address Of Value In A Range Contains Unique Values?

Dec 12, 2012

Here is a sample of database,

A
1
Jan-12

2
Feb-12

3
Mar-12

4
Apr-12

5
May-12

6
Jun-12

7
Jul-12

8
Aug-12

9
Sep-12

10
Oct-12

11
Nov-12

12
Dec-12

If i lookup a value in the range A1:A12, say Sep-12, i need to get the cell address instead of the value of the row. but i know how to get cell address using CELL function. but i need to get cell address when i lookup the value.because lookup value will be dynamic.

View 5 Replies View Related

Formula To Find Text And Return Its Cell Address

Sep 6, 2013

Is there any formula to find text and return its cell address? This is like when we use Ctrl+F function to find a text, and Excel then highlight the cell contains the referred text. At the same time, the name-bar displays the address of the cell. Now, is there any formula that can perform such task like this?

View 9 Replies View Related

Return Cell Address Of Largest & Smallest Value In Column

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

Return Cell Address That Falls Within A Range Of A Custom Lookup Function

Jul 3, 2009

I am performing a lookup using the populare user defined function nlookup, which does not take a lookuparray argument to find lookup values. But I only want to return lookup values that fall into a certain array. To accomplish this, I figured out that I need a way to specify a condition of the type "if cell address of lookup value falls within range"

It should be possible if I find a way to return the cell address of the nlookup value, but as nlookup is not limited by a lookuparray argument, so I was not able to use the address/index/match that come up in similar questions.

View 3 Replies View Related

Lookup Maximum Value & Return Corresponding Row

Nov 28, 2006

i have a matrix

index| a| b| c|
0001 |1| 2| 2.22| ( probably it will be much clear to see the attachment)

I need to lookup for the largest number in B2:D2 (in this case 2.22) and return the corresponding header ("C"). I though it would be simple with hlookup() and max() but i can't make it work.

View 2 Replies View Related

Return Text Associated With Maximum Value

Jan 8, 2008

If I have names in one column and amounts in the next column, how do I determine the maximum of the amounts and return the associated name from the other column?

View 2 Replies View Related

Formula To Return Maximum Of Certain Data

Jul 4, 2012

Formula to return the max of certain data.

This is data for an electric car. T= Trip and C=charge.

Column F is the parking time between Trips (T).

For each "T" event in column E, I would like to return the MAX parking time available before the last "T" event for that day (date). I've highlight the last "T" events in red.

I have attached an example : forum2.xlsx

Column G is an example of the output that I would like to achieve.

Note: For the last "T" event of the day it can just return the actual parking time (shown in green).

View 3 Replies View Related

MAXIMUM Function Limit: Return A Value?

May 8, 2009

What I'm trying to do is get the MAX function to return a value, but that value needs to come before the values reach zero. It's a cubic equation that basically starts, at the beginning of the data range, under 10 then hits zero and ends up near 30 at the end of the data range. The end data range max doesn't matter to me if the data range hits zero along the way. Is there any way to make the MAX function stop at a certain value, or is there another function that could accomplish what I'm trying to do?

View 5 Replies View Related

Return Maximum Date Or Blank

Dec 9, 2009

I am currently using an array to return the MAX date value. This formula will enter 1/0/00 if the referenced cells are blank. I'd like the furmula to LEAVE THE CELL BLANK if the referenced cells are blank. {=MAX(IF(Bid_Circuits=$A45,Bid_Trim_Completed,""))}

View 5 Replies View Related

Return MAXIMUM Based On Criteria

Aug 13, 2008

i have a spreadsheet like the following

A B C
Country Revenue Month
1 UK 10 Jan
2 France 20 Jan
3 US 30 Jan
4 UK 25 Feb
5 US 35 Feb
6 France 5 Jan

and so on...

So where country = UK, France or US I want to retrieve the MAX revenue from all months and which month it was in. Eg UK max revenue was in Feb of 25. I am not sure how to apply the max formula with criteria. Is there any way to do this?

View 5 Replies View Related

Return Maximum Value Among Multiple Records With Same Key Using VBA

Mar 1, 2013

I am writing a VBA function that will search for a value in a column(say column B) in a table. This column can have duplicates. So my search needs to get all the records that match the value (including duplicates) and from these records i need to return only one value among records fetched that has maximum in another column in the same sheet(say column D).

Eg :

sno dept name marks r1 cs sush 55 r2 ece ram 68 r3 cs harish 77 r

So if i give "cs" value to search it must give me 77 as output. I tried to write my own Lookup function but isn't working and getting #value.

View 6 Replies View Related

Return Data Corresponding To Minimum & Maximum

Nov 26, 2008

Please see attached file which is data for horse races (this is a small example of the data i will be working with). I need to find the largest values from the MIN and MAX column (shaded Grey) range for each race. I want to be able to add a function that will allow me to quickly identify which horse has the largest number in both the MIN & MAX columns example on spreadsheet is highlighted RED. It would be handy if it would inform me if the criteria has been met by highlighting it or by placing some text value in an adjacent cell on my spreadsheet i have used the example "Y".

It would also be beneficial if that race be deleted in its entirity if there are no horses which meet the criteria above or similary if all other selections within that race be deleted if ther is a horse which meets the criteria. If there is a selection within that race i will need to keep the row that includes the heading which is coloured blue on the attachment.

I will be working with 20,000 or more selections at a time so it is important that they can be identified quickly for ease of use.

I have tried the functions i know such as MAX and LARGE but this requires me to do alot of work when you consider the ammount of data i'm required to work with.

View 9 Replies View Related

Lookup Maximum & Minimum. Return Corresponding Row

Nov 2, 2006

I have searched your forums and thought I had found a sufficient answer but could not get the vba to work. So any help is greatly appreciated. I am trying to determine a max value from a list then put that value in a cell. Next I want to determine how many times and on what day that max value occured. From there take the value and concatenate them adding a "," between them I have attached an example. I would like the values placed in cells F1 and H1 (the other is a min value and when it occurred)

View 4 Replies View Related

Return Heading Of Column With Maximum Value

Sep 16, 2007

In attached example, I have 3 columns of fractions with a final row of sumtotals (taken from elsewhere). I test to see which column has the maximum value in each row and allocate the result with the column's heading. Sometimes, two or more columns have the same max value. In this scenario, I wish to select the column heading that has the largest sumtotal.

View 4 Replies View Related







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