#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 81
Default Lookup & copy range

Hello
I need to copy a set of data for users which is organised into approx 20col
x 2 rows
As below
Number Cost Cost1 Cost2 etc
David 1 £5 10 15
5 £6 12 18
Peter 3 £3 56 56
5 £5 55 40
Paul 6 £6 56 65
8 £6 64 75

I want to look up a name & update the data
Number Cost Cost1 Cost2 etc
David 1 £5 10 15
5 £6 12 18
Any ideas welcome.

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,339
Default Lookup & copy range

If original data is on Sheer1, then with name in A2 on Sheet2:

in B2:

=INDEX(Sheet1!B:B,MATCH($A$2,Sheet1!$A:$A,0))

and copy across

in B3:

=INDEX(Sheet1!B:B,MATCH($A$2,Sheet1!$A:$A,0)+1)

and copy across

Does this help?

"Saintsman" wrote:

Hello
I need to copy a set of data for users which is organised into approx 20col
x 2 rows
As below
Number Cost Cost1 Cost2 etc
David 1 £5 10 15
5 £6 12 18
Peter 3 £3 56 56
5 £5 55 40
Paul 6 £6 56 65
8 £6 64 75

I want to look up a name & update the data
Number Cost Cost1 Cost2 etc
David 1 £5 10 15
5 £6 12 18
Any ideas welcome.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 81
Default Lookup & copy range

Thanks very much for both speed of reply & a good answer

Saintsman

"Toppers" wrote:

If original data is on Sheer1, then with name in A2 on Sheet2:

in B2:

=INDEX(Sheet1!B:B,MATCH($A$2,Sheet1!$A:$A,0))

and copy across

in B3:

=INDEX(Sheet1!B:B,MATCH($A$2,Sheet1!$A:$A,0)+1)

and copy across

Does this help?

"Saintsman" wrote:

Hello
I need to copy a set of data for users which is organised into approx 20col
x 2 rows
As below
Number Cost Cost1 Cost2 etc
David 1 £5 10 15
5 £6 12 18
Peter 3 £3 56 56
5 £5 55 40
Paul 6 £6 56 65
8 £6 64 75

I want to look up a name & update the data
Number Cost Cost1 Cost2 etc
David 1 £5 10 15
5 £6 12 18
Any ideas welcome.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,339
Default Lookup & copy range

Thank you for the feedback.

"Saintsman" wrote:

Thanks very much for both speed of reply & a good answer

Saintsman

"Toppers" wrote:

If original data is on Sheer1, then with name in A2 on Sheet2:

in B2:

=INDEX(Sheet1!B:B,MATCH($A$2,Sheet1!$A:$A,0))

and copy across

in B3:

=INDEX(Sheet1!B:B,MATCH($A$2,Sheet1!$A:$A,0)+1)

and copy across

Does this help?

"Saintsman" wrote:

Hello
I need to copy a set of data for users which is organised into approx 20col
x 2 rows
As below
Number Cost Cost1 Cost2 etc
David 1 £5 10 15
5 £6 12 18
Peter 3 £3 56 56
5 £5 55 40
Paul 6 £6 56 65
8 £6 64 75

I want to look up a name & update the data
Number Cost Cost1 Cost2 etc
David 1 £5 10 15
5 £6 12 18
Any ideas 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
How do I copy formulas but using the same range each time I copy Laffin Excel Worksheet Functions 2 June 22nd 06 04:17 PM
lookup field and copy the row across adyden Excel Worksheet Functions 3 June 14th 06 12:49 PM
Lookup in a range. Paul Excel Discussion (Misc queries) 4 February 1st 06 08:51 PM
Range Lookup Jake Excel Discussion (Misc queries) 2 April 28th 05 11:02 PM
lookup and copy MJ Excel Worksheet Functions 2 October 29th 04 06:19 PM


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