Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 125
Default vlookup with indirect function

Hi

Have looked at similar threads but have not found the solution

=vlookup(a1,mpg,4,0) works ok

what i require is the 4 to be replaced by the number in R2

=vlookup(a1,mpg,indirect(R2),0)

Cell R2 = 4 mpg is a defined range in another sheet in the same workbook

Keep getting #REF!

Help appriciated

Regards

Brian

--
Message posted via http://www.officekb.com

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,311
Default vlookup with indirect function

Do you really need to use "INDIRECT"?

=vlookup(a1,mpg,R2,0)

HTH,
Paul


--

"BNT1 via OfficeKB.com" <u19326@uwe wrote in message
news:8102b84972b21@uwe...
Hi

Have looked at similar threads but have not found the solution

=vlookup(a1,mpg,4,0) works ok

what i require is the 4 to be replaced by the number in R2

=vlookup(a1,mpg,indirect(R2),0)

Cell R2 = 4 mpg is a defined range in another sheet in the same workbook

Keep getting #REF!

Help appriciated

Regards

Brian

--
Message posted via http://www.officekb.com



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 125
Default vlookup with indirect function

Your right ! Dont know what I was thinking

Thanks for the speedy responce

Brian

PCLIVE wrote:
Do you really need to use "INDIRECT"?

=vlookup(a1,mpg,R2,0)

HTH,
Paul

Hi

[quoted text clipped - 15 lines]

Brian


--
Message posted via http://www.officekb.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
Indirect/Vlookup/??? Light Excel Discussion (Misc queries) 2 October 5th 06 02:05 PM
VLOOKUP from closed file using INDIRECT function Ben Excel Worksheet Functions 3 May 17th 06 01:58 AM
vlookup? indirect? streetboarder Excel Discussion (Misc queries) 4 April 19th 06 06:36 PM
Indirect or Vlookup Function Justin Excel Worksheet Functions 1 July 29th 05 10:38 PM
vlookup, &, indirect Joe Blow Excel Worksheet Functions 2 March 3rd 05 10:40 PM


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