View Single Post
  #6   Report Post  
Posted to microsoft.public.excel.misc
tskogstrom tskogstrom is offline
external usenet poster
 
Posts: 92
Default Array as a "named range" - formula ok in cells, but error as "named range"

Hi,

I tested with a reference to a two column (Lookup(array)) instead and
it gives the same result. I thought at first it had something to do
with the "&" or blanks, but "Telecom" also give "Others". Also tested
Lookup(vector), definingt the two columns singlehanded but with same
result.

It must have something to do with the usage of Lookup formula, doesn't
it?

/regards
tskogstrom



RichardSchollar skrev:

Or possibly this:

={"Telecom";"Public & Healthcare";"Industrial & Utilities";"Banking &
Insurance";"Retail &
Logistics";"Other";"Company","Telecom";"P&H";"Indu stry";"B&I";"R&L";"Othe*rs";"Others"}


I've just taken out the };{ from the middle (this was causing it to
error), and replaced the semi-colon between "Company" and "Telecom"
with a comma (",").

Hope this helps!

Richard


RichardSchollar wrote:

Hi Tskogstrom

If I was doing that in the UK, I would write it as:

={"Telecom","Telecom";"Public & Healthcare","P&H";"Industrial &
Utilities","Industry";"Banking & Insurance","B&I";"Retail &
Logistics","R&L";"Other","Others";"Company","Other s"}

You may have to swap the "," and ";" around. Basically, it forms a
grid where the columns are separated by "," and the rows by ";".

Hope this helps!

Richard


tskogstrom wrote:

I want to have array formula as a named range, but Excel doesn't accept
this formula. Maybe it is the "&" sign, or? How should I write? I have
Swedish signs, therefore use ";" instead of "," etc, I guess.

={"Telecom";"Public & Healthcare";"Industrial & Utilities";"Banking &
Insurance";"Retail &
Logistics";"Other";"Company"};{"Telecom";"P&H";"In dustry";"B&I";"R&L";"Others";"Others"}


THIS worksheet formula is accepted into an ordinary cell.. I recieve
"Others" in the cell:

=LOOKUP("Company";{"Telecom";"Public & Healthcare";"Industrial &
Utilities";"Banking & Insurance";"Retail &
Logistics";"Other";"Company"};{"Telecom";"P&H";"In dustry";"B&I";"R&L";"Others";"Others"})


So - any idea how it should be as a named range formula?

Happy to all suggestions,
Tskogstrom