Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 202
Default Return a Value in Vlookup Q

The following formula looks up the value in E6:E95 where A7 is found
in Column A (if that makes sense)

=IF($A7="","",VLOOKUP($A7,Report!$A$6:$K$95,COLUMN (A$1)+4,FALSE))

Can I adjust above so that it will return the value in an offset row
+1

For example, if my original example would return whatever is displayed
in E20 (because my value that is in A7 is also in Sheet Report!A20, I
want to returns instead what ever is in cell Sheet Report!E21

Hope above makes sense

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Return a Value in Vlookup Q

One way is to use index/match, then to adjust the MATCH part of it, eg:
=IF($A7="","",INDEX(Report!$E$6:$E$95,MATCH($A7,Re port!$A$6:$A$95,0)+1))
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:27,000 Files:200 Subscribers:70
xdemechanik
---
"Seanie" wrote:
The following formula looks up the value in E6:E95 where A7 is found
in Column A (if that makes sense)

=IF($A7="","",VLOOKUP($A7,Report!$A$6:$K$95,COLUMN (A$1)+4,FALSE))

Can I adjust above so that it will return the value in an offset row
+1

For example, if my original example would return whatever is displayed
in E20 (because my value that is in A7 is also in Sheet Report!A20, I
want to returns instead what ever is in cell Sheet Report!E21

Hope above makes sense


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 202
Default Return a Value in Vlookup Q

Thanks Max, works a treat

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Return a Value in Vlookup Q

welcome, glad to hear
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:27,000 Files:200 Subscribers:70
xdemechanik
---
"Seanie" wrote in message
...
Thanks Max, works a treat



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 w/ more than one return value amy Excel Discussion (Misc queries) 9 January 16th 09 05:29 PM
VLookUp - Does the VLookUp return the exact information? Cpviv Excel Worksheet Functions 2 October 28th 08 09:57 AM
Vlookup #N/A return value Ladysearcher Excel Worksheet Functions 2 August 15th 07 12:24 AM
Vlookup that does not return #N/A carl Excel Worksheet Functions 3 June 10th 05 10:20 PM
Vlookup - return row no. instead of value automne Excel Discussion (Misc queries) 2 March 7th 05 12:38 AM


All times are GMT +1. The time now is 04:12 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"