Searching a list of names, with corsponding data across to another worksheet

Butch-196

New Member
Joined
Sep 17, 2013
Messages
27
Hi
I have a list of poeple that have use water.

Name - Date - start meter reading - end meter reading etc.

I need to seach the list via the name and then copy the Name - Date etc across to a new worksheet.

Note, - name maybe listed more than once so I need to look at the complete list and import the data for each time the name is entered

is lookup the right function

regards
richard
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
use vlookup and to get date start meter ets use coloms($A$1:A1)+1 in coloms number
 
Upvote 0
Please see below and explain further

[TABLE="width: 501"]
<colgroup><col width="246" style="width: 185pt; mso-width-source: userset; mso-width-alt: 8587;"> <col width="77" style="width: 58pt; mso-width-source: userset; mso-width-alt: 2676;"> <col width="181" style="width: 136pt; mso-width-source: userset; mso-width-alt: 6330;"> <col width="163" style="width: 122pt; mso-width-source: userset; mso-width-alt: 5678;"> <tbody>[TR]
[TD="width: 246, bgcolor: transparent"]Name [/TD]
[TD="width: 77, bgcolor: transparent"]Date[/TD]
[TD="width: 344, bgcolor: transparent, colspan: 2"]Meter Reading[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]Start [/TD]
[TD="bgcolor: transparent"]End [/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]SMITH[/TD]
[TD="bgcolor: transparent"]12/03/2018[/TD]
[TD="bgcolor: transparent"]796908.30[/TD]
[TD="bgcolor: transparent"]796943.30[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]OUTRAM[/TD]
[TD="bgcolor: transparent"]13/03/2018[/TD]
[TD="bgcolor: transparent"]796943.30[/TD]
[TD="bgcolor: transparent"]796982.10[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]WILSON[/TD]
[TD="bgcolor: transparent"]14/03/2018[/TD]
[TD="bgcolor: transparent"]796982.10[/TD]
[TD="bgcolor: transparent"]797120.00[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]DUCKER[/TD]
[TD="bgcolor: transparent"]15/03/2018[/TD]
[TD="bgcolor: transparent"]797120.00[/TD]
[TD="bgcolor: transparent"]797140.00[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]FRYATT[/TD]
[TD="bgcolor: transparent"]16/03/2018[/TD]
[TD="bgcolor: transparent"]797140.00[/TD]
[TD="bgcolor: transparent"]797155.00[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]IBBOTSON[/TD]
[TD="bgcolor: transparent"]17/03/2018[/TD]
[TD="bgcolor: transparent"]797155.00[/TD]
[TD="bgcolor: transparent"]797222.00[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]KIRBY[/TD]
[TD="bgcolor: transparent"]18/03/2018[/TD]
[TD="bgcolor: transparent"]797222.00[/TD]
[TD="bgcolor: transparent"]797289.00[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]SMITH[/TD]
[TD="bgcolor: transparent"]19/03/2018[/TD]
[TD="bgcolor: transparent"]797289.00[/TD]
[TD="bgcolor: transparent"]797389.00[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]WILSON[/TD]
[TD="bgcolor: transparent"]20/03/2018[/TD]
[TD="bgcolor: transparent"]797389.00[/TD]
[TD="bgcolor: transparent"]797489.00[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]WOODCOCK[/TD]
[TD="bgcolor: transparent"]21/03/2018[/TD]
[TD="bgcolor: transparent"]797489.00[/TD]
[TD="bgcolor: transparent"]797589.00[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]SMITH[/TD]
[TD="bgcolor: transparent"]22/03/2018[/TD]
[TD="bgcolor: transparent"]797589.00[/TD]
[TD="bgcolor: transparent"]797689.00[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]WITHERS C[/TD]
[TD="bgcolor: transparent"]23/03/2018[/TD]
[TD="bgcolor: transparent"]797689.00[/TD]
[TD="bgcolor: transparent"]797789.00[/TD]
[/TR]
[TR]
[TD="bgcolor: transparent"]WILLIAMS[/TD]
[TD="bgcolor: transparent"]24/03/2018[/TD]
[TD="bgcolor: transparent"]797789.00[/TD]
[TD="bgcolor: transparent"]797889.00[/TD]
[/TR]
</tbody>[/TABLE]
 
Upvote 0
How about


Excel 2013/2016
ABCDEFGHIJ
1NameDateStartEnd
2Peter01/12/199783183Paul01/10/198785185
3Paul01/10/19878518501/01/1980116216
4Peter01/01/19806716701/03/2004126226
5Peter01/01/19807817801/08/201692192
6Peter01/07/20057717701/04/198588188
7Peter01/01/19809619601/01/198092192
8Paul01/01/198011621601/01/1980106206
9Mary01/10/2016105205
10Paul01/03/2004126226
11Paul01/08/201692192
12Paul01/04/198588188
13Peter01/06/1997102202
14Peter01/04/1986117217
15Peter01/01/1980103203
16Peter01/01/1980111211
17Peter01/12/200095195
18Paul01/01/198092192
19Paul01/01/1980106206
sheet1
Cell Formulas
RangeFormula
H2{=IFERROR(INDEX(B$2:B$27,SMALL(IF($A$2:$A$27=$G$2,ROW($A$2:$A$27)-ROW($A$2)+1),ROWS($1:1))),"")}
Press CTRL+SHIFT+ENTER to enter array formulas.


Formula copied across & down
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,171
Members
453,021
Latest member
Justyna P

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