Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 102
Default Dependent List "Index" Problem

I'm using the template from:
http://www.contextures.com/xlDataVal15.html

I'm having a problem getting the pulldown menus to move to say start at
Cell G8 and the dependent at H8 as I have my Data Entry sheet formatted
differently.
As I don't want the drop downs on A2 and B2. I'm entering the "names" on G8
and H8 but no luck....

Can someone help me understand how to tweak the formulas to allow for this?
--

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,722
Default Dependent List "Index" Problem

I'm guessing its this formula that's causing problems:
=Lists!$A$2:INDEX(Lists!$A:$A,COUNTA(Lists!$A:$A))

For you scenario, change it to:
=Lists!$G$8:INDEX(Lists!$G:$G,COUNTA(Lists!$G:$G)+ 6)
assuming you're still using headers. If not, change the +6 to a +7.

To help break-it-down:

The goal of formula is to create an array encompassing the data you want.
YOu know the starting point, its the end point that is unknown. Thus, we
start with G8, and setup a formula to find other end.

INDEX lets you give an array and then a row number (optional column number
as well). Thus, we want to look at column G, and the row number we want is to
be determined. For this, COUNTA counts how many cells are already used. This
is where you may need to modify formula I gave, depending of if G1:G7 have
data in them. If there are blanks, you will need to add an integer to help
offset the count.

Looking through the rest of the template, you'll see that INDEX and COUNTA
appear sevearl times. These will need to be adjusted accordingly. The last
one is MATCH, which returns the row/column number of a found string withing
an array.

For more information on these functions, you can try looking in the XL help
file.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Benjamin" wrote:

I'm using the template from:
http://www.contextures.com/xlDataVal15.html

I'm having a problem getting the pulldown menus to move to say start at
Cell G8 and the dependent at H8 as I have my Data Entry sheet formatted
differently.
As I don't want the drop downs on A2 and B2. I'm entering the "names" on G8
and H8 but no luck....

Can someone help me understand how to tweak the formulas to allow for this?
--

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 102
Default Dependent List "Index" Problem

Thank you so much. I eventually put all the formulas in Notepad and started
at them a while.
And figured out what your saying. Got it working, thanks for taking the
time. -Ben

"Luke M" wrote:

I'm guessing its this formula that's causing problems:
=Lists!$A$2:INDEX(Lists!$A:$A,COUNTA(Lists!$A:$A))

For you scenario, change it to:
=Lists!$G$8:INDEX(Lists!$G:$G,COUNTA(Lists!$G:$G)+ 6)
assuming you're still using headers. If not, change the +6 to a +7.

To help break-it-down:

The goal of formula is to create an array encompassing the data you want.
YOu know the starting point, its the end point that is unknown. Thus, we
start with G8, and setup a formula to find other end.

INDEX lets you give an array and then a row number (optional column number
as well). Thus, we want to look at column G, and the row number we want is to
be determined. For this, COUNTA counts how many cells are already used. This
is where you may need to modify formula I gave, depending of if G1:G7 have
data in them. If there are blanks, you will need to add an integer to help
offset the count.

Looking through the rest of the template, you'll see that INDEX and COUNTA
appear sevearl times. These will need to be adjusted accordingly. The last
one is MATCH, which returns the row/column number of a found string withing
an array.

For more information on these functions, you can try looking in the XL help
file.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Benjamin" wrote:

I'm using the template from:
http://www.contextures.com/xlDataVal15.html

I'm having a problem getting the pulldown menus to move to say start at
Cell G8 and the dependent at H8 as I have my Data Entry sheet formatted
differently.
As I don't want the drop downs on A2 and B2. I'm entering the "names" on G8
and H8 but no luck....

Can someone help me understand how to tweak the formulas to allow for this?
--

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
Excel "list" and paste link problem ATSFSS2008 Excel Discussion (Misc queries) 1 December 23rd 08 11:29 AM
How do I link all dependent cells to a "new" independent cell?? Anders_Royal_Institute_of_Technology Excel Discussion (Misc queries) 1 October 9th 08 11:04 PM
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell Steve Kay Excel Discussion (Misc queries) 2 August 8th 08 01:54 AM
question using "INDEX" and "IF" functions monkeytrader Excel Worksheet Functions 1 June 24th 08 09:50 PM
problem with Linking workbooks via "copy" and "paste link" Arkitek Excel Discussion (Misc queries) 0 December 19th 06 10:03 PM


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