#1   Report Post  
mattsheffield
 
Posts: n/a
Default Search Function


Hi,

I'm hoping somebody can help!!!
In cells B1 to AA1 i have dates.
Below that i have values (i.e. in B2 to AA2, B3 to AA3 etc)

What function could i use in cell B1 to search the cells to the right
until it finds a value 0 and then retun the value about that in the
dates row (b1 to aa1)

Hope this explains it!!

Many thanks in advance

Matt


--
mattsheffield
------------------------------------------------------------------------
mattsheffield's Profile: http://www.excelforum.com/member.php...o&userid=26196
View this thread: http://www.excelforum.com/showthread...hreadid=395033

  #2   Report Post  
Dave Peterson
 
Posts: n/a
Default

One way:

=INDEX($B$1:$AA$1,MATCH(TRUE,B2:AA20,0))

This is an array formula. Hit ctrl-shift-enter instead of enter. If you do it
correctly, excel will wrap curly brackets {} around your formula. (don't type
them yourself.)

mattsheffield wrote:

Hi,

I'm hoping somebody can help!!!
In cells B1 to AA1 i have dates.
Below that i have values (i.e. in B2 to AA2, B3 to AA3 etc)

What function could i use in cell B1 to search the cells to the right
until it finds a value 0 and then retun the value about that in the
dates row (b1 to aa1)

Hope this explains it!!

Many thanks in advance

Matt

--
mattsheffield
------------------------------------------------------------------------
mattsheffield's Profile: http://www.excelforum.com/member.php...o&userid=26196
View this thread: http://www.excelforum.com/showthread...hreadid=395033


--

Dave Peterson
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
I NEED HELP with the SPELLNUMBER Function vag Excel Worksheet Functions 0 June 21st 05 08:17 AM
Excel option to store trendline's coefficients in cells for use Miguel Saldana Charts and Charting in Excel 9 June 20th 05 08:45 PM
Search function nc Excel Discussion (Misc queries) 7 May 13th 05 03:08 PM
Conversion SVC Excel Worksheet Functions 9 February 28th 05 02:29 PM
Search function using commas Kylie Excel Worksheet Functions 1 February 2nd 05 02:46 AM


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