LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 125
Default Vlook up 2 sheets

Hi

Have used the following formula extracted from this site for some time

=IF(A2="","",IF(NOT(ISERROR(VLOOKUP(A2,UK!$A$2:$K$ 10000,4,FALSE))),VLOOKUP(A2,
UK!$A$2:$K$10000,4,FALSE),VLOOKUP(A2,Export!$A$2:$ K$10000,4,FALSE)))

Works fine, except that there are duplicates on the sheets and often it
returns the one I didn't want.

Is it possible, someone can help to amend the formula, so that it returns the
greatest value in column 4 on the sheets UK and Export for the two entries

Example
LD123456 - 5700
LD123456 - 5740

Vlookup to return the greater value , ie, 5740.

Thanks in anticipation

Brian

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200909/1

 
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
Vlook UP Kalpesh Excel Discussion (Misc queries) 1 September 17th 08 01:10 PM
VLOOK-pivot table expanding want to update vlook automatically CrimsonPlague29 Excel Worksheet Functions 0 August 8th 07 09:44 PM
VLOOK-pivot table expanding want to update vlook automatically CrimsonPlague29 Excel Worksheet Functions 0 August 8th 07 09:44 PM
Need Help about vlook vlook fomula Excel Worksheet Functions 1 January 20th 07 02:42 PM
Vlook up for matching data in two seperate sheets funky via OfficeKB.com Excel Discussion (Misc queries) 1 June 3rd 05 10:16 PM


All times are GMT +1. The time now is 05:59 AM.

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"