Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.newusers
|
|||
|
|||
![]()
How do I define an array constant as a name?
I tried to insert a name as follows Name: 2006!AgeRange Refers to: ={<16,17-18,19-49,49} and it advised that the syntax was incorrect but was otherwise unhelpful. I tried substituting ";" for "," as the element separators but that didn't help either. Thanks -- Return email address is not as DEEP as it appears |
#2
![]()
Posted to microsoft.public.excel.newusers
|
|||
|
|||
![]()
Try this:
={"<16","17-18","19-49","49"} Does that help? *********** Regards, Ron XL2002, WinXP-Pro "Jack Sheet" wrote: How do I define an array constant as a name? I tried to insert a name as follows Name: 2006!AgeRange Refers to: ={<16,17-18,19-49,49} and it advised that the syntax was incorrect but was otherwise unhelpful. I tried substituting ";" for "," as the element separators but that didn't help either. Thanks -- Return email address is not as DEEP as it appears |
#3
![]()
Posted to microsoft.public.excel.newusers
|
|||
|
|||
![]()
These values are text and not numbers so you need to use either
={"<16","17-18","19-49","49"} or ={"<16";"17-18";"19-49";"49"} Regards, Peo Sjoblom "Jack Sheet" wrote in message ... How do I define an array constant as a name? I tried to insert a name as follows Name: 2006!AgeRange Refers to: ={<16,17-18,19-49,49} and it advised that the syntax was incorrect but was otherwise unhelpful. I tried substituting ";" for "," as the element separators but that didn't help either. Thanks -- Return email address is not as DEEP as it appears |
#4
![]()
Posted to microsoft.public.excel.newusers
|
|||
|
|||
![]()
Thanks Peo, And Ron.
Your solotion worked, but for some reason it did not help me in the end. I wanted to refer to the named array constant as a source for "pick from list" in data validation, but it seems not to like it unless you dedicate cells to the range. "Peo Sjoblom" wrote in message ... These values are text and not numbers so you need to use either ={"<16","17-18","19-49","49"} or ={"<16";"17-18";"19-49";"49"} Regards, Peo Sjoblom "Jack Sheet" wrote in message ... How do I define an array constant as a name? I tried to insert a name as follows Name: 2006!AgeRange Refers to: ={<16,17-18,19-49,49} and it advised that the syntax was incorrect but was otherwise unhelpful. I tried substituting ";" for "," as the element separators but that didn't help either. Thanks -- Return email address is not as DEEP as it appears |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How can I get a long block of wrapped text to print? | Excel Discussion (Misc queries) | |||
copy a block of cells | Excel Discussion (Misc queries) | |||
How to copy block of cells and keep grouping? | Excel Discussion (Misc queries) | |||
Changing the format of a block of data | Excel Discussion (Misc queries) | |||
copy a sheet in same workbook temporary block excel | Excel Worksheet Functions |