Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have a spreadsheet containing a worksheet (Applications) that has a
reference number E1,E2,E3 etc in column A in cells A3:A102. Cells C3:1C102 will contain a name but may not. I want to create a Validation ldrop down list on another worksheet (Menu) that only contains the reference number A3:A102 if there is a value in the cell C3:C102. Is there anyway of doing this? At the moment my validation list contains blanks, as i have put an if formula in the A3:A103 range to put blank if the C3:C102 cell is blank. |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
First set an AutoFilter on column C to hide the blanks (rows without names).
Then copy column A to you destination sheet and use it for validation. -- Gary''s Student - gsnu200850 "Shaggyjh" wrote: I have a spreadsheet containing a worksheet (Applications) that has a reference number E1,E2,E3 etc in column A in cells A3:A102. Cells C3:1C102 will contain a name but may not. I want to create a Validation ldrop down list on another worksheet (Menu) that only contains the reference number A3:A102 if there is a value in the cell C3:C102. Is there anyway of doing this? At the moment my validation list contains blanks, as i have put an if formula in the A3:A103 range to put blank if the C3:C102 cell is blank. |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I think i can write the macro to do the autofilter but how do i get the
resulting list to copy to my destination sheet? Many thanks "Gary''s Student" wrote: First set an AutoFilter on column C to hide the blanks (rows without names). Then copy column A to you destination sheet and use it for validation. -- Gary''s Student - gsnu200850 "Shaggyjh" wrote: I have a spreadsheet containing a worksheet (Applications) that has a reference number E1,E2,E3 etc in column A in cells A3:A102. Cells C3:1C102 will contain a name but may not. I want to create a Validation ldrop down list on another worksheet (Menu) that only contains the reference number A3:A102 if there is a value in the cell C3:C102. Is there anyway of doing this? At the moment my validation list contains blanks, as i have put an if formula in the A3:A103 range to put blank if the C3:C102 cell is blank. |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Here is some quick code from the Recorder:
Sub Macro2() ' ' Macro2 Macro ' Macro recorded 5/1/2009 by James Ravenswood ' ' Range("C1").Select Selection.AutoFilter Selection.AutoFilter Field:=3, Criteria1:="<" Range("A1:A27").Select Selection.Copy Sheets("Sheet2").Select ActiveSheet.Paste End Sub I would modify this by replacing A27 with something REALLY bid, like A10000. Also after the Sheets("Sheet2").Select, put something like: Range("B9").Select to set the destination cell. -- Gary''s Student - gsnu200850 "Shaggyjh" wrote: I think i can write the macro to do the autofilter but how do i get the resulting list to copy to my destination sheet? Many thanks "Gary''s Student" wrote: First set an AutoFilter on column C to hide the blanks (rows without names). Then copy column A to you destination sheet and use it for validation. -- Gary''s Student - gsnu200850 "Shaggyjh" wrote: I have a spreadsheet containing a worksheet (Applications) that has a reference number E1,E2,E3 etc in column A in cells A3:A102. Cells C3:1C102 will contain a name but may not. I want to create a Validation ldrop down list on another worksheet (Menu) that only contains the reference number A3:A102 if there is a value in the cell C3:C102. Is there anyway of doing this? At the moment my validation list contains blanks, as i have put an if formula in the A3:A103 range to put blank if the C3:C102 cell is blank. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Data Validation List with blanks | Excel Discussion (Misc queries) | |||
Blanks Data Validation List | Excel Discussion (Misc queries) | |||
Validation list with blanks at the bottom | Excel Discussion (Misc queries) | |||
Data Validation and Blanks in List | Excel Worksheet Functions | |||
validation list blanks | Excel Worksheet Functions |