Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default search across row for nearest value

I am looking for a function that will search across a row of empty cells to
find the one cell that has a value; and then bring that value to the formula.

Additionally, I am looking for a function that will search across a row of
empty cells to find the nearest cell that has a value; and then return that
value.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default search across row for nearest value

Try in say, A2, array-entered*:
=INDEX(1:1,MATCH(TRUE,(1:1<""),0))
which returns the value from row1

*press CTRL+SHIFT+ENTER to confirm the formula
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Wolf Crick" wrote:
I am looking for a function that will search across a row of empty cells to
find the one cell that has a value; and then bring that value to the formula.

Additionally, I am looking for a function that will search across a row of
empty cells to find the nearest cell that has a value; and then return that
value.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default search across row for nearest value

search across a row of empty cells to find
the one cell that has a value


If the one value is a number and the row is row 1:

=MAX(1:1)

If the one value is a TEXT entry:

=LOOKUP(REPT("z",255),1:1)

--
Biff
Microsoft Excel MVP


"Wolf Crick" <Wolf wrote in message
...
I am looking for a function that will search across a row of empty cells to
find the one cell that has a value; and then bring that value to the
formula.

Additionally, I am looking for a function that will search across a row of
empty cells to find the nearest cell that has a value; and then return
that
value.



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default search across row for nearest value

Thanks. Now my question changes to how do I find that value in a specific
range on a row?

"T. Valko" wrote:

search across a row of empty cells to find
the one cell that has a value


If the one value is a number and the row is row 1:

=MAX(1:1)

If the one value is a TEXT entry:

=LOOKUP(REPT("z",255),1:1)

--
Biff
Microsoft Excel MVP


"Wolf Crick" <Wolf wrote in message
...
I am looking for a function that will search across a row of empty cells to
find the one cell that has a value; and then bring that value to the
formula.

Additionally, I am looking for a function that will search across a row of
empty cells to find the nearest cell that has a value; and then return
that
value.




  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default search across row for nearest value

Just use the specific range:

=MAX(C10:AA10)

=LOOKUP(REPT("z",255),H133:Z133)


--
Biff
Microsoft Excel MVP


"Wolf Crick" wrote in message
...
Thanks. Now my question changes to how do I find that value in a specific
range on a row?

"T. Valko" wrote:

search across a row of empty cells to find
the one cell that has a value


If the one value is a number and the row is row 1:

=MAX(1:1)

If the one value is a TEXT entry:

=LOOKUP(REPT("z",255),1:1)

--
Biff
Microsoft Excel MVP


"Wolf Crick" <Wolf wrote in message
...
I am looking for a function that will search across a row of empty cells
to
find the one cell that has a value; and then bring that value to the
formula.

Additionally, I am looking for a function that will search across a row
of
empty cells to find the nearest cell that has a value; and then return
that
value.








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
Seo , Search Engine Optimizer , Seo Search engine Optimization , search engine optimization services, SEO Consulting Se0 Guy Excel Worksheet Functions 0 March 8th 07 04:08 AM
Seo , Search Engine Optimizer , Seo Search engine Optimization , search engine optimization services, SEO Consulting Se0 Guy Setting up and Configuration of Excel 0 March 8th 07 04:08 AM
Seo , Search Engine Optimizer , Seo Search engine Optimization , search engine optimization services, SEO Consulting Se0 Guy Links and Linking in Excel 0 March 8th 07 04:08 AM
How do I search excel spreadsheets using multiple search criteria. Kasper Excel Worksheet Functions 4 December 15th 05 12:26 AM
How do I set up Excel to search nearest resource by address mc303 Excel Worksheet Functions 4 December 13th 04 12:23 PM


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