Creating a dropdown list using OFFSET

orangebloss

New Member
Joined
Jun 5, 2013
Messages
34
Hi, I've been trying to create a drop down list using the following formula where PROJECTLIST = LISTS!$G$2:$G$71 or G:G (I have tried both)
If I just use the PROJECTLIST array for the drop down list it shows everything, if I use the formula below it only returns 47 entries - is there a limit to using Offset?

=OFFSET(INDEX(PROJECTLIST,MATCH("YES",YESLIST,0)),,,COUNTIF(YESLIST,"YES"))

Any help in sorting this out would be much appreciated.:confused:
 

Jonmo1

MrExcel MVP
Joined
Oct 12, 2006
Messages
44,061
You've only said what the formula DOES, and that it's not what you want it to do...
But what is it that you DO WANT the formula to actually DO?

What range does YESLIST refer to?
 

orangebloss

New Member
Joined
Jun 5, 2013
Messages
34
Apologies, the aim of this little exercise is to show a list of current contracts.

col1 col2
YES Contract 1
No Contract 2
YES Contract3
YES Contract4

(col1 = YESLIST array)

in an ideal world this would return only contracts 1, 3 and 4 which it does perfectly, until you add more than 47 lines at which point it returns the correct values and then cuts off so 30 ish live contracts are note shown in the drop down list. The arrays reference the full column or the specified rows (I tried both ways) but when in the OFFSET formula it only picks up those 47 rows before cutting off (when it should select up to row 71)
 
Last edited:

Forum statistics

Threads
1,081,545
Messages
5,359,445
Members
400,528
Latest member
Ratish52

Some videos you may like

This Week's Hot Topics

  • VBA (Userform)
    Hi All, I just would like to know why my code isn't working. Here is my VBA code: [CODE=vba]Private Sub OKButton_Click() Dim i As Integer...
  • List box that changes fill color
    Hello, I have gone through so many pages trying to figure this out. I have a 2020 calendar that depending on the day needs to have a certain...
  • Remove duplicates and retain one. Cross-linked cases
    Hi all I ran out of google keywords to use and still couldn't find a reference how to achieve the results of a single count. It would be great if...
  • VBA Copy and Paste With Duplicates
    Hello All, I'm in need of some input. My VBA skills are sub-par at best. I've assembled this code from basic research and it works but is...
  • Macro
    is it possible for a macro to run if the active cell value is different to the value above it
  • IF DATE and TIME
    I currently use this to check if date has passed but i also need to set a time on it too. Is it possible? [CODE=vba]=IF(B:B>TODAY(),"Not...
Top