Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
How do I get excel to look up the highest value in column d and then copy
both the value and the corresponding value in column a Thanks in advance Greg |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Greg
the following code returns two variables i - for the maximum value in column D j - for the value in column A of the same row as i Sub getmax() i = Application.WorksheetFunction.Max(Range("D:D")) j = Application.WorksheetFunction.Lookup(i, Range("D:D"), Range("A:A")) End Sub Cheers JulieD "Greg B" wrote in message ... How do I get excel to look up the highest value in column d and then copy both the value and the corresponding value in column a Thanks in advance Greg |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Ok thank you
Greg |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
you're welcome - let us know if you need anything else
(ps what part of Oz are you in?) "Greg B" wrote in message ... Ok thank you Greg |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Adelaide
|
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Perth
"Greg B" wrote in message ... Adelaide |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel 2007 Macro/VB Question DDE Question | Excel Worksheet Functions | |||
where can I see my question and answer? Yesterday I ask a question | Excel Discussion (Misc queries) | |||
Newbie Question - Subtraction Formula Question | Excel Discussion (Misc queries) | |||
The question is an excel question that I need to figure out howto do in excel. | Excel Worksheet Functions | |||
Possible And If Question | Excel Worksheet Functions |