Error in Data Validation List using Offset Function in Excel || (the source currently evaluates to an error)

scorpene

New Member
Joined
Aug 2, 2019
Messages
9
i used following formula to extract unique values from a list- =IFERROR(INDEX(Table_AMIS[UPLIFTDATE],MATCH(0,INDEX(COUNTIF($AH$1:AH1,Table_AMIS[UPLIFTDATE]),),0)),"")

Now in order to create a drop down list from the above distinct list i put the following formula in data validation field: =OFFSET(SS_1!AH2,,,COUNTIF(SS_1!AH2:AH50,"?*"))

But i get this error "the source currently evaluates to an error". The field which i am trying to extract contains dates only. . When remove the question mark from offset formula then the values starts flowing in the drop down but along with the blank spaces. But i don't want the blank spaces.

Please help !!
 

Some videos you may like

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
55,682
Office Version
  1. 365
Platform
  1. Windows
How about
=OFFSET(SS_1!AH2,,,COUNTIF(SS_1!AH2:AH50,">0"))
 

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
55,682
Office Version
  1. 365
Platform
  1. Windows
You're welcome & thanks for the feedback.
 

Watch MrExcel Video

Forum statistics

Threads
1,127,910
Messages
5,627,581
Members
416,255
Latest member
amethystia

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
Top