Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 50
Default Data Address - Row No.

Hi,

In Sheet 1, I have this Data,
Column 1
Row 1 Data 1
Row 2
Row 3 Data 2
Row 4
Row 5
Row 6
Row 7 Data 3
Row 8 Data 4
Row 9 Data 5
Row 10
Row 11 Data 6

In Sheet 2
Column 1 Result
Row 1 Data 1 1
Row 2 Data 2 3
Row 3 Data 3 7
Row 4 Data 4 8
Row 5 Data 5 9
Row 6 Data 6 6

My aim is to get the Row Number in Sheet 1 if the Data in Sheet 2 is
matching with Sheet 1. Let say, if I type "Data 1" in cell A1 the result in
B1 should be "1". If Data 2, result must be "3", and soon.

Thanks for the help.

EricBB

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 367
Default Data Address - Row No.

What you need is the Match function:

=MATCH(A1,Sheet1!A:A,FALSE)

hth

Carlo

On Nov 27, 3:55 pm, EricBB wrote:
Hi,

In Sheet 1, I have this Data,
Column 1
Row 1 Data 1
Row 2
Row 3 Data 2
Row 4
Row 5
Row 6
Row 7 Data 3
Row 8 Data 4
Row 9 Data 5
Row 10
Row 11 Data 6

In Sheet 2
Column 1 Result
Row 1 Data 1 1
Row 2 Data 2 3
Row 3 Data 3 7
Row 4 Data 4 8
Row 5 Data 5 9
Row 6 Data 6 6

My aim is to get the Row Number in Sheet 1 if the Data in Sheet 2 is
matching with Sheet 1. Let say, if I type "Data 1" in cell A1 the result in
B1 should be "1". If Data 2, result must be "3", and soon.

Thanks for the help.

EricBB


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 367
Default Data Address - Row No.

What you need is the Match function:

=MATCH(A1,Sheet1!A:A,FALSE)

And if you want to ignore empty cells:

=if(A1="","",MATCH(A1,Sheet1!A:A,FALSE))

And for ignoring errors:

=IF(A1="","",IF(ISERROR(MATCH(A1,Sheet1!A:A,FALSE) ),"not
found",MATCH(A1,Sheet1!A:A,FALSE)))


hth


Carlo


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 50
Default Data Address - Row No.

hi carlo,
this is really what i want. thank you so much
EricBB

"carlo" wrote:

What you need is the Match function:

=MATCH(A1,Sheet1!A:A,FALSE)

And if you want to ignore empty cells:

=if(A1="","",MATCH(A1,Sheet1!A:A,FALSE))

And for ignoring errors:

=IF(A1="","",IF(ISERROR(MATCH(A1,Sheet1!A:A,FALSE) ),"not
found",MATCH(A1,Sheet1!A:A,FALSE)))


hth


Carlo



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 367
Default Data Address - Row No.

On Nov 27, 5:00 pm, EricBB wrote:
hi carlo,
this is really what i want. thank you so much
EricBB



"carlo" wrote:
What you need is the Match function:


=MATCH(A1,Sheet1!A:A,FALSE)


And if you want to ignore empty cells:


=if(A1="","",MATCH(A1,Sheet1!A:A,FALSE))


And for ignoring errors:


=IF(A1="","",IF(ISERROR(MATCH(A1,Sheet1!A:A,FALSE) ),"not
found",MATCH(A1,Sheet1!A:A,FALSE)))


hth


Carlo- Hide quoted text -


- Show quoted text -


you're welcome!
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
European Address Data John.Greenan Excel Discussion (Misc queries) 0 May 11th 07 08:42 AM
How do I avoid excel change absolute address to relative address Miguel Excel Discussion (Misc queries) 3 May 10th 07 11:18 PM
How do I separate data in address field? Baylynx New Users to Excel 2 April 28th 06 09:33 PM
long address list, name-address-city, listed vertically, how do y. kb Excel Discussion (Misc queries) 2 March 4th 05 12:48 AM
How do I import Office address book to Outlook Express address bo. snnorp Excel Discussion (Misc queries) 2 February 22nd 05 11:47 AM


All times are GMT +1. The time now is 07:55 PM.

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"