Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
Solved

# Remove Dropdown Space

Posted on 2013-01-20
Medium Priority
270 Views
Hello,

Previously,
I got a solution from here:
http://www.experts-exchange.com/Software/Office_Productivity/Office_Suites/MS_Office/Excel/Q_28002175.html

I want to dynamically show only the applicable months as choices and no spaces in the month dropdown option. How do I change the offset function in DV to do that?
For example : if I select Quarter = Q2 and month  = M6, I am seeing this:
W23,W24,W25,W26 and a space in the dropdown.
How do I eliminate that extra space?

See attached image…
spaceINDropDown.png
0
Question by:Rayne
[X]
###### Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

• Help others & share knowledge
• Earn cash & points

LVL 43

Accepted Solution

Saqib Husain, Syed earned 2000 total points
ID: 38799278
=OFFSET(\$L\$10,MATCH(\$C\$3,\$L\$11:\$L\$22,0),1,1,COUNTA(OFFSET(\$L\$10,MATCH(\$C\$3,\$L\$11:\$L\$22,0),1,1,5)))
0

Author Comment

ID: 38799308
Perfect Ssaqibh :)
0

## Featured Post

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
This article describes a serious pitfall that can happen when deleting shapes using VBA.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
###### Suggested Courses
Course of the Month5 days, 22 hours left to enroll