#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 125
Default Vlookup

Hi

Trying to vlookup the tab name in "dates" sheet
In B1 i have

=RIGHT(CELL("filename",B1),2), giving me the 2 digit tab name

In C1, i have =Vlookup(B1,Dates!A1:A20,2,0), but keep getting #N/A. I have
also tried

=VLOOKUP(INDIRECT(B1),Dates!A1:B20,2,0), but get #REF!

Can anyone assist in getting the vlookup using the tab name?

Regards

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

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Vlookup

Hi,

You don't need indirect for this

=VLOOKUP(B1,Dates!A1:B20,2,0)

Mike

"BNT1 via OfficeKB.com" wrote:

Hi

Trying to vlookup the tab name in "dates" sheet
In B1 i have

=RIGHT(CELL("filename",B1),2), giving me the 2 digit tab name

In C1, i have =Vlookup(B1,Dates!A1:A20,2,0), but keep getting #N/A. I have
also tried

=VLOOKUP(INDIRECT(B1),Dates!A1:B20,2,0), but get #REF!

Can anyone assist in getting the vlookup using the tab name?

Regards

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


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 125
Default Vlookup

thanks for the speedy response

Keep getting #N/A, yet when i type the tab name in B1, overwriting the
formula, it works a treat

any ideas?

Mike H wrote:
Hi,

You don't need indirect for this

=VLOOKUP(B1,Dates!A1:B20,2,0)

Mike

Hi

[quoted text clipped - 11 lines]

Regards


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

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 125
Default Vlookup

incidentally, the 2 digits showing in B1 are on the left of the cell, other
numbers in cells are on the right - this is not formated to the right t

BNT1 wrote:
thanks for the speedy response

Keep getting #N/A, yet when i type the tab name in B1, overwriting the
formula, it works a treat

any ideas?

Hi,

[quoted text clipped - 9 lines]

Regards


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

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 - Does the VLookUp return the exact information? Cpviv Excel Worksheet Functions 2 October 28th 08 09:57 AM
Vlookup in vlookup - taking the result as array name SupperDuck Excel Worksheet Functions 2 June 2nd 07 11:05 AM
Combine VLOOKUP and IF function so #NA isn't returned as a value from VLOOKUP buffgirl71 Excel Discussion (Misc queries) 12 November 14th 06 11:36 PM
Vlookup -=VLOOKUP(F9,LookUp1!$A$2:$B$1504,2,FALSE) MikeR-Oz New Users to Excel 1 March 22nd 06 09:01 AM
Vlookup info being used without vlookup table attached? Excel Worksheet Functions 0 January 25th 05 10:43 AM


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