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

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
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

Name DateMeter Reading
Start End
SMITH12/03/2018796908.30796943.30
OUTRAM13/03/2018796943.30796982.10
WILSON14/03/2018796982.10797120.00
DUCKER15/03/2018797120.00797140.00
FRYATT16/03/2018797140.00797155.00
IBBOTSON17/03/2018797155.00797222.00
KIRBY18/03/2018797222.00797289.00
SMITH19/03/2018797289.00797389.00
WILSON20/03/2018797389.00797489.00
WOODCOCK21/03/2018797489.00797589.00
SMITH22/03/2018797589.00797689.00
WITHERS C23/03/2018797689.00797789.00
WILLIAMS24/03/2018797789.00797889.00
<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> </tbody>
 
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,214,945
Messages
6,122,393
Members
449,081
Latest member
JAMES KECULAH

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