write the name of the child

mgm90210M

Board Regular
Joined
Feb 14, 2013
Messages
92
this table is contain the data of every child
(with no formula inside that cell) :




cell a1highageiqgrate in historygrate in biologygrate in geography
tomes6877777698
stave74123654554
brus338145988732
dan7766656565

<tbody>
</tbody>


i need that when i write the name of the child in second table (in column a )all that data from the first table about that child will write in the second table , like this :


cell a7
tomer6877777698
dan7766656565

<tbody>
</tbody>




thanks
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
In B7 and copy down and across
=INDEX($A$1:$G$5,MATCH($A15,$A$1:$A$5,0),COLUMN())
 
Upvote 0
Another way.

Select cell B8 to G8 and while still selected type in this formula--DO NOT HIT ENTER.

While still selected hold down ctrl and shift keys and then hit enter. This is array enter. You will get {....} around the formula.

Pull down as far as needed.

If you want to make corrections or adjustments to the formula, re-select B8 to G8, make your changes and array enter again.

=IF(ISERROR(VLOOKUP(C20,$C$13:$I$16,{2,3,4,5,6,7},0)),"",(VLOOKUP(C20,$C$13:$I$16,{2,3,4,5,6,7},0)))

Regards,
Howard
 
Upvote 0
name the range A2 to G5 "results", then use vlookup - but you would have to put names in alphabetical order first. If you can't do that, use an offset match equation. Something like =offset($A$1, match(1,a6,a2:a5,0) - this would be placed to the right of the name you select......

this starts at A1, looks for the name that you put into cell A6 in the block of cells A2 to A5 and returns the value in column B opposite the name you are searching for - copy it across changing 1 to 2,3,4,5 as appropriate
 
Upvote 0
cell a1highageiqgrate in historygrate in biologygrate in geography
tomes6878777698
stave74123654554
brus338145988732
dan7766656565
highageiqgrate in historygrate in biologygrate in geography
brus338145988732
OFFSET($A$1,MATCH($A11,$A$2:$A$5,0),1)
OFFSET($A$1,MATCH($A11,$A$2:$A$5,0),2)
OFFSET($A$1,MATCH($A11,$A$2:$A$5,0),3)
OFFSET($A$1,MATCH($A11,$A$2:$A$5,0),4)
OFFSET($A$1,MATCH($A11,$A$2:$A$5,0),5)
OFFSET($A$1,MATCH($A11,$A$2:$A$5,0),6)






these are the formulas that give you each score for the selected name

<colgroup><col width="64" span="7" style="width:48pt"> </colgroup><tbody>
</tbody>
 
Upvote 0
i sorry it is not work

If you want additional help you should at least say what you expected and what result you got. You had two suggestions, one from me and I know it works, and one from L Howard that needs some minor correction to the cell addresses but it works as a formula. Make sure the cell addresses in the formula are pointing to your data. Use the excel help function to understand the formula if it is new to you so you can check it, and learn for the future
 
Last edited:
Upvote 0
this starts at A1, looks for the name that you put into cell A6 in the block of cells A2 to A5 and returns the value in column B opposite the name you are searching for - copy it across changing 1 to 2,3,4,5 as appropriate

I haven't tried this formula, but can suggest a shortcut for when entering it. Instead of changing 1,2,3 etc as you copy across use COLUMN() and then as you copy across the number returned by xl will increase for each column. Sometimes you need to start with COLUMN()-COLUMN($xx)+1 if you are not starting in A:A. Change the xx to the first column of your data. It is a big help if you have a lot of columns, and it can future-proof your spread sheet if you ever need to add additional columns
 
Last edited:
Upvote 0
Excel Workbook
ABCDEFG
1cell a1highageiqgrate in historygrate in biologygrate in geography
2tomes6877777698
3stave74123654554
4brus338145988732
5dan7766656565
6
7Put formula in B8 and copy to B8:G9
8tomes6877777698
9dan7766656565
10
11
12This table copied from posting #1
13cell a7
14tomer6877777698
15dan7766656565
Sheet1
 
Upvote 0

Forum statistics

Threads
1,214,646
Messages
6,120,720
Members
448,986
Latest member
andreguerra

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top