LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Tom
 
Posts: n/a
Default Sort with ISNA and vlookup

I am having a problem sorting a spreadsheet that uses the following formula:

=IF(ISNA(VLOOKUP(ET$6&ThisSheet!$D8,'NextSheet'!$A $2:$D$3000,4,
FALSE)),0,VLOOKUP(ET$6&ThisSheet!$D8,'NextSheet'!$ A$2:$D$3000,4, FALSE))

When I attempt to sort, the sheet, it puts the items in the correct order,
but the sort criteria no longer corresponds to the reference column.

For example, if the original data was:

C 2
A 3
B 1

If I sort by the first column, it will be sorted correctly (A, B, C), but
the values from the second column no longer correspond, e.g.,

A 2
B 1
C 3

Where am I going wrong?

Thanks.
 
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
ISNA VLOOKUP any data prefixed with a "C7" cannot be found? Mike Jenkins Excel Discussion (Misc queries) 6 December 13th 05 02:20 AM
VLOOKUP and ISNA functions Steve ([email protected]) Excel Worksheet Functions 2 July 8th 05 11:59 PM
isna vlookup Tim Excel Discussion (Misc queries) 2 April 3rd 05 11:23 AM
ISNA and VLOOKUP Chris Kellock Excel Worksheet Functions 3 March 12th 05 07:05 AM
if isna and vlookup together tina Excel Worksheet Functions 2 January 20th 05 01:06 PM


All times are GMT +1. The time now is 11:10 PM.

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

About Us

"It's about Microsoft Excel"