Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default hybrid formula H&Vlookup????

I need to find a value in a certain row and return a value from same
row. I can't use vlookup because the lookup value can be with in any
colunm within a certain range. And the cell I have the formula in has
to be looking for the value in that same row.


111121411111111 =find "2" within this row and return value two
cells to the right of "2"
111111215111111
112111111111111
111111111129111
111111121311111


Thanks.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 698
Default hybrid formula H&Vlookup????

Try this.

=--MID(B1,FIND(2,B1)+2,1)

HTH
Regards,
Howard

"John Smith" wrote in message
...
I need to find a value in a certain row and return a value from same
row. I can't use vlookup because the lookup value can be with in any
colunm within a certain range. And the cell I have the formula in has
to be looking for the value in that same row.


111121411111111 =find "2" within this row and return value two
cells to the right of "2"
111111215111111
112111111111111
111111111129111
111111121311111


Thanks.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default hybrid formula H&Vlookup????

On Aug 20, 10:17*pm, "L. Howard Kittle" wrote:
Try this.

=--MID(B1,FIND(2,B1)+2,1)

HTH
Regards,
Howard

"John Smith" wrote in message

...



I need to find a value in a certain row and return a value from same
row. I can't use vlookup because the lookup value can be with in any
colunm within a certain range. And the cell I have the formula in has
to be looking for the value in that same row.


111121411111111 * * * * =find "2" within this row and return value two
cells to the right of "2"
111111215111111
112111111111111
111111111129111
111111121311111


Thanks.- Hide quoted text -


- Show quoted text -


Thanks. I wasn't clear on my example. Each of the numbers in the grid
above is in its own cell. A1:O1 is the top row range. Your idea works
great within the same cell. I need to find a value in one cell then
return a value in a different cell within the same row.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default hybrid formula H&Vlookup????

How about an index/match?
In P1: =INDEX(A1:O1,MATCH(2,A1:O1,0)+2)
Copy down
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:27,000 Files:200 Subscribers:70
xdemechanik
---
"John Smith" wrote:
.. Each of the numbers in the grid above is in its own cell.
A1:O1 is the top row range.

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default hybrid formula H&Vlookup????

On Aug 20, 11:06*pm, Max wrote:
How about an index/match?
In P1: =INDEX(A1:O1,MATCH(2,A1:O1,0)+2)
Copy down
--
Max
Singaporehttp://savefile.com/projects/236895
Downloads:27,000 Files:200 Subscribers:70
xdemechanik
---



"John Smith" wrote:
.. Each of the numbers in the grid above is in its own cell.
A1:O1 is the top row range.- Hide quoted text -


- Show quoted text -


Perfect! Thanks.



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default hybrid formula H&Vlookup????

Welcome, glad to hear
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:27,000 Files:200 Subscribers:70
xdemechanik
---
"John Smith" wrote
Perfect! Thanks.


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
Hybrid vlookup - sum function Emeryville John Excel Worksheet Functions 2 September 17th 08 09:37 PM
Alternative formula to the vlookup formula? Victor Excel Worksheet Functions 2 May 12th 08 04:38 PM
convert vlookup formula to link formula AFA Excel Worksheet Functions 0 February 20th 08 04:24 AM
Excel 2002 VLOOKUP formula or other formula Serge Excel Discussion (Misc queries) 4 February 26th 07 03:56 PM
How to sort text and letter hybrid (eg A1, A2, A10) in order? Amy Excel Worksheet Functions 0 March 21st 06 06:39 PM


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