LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
SharpEye
 
Posts: n/a
Default use range name in formula

I have been trying without any success to refer to a range name by using text
within a cell.

To set the scene......

There are three names ranges which are various lengths on one part of the
worksheet.

There is a cell on another part of the worksheet that contains text. This
text will be the same as one of the name of a named ranged.

I am trying to get index() to use the text as a range name, but it will only
use it as text.

This formaula works
=SUMIF(INDEX(Subway,,1),H8,INDEX(Subway,,5))

Subway is the range name, however, when I try to get index to use the text
within a cell it does not work.

=SUMIF(INDEX(J5,,1),H8,INDEX(J5,,5))

J5 contains the word Subway

The formula result is #ref

Looking at the result it appears that J5 just returns that cell, the first
index works as it calls for the first column, the second index fails because
it is calling the fifth colum, but J5 is only one column wide, hence the
ref#. All I want is for index to use J5 to pick up the range name to use.

Can anyone help?

--
Cheers

SharpEye
 
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
how to reference external refereces from a list FalconArt Excel Worksheet Functions 7 August 22nd 05 05:17 PM
Conditional Format - Formula to Colour Every 3rd Cell in Offset Range Sam via OfficeKB.com Excel Discussion (Misc queries) 7 August 13th 05 04:19 AM
Formula to find first, second, third etc. value (range) Cello Excel Discussion (Misc queries) 2 August 6th 05 07:57 AM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM
how do I make a formula NOT change when the data range is moved? Alida Andrews Excel Discussion (Misc queries) 2 January 6th 05 09:02 PM


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