Strip out first cell / Validation list / blanks

andydtaylor

Active Member
Joined
Feb 15, 2007
Messages
360
Office Version
  1. 2016
Hi,

I have a table of legal entities (L.E) and divisions in those entities, which I do not want to transform. I am aiming to produce a drop-down of relevant divisions for selection using data validation in another cell.

Here is my dynamic range:

li_Div=INDEX(i_h_Division,MATCH(template!$B16,i_h_Division[LE ID],0),)


So L.E. is entered in one cell e.g. A002. The cell to the right using the validation/ named range above is showing:

A002
Div1
Div2
Div3

Is there a nice way to trim the first cell? i.e. not have L.E at the top? I am seeking not to reference column names in my named range because the next tables I do this on are more at risk of growing on refresh. Maybe offset? Is there a way to refer to column numbers /highest column number instead of names?

Also, my drop-down items include blanks (Nulls from Power Query). But I have the box "Ignore blank" checked. Is there a nice way to screen out these blanks?

Thanks,


Andy
 
Last edited:

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).

Forum statistics

Threads
1,213,528
Messages
6,114,154
Members
448,553
Latest member
slaytonpa

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