Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
A simple VBA procedu
Sub Macro2() ' ' Macro2 Macro ' Macro recorded 19/10/2007 by Bernard V Liengme ' ' Range("A1:b1").Select Range(Selection, Selection.End(xlDown)).Select Selection.Copy Range("D1").Select ActiveSheet.Paste Application.CutCopyMode = False Range("D1:E1").Select Range(Selection, Selection.End(xlDown)).Select Selection.Sort Key1:=Range("E1"), Order1:=xlAscending, Header:=xlGuess, _ OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom, _ DataOption1:=xlSortNormal Range("D4:E4").Select Range(Selection, Selection.End(xlDown)).Select Selection.ClearContents End Sub -- Bernard V Liengme Microsoft Excel MVP www.stfx.ca/people/bliengme remove caps from email "madmxx22277" wrote in message ... say I got a table like this Bob 4 Charlie 7 George 4 Oliver 2 Henry 8 I am using the large command to get me the 3 lowest numbers, and using vlookup to match the name up with it, so I should end up with Oliver 2 Bob 4 George 4 but since the last ones are the same number I end up with, Oliver 2 Bob 4 Bob 4 please help, is there a way I can have vlookup do its thing, but have it not be equal to another vlookup cell? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
If (Vlookup 0) working, but what if Vlookup cell does not exist | Excel Worksheet Functions | |||
VLookUp - Does the VLookUp return the exact information? | Excel Worksheet Functions | |||
Combine VLOOKUP and IF function so #NA isn't returned as a value from VLOOKUP | Excel Discussion (Misc queries) | |||
Which is faster: VLOOKUP-worksheet or VB-array VLOOKUP? | Excel Programming | |||
Vlookup -=VLOOKUP(F9,LookUp1!$A$2:$B$1504,2,FALSE) | New Users to Excel |