Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 53
Default Using dynamic sheet name in formula

I am using the following formula successfully but would like it to be more dynamic. I need to make the sheet name dynamic ie. _2875EC227A1522.


{=INDEX(_2875EC227A1522!$B$16:$E$16,MATCH(MIN(ABS( _2875EC227A1522!$B$7:$E$7-B15)),ABS(_2875EC227A1522!$B$7:$E$7-B15),0))}

I have tried the following but it returns a #value error. The sheet name is located cell B5.

{=INDEX(""&B5&"!"&"$B$16:$E$16",MATCH(...
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 53
Default Using dynamic sheet name in formula

I changed the approach and used INDIRECT instead to point to a named range


{=INDEX(INDIRECT($B$5),MATCH(...




On Monday, February 23, 2015 at 1:55:53 PM UTC-7, wrote:
I am using the following formula successfully but would like it to be more dynamic. I need to make the sheet name dynamic ie. _2875EC227A1522.


{=INDEX(_2875EC227A1522!$B$16:$E$16,MATCH(MIN(ABS( _2875EC227A1522!$B$7:$E$7-B15)),ABS(_2875EC227A1522!$B$7:$E$7-B15),0))}

I have tried the following but it returns a #value error. The sheet name is located cell B5.

{=INDEX(""&B5&"!"&"$B$16:$E$16",MATCH(...


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
Dependent drop down dynamic range formula, off sheet. L. Howard Excel Worksheet Functions 7 December 19th 14 08:18 PM
Dynamic sheet reference in Name formula Raj[_2_] Excel Worksheet Functions 1 April 30th 10 09:55 AM
dynamic sheet name in a formula dogsnapper Excel Worksheet Functions 4 March 26th 09 11:51 PM
Lookup formula with dynamic sheet reference William Blake Excel Worksheet Functions 5 August 14th 08 12:23 AM
Dynamic Range with unused formula messing up x axis on dynamic graph [email protected] Charts and Charting in Excel 2 February 2nd 06 08:02 PM


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