#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Look up question

Hi,

Help please. I imagine this is simple but I must be a bit dim today.

I need to find the value of the xth cell in an array A1:E1, where x is
determined by the position of the first blank cell in the array A2:E2.

e.g. if A1 to E1 contains values 1;2;3;4;5, and A2 to E2 contains
10;20;30;blank;blank, the answer should be 4.

Thanks,
Graham.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Look up question

If the values in A1:E1 really are the sequential numbers 1;2;3;4;5

Array entered using the key combination of CTRL,SHIFT,ENTER (not just
ENTER):

=MATCH(TRUE,A2:E2="",0)

If the values in A1:E1 are NOT the sequential numbers 1;2;3;4;5

Also array entered:

=INDEX(A1:E1,MATCH(TRUE,A2:E2="",0))

Biff

"Graham944" wrote in message
...
Hi,

Help please. I imagine this is simple but I must be a bit dim today.

I need to find the value of the xth cell in an array A1:E1, where x is
determined by the position of the first blank cell in the array A2:E2.

e.g. if A1 to E1 contains values 1;2;3;4;5, and A2 to E2 contains
10;20;30;blank;blank, the answer should be 4.

Thanks,
Graham.



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
Possibly a loaded question, but I think mileslit Excel Discussion (Misc queries) 1 September 10th 05 01:18 AM
How do I find and replace a question mark in Excel? Ranpalandil Excel Discussion (Misc queries) 1 September 7th 05 10:20 PM
Newbie With A Question Michael Excel Worksheet Functions 0 July 28th 05 11:50 PM
Anybody Help with previous question Anthony Excel Discussion (Misc queries) 1 July 26th 05 01:26 PM
Hints And Tips For New Posters In The Excel Newsgroups Gary Brown Excel Worksheet Functions 0 April 15th 05 05:47 PM


All times are GMT +1. The time now is 08:36 AM.

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"