Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default vlookup problem

i am trying to find a way to combine formulas to look up the second
largest entry in a list.

any ideas?


---
Message posted from http://www.ExcelForum.com/

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 43
Default vlookup problem

I am sure there is a better way than this, but you could
write a self defined function to do this then use it in
your sheet to give you the answer (remember to use the
whole list area as a call function or the macro won't
always update)

Just as a afterthought carn't you just order the list?
-----Original Message-----
i am trying to find a way to combine formulas to look up

the second
largest entry in a list.

any ideas?


---
Message posted from http://www.ExcelForum.com/

.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 30
Default vlookup problem

Roberto,

Can you just use the Large worksheet function, e.g.:

=LARGE(A1:A10,2)

which finds the second largest number in a list in A1:A10?

or in VBA

Sub test()
Dim v As Long
v = Application.Large(Range("A1:A10"), 2)
MsgBox v
End Sub

hth,

Doug

"ROBERTO " wrote in message
...
i am trying to find a way to combine formulas to look up the second
largest entry in a list.

any ideas?


---
Message posted from http://www.ExcelForum.com/



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Vlookup problem Bruister via OfficeKB.com Excel Discussion (Misc queries) 0 October 16th 09 09:29 AM
vlookup problem terryc Excel Discussion (Misc queries) 4 June 28th 06 04:28 PM
Another vlookup problem jasmithjr Excel Worksheet Functions 1 June 27th 06 04:19 AM
VLookup Problem griff2311 Excel Worksheet Functions 6 June 27th 06 12:48 AM
VLOOKUP Problem Ian Excel Discussion (Misc queries) 3 April 6th 06 06:47 PM


All times are GMT +1. The time now is 07:36 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"