#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JES JES is offline
external usenet poster
 
Posts: 9
Default Lookup Formula

Having trouble with a lookup when searching fo rhte first nonblank cell as a
reference point.

A B C D E F G
1 24 24 24
2 18 12 12
3 8
4 06/15 06/22 06/29 07/06 07/13 07/20

In cell A1 I need a formula that will return 07/06, A2 returns 06/22, and A3
returning 07/13.


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,344
Default Lookup Formula

Hi Jes,

Array enter the following formula:

=OFFSET($A$4,0,MATCH(TRUE,ISBLANK(B3:G3),0))

and copy it down. By array enter we mean press Shift Ctrl Enter instead of
Enter to enter the formula.
--

Cheers,
Shane Devenshire


"JES" wrote:

Having trouble with a lookup when searching fo rhte first nonblank cell as a
reference point.

A B C D E F G
1 24 24 24
2 18 12 12
3 8
4 06/15 06/22 06/29 07/06 07/13 07/20

In cell A1 I need a formula that will return 07/06, A2 returns 06/22, and A3
returning 07/13.


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Lookup Formula

Try this:

=INDEX(B$4:G$4,MATCH(TRUE,INDEX(B1:G1<"",,0),0))

Copy down as needed

--
Biff
Microsoft Excel MVP


"JES" wrote in message
...
Having trouble with a lookup when searching fo rhte first nonblank cell as
a
reference point.

A B C D E F G
1 24 24 24
2 18 12 12
3 8
4 06/15 06/22 06/29 07/06 07/13 07/20

In cell A1 I need a formula that will return 07/06, A2 returns 06/22, and
A3
returning 07/13.




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,572
Default Lookup Formula

Nice ! ... and to save a few keystrokes:

=INDEX(B$4:G$4,MATCH(TRUE,INDEX(B1:G1<"",),))

--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"T. Valko" wrote in message
...
Try this:

=INDEX(B$4:G$4,MATCH(TRUE,INDEX(B1:G1<"",,0),0))

Copy down as needed

--
Biff
Microsoft Excel MVP


"JES" wrote in message
...
Having trouble with a lookup when searching fo rhte first nonblank cell
as a
reference point.

A B C D E F G
1 24 24 24
2 18 12 12
3 8
4 06/15 06/22 06/29 07/06 07/13 07/20

In cell A1 I need a formula that will return 07/06, A2 returns 06/22, and
A3
returning 07/13.






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
Lookup Formula Bernadette Excel Discussion (Misc queries) 3 December 16th 07 07:18 PM
LOOKUP FORMULA Lindsay Excel Discussion (Misc queries) 2 October 6th 06 04:14 PM
Lookup Formula abcdexcel Excel Discussion (Misc queries) 7 January 4th 06 05:20 AM
Lookup Formula - but have a formula if it can't find/match a value Stephen Excel Worksheet Functions 11 June 14th 05 05:32 AM
lookup formula help Peter Excel Worksheet Functions 1 February 28th 05 08:49 PM


All times are GMT +1. The time now is 08:34 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"