dynamic validation/multisheet

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,210
You posted this question by jumping in a thread strated by Shane. I replied as follows:



Change the formula to:

=OFFSET(Cover!$A$23,0,0,MATCH(REPT("z",255),Cover!$A:$A)-22,1)

22 takes into account that your actual data start at row 23.

I added 1 as the 4th arg of OFFSET to tell it that the range consists of a single column. If your data range counts more columns, adjust this number accordingly: For example, A to C houses the relevant range, then that number should be 3.

The MATCH(REPT("z",255),Cover!$A:$A) bit should used if column A-values consists of text values as opposed to date-values or just numbers.


Aladin
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
OK I'm deep!!!!
My List starts at A22 (title only) because I have text above this area. I tried entering the info in and yes it works but it picks up the text from A1. I thought I would be smart and edit the string command to start at A23
=OFFSET(Cover!$A$23,0,0,MATCH(REPT("z",255),Cover!$A:$A))

NO LUCK. My validation cells on other sheets start at the first "blank" opening below my last list, so I have to scroll up to get to the data. I have the "ignore blank" enabled but that doesn't seem to help. So I tested it on the 1st sheet (Cover) with a validation and the same thing. I moved the list over to C: where no text was above and tried it and the validation on "Cover" where my list is had the text starting correctly, but about 10 blanks thereafter, and my other sheets still validate from the middle? Quite confusing. Can someone help with the string that will allow me to have text above my list, yet still let me use the validation pull down menu dynamically in other sheets? Could be a hair puller....well its been for me!
thanks
 
Upvote 0

Forum statistics

Threads
1,213,536
Messages
6,114,208
Members
448,554
Latest member
Gleisner2

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top