A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Find a number in a column then return a value from another cell



 
 
Thread Tools Display Modes
  #1  
Old May 14th, 2010, 12:59 PM posted to microsoft.public.excel.worksheet.functions
Mark Dullingham
external usenet poster
 
Posts: 15
Default Find a number in a column then return a value from another cell

I have the follow data laid outs as follows;

E F G H
1 No. Descr Ref Layout
2 1 Name1 1,2 (Name1 Here)
3 2 Name2 3 (Name1 Here)
4 3 Name3 4 (Name2 Here)
(Name3 Here)

What I'm trying to achieve is, find which row in col G the number '1' is
found then place the value of col F in that row in Col H, then do the same
for '2' and so on.

Firstly is it posible to find the cell that contains a specifice number if
they are serperated by a , or any other punctuation.

Then using that information carry out a lookup.

I think this might involve array formula but I'm pretty clueless in this area.

Thanks in advance

Mark
  #2  
Old May 14th, 2010, 01:20 PM posted to microsoft.public.excel.worksheet.functions
Jacob Skaria
external usenet poster
 
Posts: 5,952
Default Find a number in a column then return a value from another cell

Hi Mark

Try the below array formula..press CTRL+SHIFT+ENTER to enter the formula. If
successful in 'Formula Bar' you can notice the curly braces at both ends like
"{=formula}"

Apply the below formula in H2 and copy down as required.

=INDEX($F$2:$F$10,MATCH("*," & ROW(A1) & ",*", "," & G$2:$G$10 & ",",0))

--
Jacob (MVP - Excel)


"Mark Dullingham" wrote:

I have the follow data laid outs as follows;

E F G H
1 No. Descr Ref Layout
2 1 Name1 1,2 (Name1 Here)
3 2 Name2 3 (Name1 Here)
4 3 Name3 4 (Name2 Here)
(Name3 Here)

What I'm trying to achieve is, find which row in col G the number '1' is
found then place the value of col F in that row in Col H, then do the same
for '2' and so on.

Firstly is it posible to find the cell that contains a specifice number if
they are serperated by a , or any other punctuation.

Then using that information carry out a lookup.

I think this might involve array formula but I'm pretty clueless in this area.

Thanks in advance

Mark

  #3  
Old May 17th, 2010, 09:57 AM posted to microsoft.public.excel.worksheet.functions
Mark Dullingham
external usenet poster
 
Posts: 15
Default Find a number in a column then return a value from another cel

Thank you Jacob yoyr solution is exactly what I was looking for

Many thanks

Mark

"Jacob Skaria" wrote:

Hi Mark

Try the below array formula..press CTRL+SHIFT+ENTER to enter the formula. If
successful in 'Formula Bar' you can notice the curly braces at both ends like
"{=formula}"

Apply the below formula in H2 and copy down as required.

=INDEX($F$2:$F$10,MATCH("*," & ROW(A1) & ",*", "," & G$2:$G$10 & ",",0))

--
Jacob (MVP - Excel)


"Mark Dullingham" wrote:

I have the follow data laid outs as follows;

E F G H
1 No. Descr Ref Layout
2 1 Name1 1,2 (Name1 Here)
3 2 Name2 3 (Name1 Here)
4 3 Name3 4 (Name2 Here)
(Name3 Here)

What I'm trying to achieve is, find which row in col G the number '1' is
found then place the value of col F in that row in Col H, then do the same
for '2' and so on.

Firstly is it posible to find the cell that contains a specifice number if
they are serperated by a , or any other punctuation.

Then using that information carry out a lookup.

I think this might involve array formula but I'm pretty clueless in this area.

Thanks in advance

Mark

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 05:58 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.