Excel drop down list with Dynamic range where range contains formulas that return a ""

Alwina

Board Regular
Joined
Oct 3, 2013
Messages
61
Hi there

I have a drop down list which gets its data from the output of a formula in column I. The formula in column I is

=IFERROR(INDEX(Projects!$B$12:$B$500, SMALL(INDEX(($I$10=Projects!$A$12:$A$500)*(MATCH(ROW(Projects!$A$12:$A$500), ROW(Projects!$A$12:$AB$500)))+($I$10<>Projects!$A$12:$A$500)*1048577, 0, 0), ROW(A1))),"")

The formula in the data valadation list is =OFFSET($I$11,0,0,COUNTA($I:$I)-7,1)

What can i do to exclude the cells that returns ""?
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
Try this one:


In your offset function replace COUNTA($I:$I) with COUNTA($I:$I)-COUNTIF($I:$I,"")
 
Upvote 0

Forum statistics

Threads
1,215,482
Messages
6,125,061
Members
449,206
Latest member
Healthydogs

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