Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 18
Default Column number form an array

Afternoon,

I would like to know how to output the column number from a particular array
that a specific output is found in.

For example: what is the column number of X in the following array
V, W, X, Y, Z?
3

Thank you!

Michelle
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Column number form an array

Try this:

=MATCH("x",{"V","W","X","Y","Z"},0)

Or, if the entry is in a range of cells:

=MATCH("x",V1:Z1,0)

--
Biff
Microsoft Excel MVP


"michelle439731" wrote in message
...
Afternoon,

I would like to know how to output the column number from a particular
array
that a specific output is found in.

For example: what is the column number of X in the following array
V, W, X, Y, Z?
3

Thank you!

Michelle



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 18
Default Column number form an array

Smashing.

Thanks ever so.

Mwah!
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 19
Default Column number form an array

Michelle

You should try to explain your problem a bit more thoroughly if you
want to get a good quality answer to your problem. Asking about an
array makes me think that you are asking a vba question, in which case
you should probably ask it in this http://groups.google.com/group/micro...ramming/topics
discussion group. You should mention what version of excel you are
using?, how the array is populated?, is it a vba solution you need?,
is it a formulae solution you need?, is the data held in a worksheet?
Its very difficult to understand what you are trying to do from what
you have written.

Regards

Stuart Bisset
www.insightmodelling.com



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Array formula: how to join 2 ranges together to form one array? Rich_84 Excel Worksheet Functions 2 April 1st 09 07:38 PM
Using a template form, advance a form number everytime you open ShoDan Excel Discussion (Misc queries) 1 January 31st 08 02:34 PM
Finding a number in a column out of an array in another column cirena Excel Discussion (Misc queries) 3 April 4th 07 07:30 PM
V-Lookup, column index number indicator in table array Karen.Robertson@PMI Excel Worksheet Functions 0 May 17th 06 11:51 PM
how can I make a form number change everytime the form is opened babydumplingspita Excel Worksheet Functions 1 October 10th 05 08:58 PM


All times are GMT +1. The time now is 12:25 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"