Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
ppp ppp is offline
external usenet poster
 
Posts: 5
Default Match value return a text

i need a formula in Sheet 2 of Column B to return the appropriate match
category based on value in sheet 2 column A


Sheet 1
Column A
a
b
c
d
e
etc

Sheet 2
Column A
1
1
1
2
3
4
5

i need to create column B in sheet 2 which look like the example below

column A Column B
1 a
1 a
1 a
2 b
3 c
4 e
5
6 d

Thanks very much for taking a look and help.

ppp
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,766
Default Match value return a text

Hi,

Try this

=INDEX(Sheet1!$C$3:$C$7,Sheet2!D4,1)

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"ppp" wrote in message
...
i need a formula in Sheet 2 of Column B to return the appropriate match
category based on value in sheet 2 column A


Sheet 1
Column A
a
b
c
d
e
etc

Sheet 2
Column A
1
1
1
2
3
4
5

i need to create column B in sheet 2 which look like the example below

column A Column B
1 a
1 a
1 a
2 b
3 c
4 e
5
6 d

Thanks very much for taking a look and help.

ppp


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
ppp ppp is offline
external usenet poster
 
Posts: 5
Default Match value return a text

Hi

I try the formula you gave me but the return text doesn't appear in the
correct position.

"Ashish Mathur" wrote:

Hi,

Try this

=INDEX(Sheet1!$C$3:$C$7,Sheet2!D4,1)

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"ppp" wrote in message
...
i need a formula in Sheet 2 of Column B to return the appropriate match
category based on value in sheet 2 column A


Sheet 1
Column A
a
b
c
d
e
etc

Sheet 2
Column A
1
1
1
2
3
4
5

i need to create column B in sheet 2 which look like the example below

column A Column B
1 a
1 a
1 a
2 b
3 c
4 e
5
6 d

Thanks very much for taking a look and help.

ppp


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Match value return a text

Try
=INDEX(Sheet1!A:A,A1,1)

If this post helps click Yes
---------------
Jacob Skaria


"ppp" wrote:

i need a formula in Sheet 2 of Column B to return the appropriate match
category based on value in sheet 2 column A


Sheet 1
Column A
a
b
c
d
e
etc

Sheet 2
Column A
1
1
1
2
3
4
5

i need to create column B in sheet 2 which look like the example below

column A Column B
1 a
1 a
1 a
2 b
3 c
4 e
5
6 d

Thanks very much for taking a look and help.

ppp

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,766
Default Match value return a text

Hi,

It should. I tried it and got the answer as a,a,a,b,c,d,e. Please check
once again.

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"ppp" wrote in message
...
Hi

I try the formula you gave me but the return text doesn't appear in the
correct position.

"Ashish Mathur" wrote:

Hi,

Try this

=INDEX(Sheet1!$C$3:$C$7,Sheet2!D4,1)

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"ppp" wrote in message
...
i need a formula in Sheet 2 of Column B to return the appropriate match
category based on value in sheet 2 column A


Sheet 1
Column A
a
b
c
d
e
etc

Sheet 2
Column A
1
1
1
2
3
4
5

i need to create column B in sheet 2 which look like the example below

column A Column B
1 a
1 a
1 a
2 b
3 c
4 e
5
6 d

Thanks very much for taking a look and help.

ppp




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Match value return a text

In sheet2 Cell B1
=INDEX(Sheet1!A:A,ROW())

'to handle blank entries
=IF(INDEX(Sheet1!A:A,ROW())="","",INDEX(Sheet1!A:A ,ROW()))

If this post helps click Yes
---------------
Jacob Skaria


"Jacob Skaria" wrote:

Try
=INDEX(Sheet1!A:A,A1,1)

If this post helps click Yes
---------------
Jacob Skaria


"ppp" wrote:

i need a formula in Sheet 2 of Column B to return the appropriate match
category based on value in sheet 2 column A


Sheet 1
Column A
a
b
c
d
e
etc

Sheet 2
Column A
1
1
1
2
3
4
5

i need to create column B in sheet 2 which look like the example below

column A Column B
1 a
1 a
1 a
2 b
3 c
4 e
5
6 d

Thanks very much for taking a look and help.

ppp

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Match value return a text

Please ignore my second post...

"Jacob Skaria" wrote:

In sheet2 Cell B1
=INDEX(Sheet1!A:A,ROW())

'to handle blank entries
=IF(INDEX(Sheet1!A:A,ROW())="","",INDEX(Sheet1!A:A ,ROW()))

If this post helps click Yes
---------------
Jacob Skaria


"Jacob Skaria" wrote:

Try
=INDEX(Sheet1!A:A,A1,1)

If this post helps click Yes
---------------
Jacob Skaria


"ppp" wrote:

i need a formula in Sheet 2 of Column B to return the appropriate match
category based on value in sheet 2 column A


Sheet 1
Column A
a
b
c
d
e
etc

Sheet 2
Column A
1
1
1
2
3
4
5

i need to create column B in sheet 2 which look like the example below

column A Column B
1 a
1 a
1 a
2 b
3 c
4 e
5
6 d

Thanks very much for taking a look and help.

ppp

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
Match Text return a value from the row DrewBe Excel Worksheet Functions 2 August 14th 09 07:19 PM
Two colums match return text from another SMOKN_ENG_MOM Excel Discussion (Misc queries) 12 August 14th 08 06:23 PM
MATCH Multiple Criteria & Return Previous / Penultimate Match Sam via OfficeKB.com Excel Worksheet Functions 27 October 6th 07 01:39 AM
Compare Value in Cell 1 to a List, Return Value if Match otherwise Return Null Ben Excel Discussion (Misc queries) 2 March 15th 07 01:02 AM
Match text to another worksheet and return a certain value Edye Excel Worksheet Functions 4 December 19th 04 04:53 PM


All times are GMT +1. The time now is 09:35 AM.

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

About Us

"It's about Microsoft Excel"