I have a workbook where users can input job titles in two different ranges (A2:A6 & A8:A12). Only one range would be filled at a time, but I want to use one data validation list for both ranges without blanks showing up within the list. The problem is if I use formulas to generate the range for the list, it counts those cells and shows up as blanks. Is there a way to make a list that incorporates both ranges without blanks showing up in the list?
Workbook:
I made an IF statement to make one range on a different sheet to consolidate, but the formula that have blanks show up in the list since they aren't truly blank. Here is the formula used within the data validation list:
Desired Result regardless of what range the information is in:
Officer
Part Time
Full time
Thank you for your help!
Workbook:
Code:
[TABLE="width: 199"]
<tbody>[TR]
[TD][/TD]
[TD]Job Title/Hours/Status[/TD]
[/TR]
[TR]
[TD="align: left"]A2[/TD]
[TD="align: left"]Officer[/TD]
[/TR]
[TR]
[TD="align: left"]A3[/TD]
[TD="align: left"]Part Time[/TD]
[/TR]
[TR]
[TD="align: left"]A4[/TD]
[TD="align: left"]Full Time[/TD]
[/TR]
[TR]
[TD="align: left"]A5[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: left"]A6[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Job Title/Hours/Status[/TD]
[/TR]
[TR]
[TD="align: left"]A8[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: left"]A9[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: left"]A10[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: left"]A11[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="align: left"]A12[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I made an IF statement to make one range on a different sheet to consolidate, but the formula that have blanks show up in the list since they aren't truly blank. Here is the formula used within the data validation list:
Code:
=OFFSET($G2,0,0,COUNTA($G:$G)-1,1)
Desired Result regardless of what range the information is in:
Officer
Part Time
Full time
Thank you for your help!