Not sure if vlookup is best for this

Kiml56

New Member
Joined
Jun 10, 2017
Messages
16
Hello there i got this problem, that i keep getting stuck on i might be over thinking it, excel version 2016. so here i go . I got this little problem i am trying to get to work.

1. I am trying to get the data from sheet 1 : user ( L 1 ) to go to my sheet 2 Receiver but only have the name go there 1 time as you can see the user name can show several times ( like JR052209 / AZ0602726 ) but i only want them to show up 1 time automatic as showed below so if i was to change one user on sheet1 it would also change on sheet2 .

2. count the instances that a user is listed in sheet1 (L1) and list on sheet2 under lines and also add the numbers on sheet1 (H1 source target qt) per set user (L1) to sheet2 under peices. if any of this is possible.i can attach a copy of the sheet if need be. thanks so much all..
1595016792465.png
1595017407351.png
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
A few questions
1) What are the sheet name?
2) Do the users in col L start in L2
3) What cell do you want to return the first user in?
 
Upvote 0
A few questions
1) What are the sheet name?
2) Do the users in col L start in L2
3) What cell do you want to return the first user in?
1. this i am work on right now is called 6-30-2020 Final.xlsx all i change every month will be the first part so like 6 will be 7 or 8 and so on 8 if i get it to work right.
2. yes user start in L2 .
3. for now A3 then i plane to only use up to A28

hope this give you a better idea thanks so much.
 
Upvote 0
will this up automatic if line gets deleted or added
Not by default, you can set it to refresh when you open your workbook or use vba to refresh it when you perform a specific action such as adding or changing data, or saving your workbook.

Personally, I would do it on save (or even refresh manually which is very simple anyway), that way you will prevent the lag of constant refreshing (or calculation if you use formulas) when you are adding more data.
 
Upvote 0
Two formula options depending on what version of Excel you have.
+Fluff New.xlsm
L
1User
2E06000008
3E06000019
4E06000019
5E06000025
6E06000025
7E06000047
8E06000050
9E07000052
10E07000052
11E07000068
12E07000068
13E07000205
14E07000205
15E07000206
16E07000216
17E08000017
18E08000017
19E09000006
20E09000012
21E09000015
22E09000026
23E09000031
Sheet1


+Fluff New.xlsm
AB
1
2UserUser
3E06000008E06000008
4E06000019E06000019
5E06000025E06000025
6E06000047E06000047
7E06000050E06000050
8E07000052E07000052
9E07000068E07000068
10E07000205E07000205
11E07000206E07000206
12E07000216E07000216
13E08000017E08000017
14E09000006E09000006
15E09000012E09000012
16E09000015E09000015
17E09000026E09000026
18E09000031E09000031
19 
20 
21
Sheet2
Cell Formulas
RangeFormula
A3:A18A3=UNIQUE(Sheet1!L2:L23)
B3:B20B3=IFERROR(INDEX(Sheet1!$L$2:$L$23,MATCH(0,COUNTIFS(B$2:B2,Sheet1!$L$2:$L$23),0)),"")
Press CTRL+SHIFT+ENTER to enter array formulas.
Dynamic array formulas.


Please update you account details to ahow what version of Excel you are using, as this affects what functions you have available.
 
Upvote 0
Two formula options depending on what version of Excel you have.
+Fluff New.xlsm
L
1User
2E06000008
3E06000019
4E06000019
5E06000025
6E06000025
7E06000047
8E06000050
9E07000052
10E07000052
11E07000068
12E07000068
13E07000205
14E07000205
15E07000206
16E07000216
17E08000017
18E08000017
19E09000006
20E09000012
21E09000015
22E09000026
23E09000031
Sheet1


+Fluff New.xlsm
AB
1
2UserUser
3E06000008E06000008
4E06000019E06000019
5E06000025E06000025
6E06000047E06000047
7E06000050E06000050
8E07000052E07000052
9E07000068E07000068
10E07000205E07000205
11E07000206E07000206
12E07000216E07000216
13E08000017E08000017
14E09000006E09000006
15E09000012E09000012
16E09000015E09000015
17E09000026E09000026
18E09000031E09000031
19 
20 
21
Sheet2
Cell Formulas
RangeFormula
A3:A18A3=UNIQUE(Sheet1!L2:L23)
B3:B20B3=IFERROR(INDEX(Sheet1!$L$2:$L$23,MATCH(0,COUNTIFS(B$2:B2,Sheet1!$L$2:$L$23),0)),"")
Press CTRL+SHIFT+ENTER to enter array formulas.
Dynamic array formulas.


Please update you account details to ahow what version of Excel you are using, as this affects what functions you have available.
 
Upvote 0
Two formula options depending on what version of Excel you have.
+Fluff New.xlsm
L
1User
2E06000008
3E06000019
4E06000019
5E06000025
6E06000025
7E06000047
8E06000050
9E07000052
10E07000052
11E07000068
12E07000068
13E07000205
14E07000205
15E07000206
16E07000216
17E08000017
18E08000017
19E09000006
20E09000012
21E09000015
22E09000026
23E09000031
Sheet1


+Fluff New.xlsm
AB
1
2UserUser
3E06000008E06000008
4E06000019E06000019
5E06000025E06000025
6E06000047E06000047
7E06000050E06000050
8E07000052E07000052
9E07000068E07000068
10E07000205E07000205
11E07000206E07000206
12E07000216E07000216
13E08000017E08000017
14E09000006E09000006
15E09000012E09000012
16E09000015E09000015
17E09000026E09000026
18E09000031E09000031
19 
20 
21
Sheet2
Cell Formulas
RangeFormula
A3:A18A3=UNIQUE(Sheet1!L2:L23)
B3:B20B3=IFERROR(INDEX(Sheet1!$L$2:$L$23,MATCH(0,COUNTIFS(B$2:B2,Sheet1!$L$2:$L$23),0)),"")
Press CTRL+SHIFT+ENTER to enter array formulas.
Dynamic array formulas.


Please update you account details to ahow what version of Excel you are using, as this affects what functions you have available.
thanks the first one worked fine for part one i am using excel 2016
 
Upvote 0
Not by default, you can set it to refresh when you open your workbook or use vba to refresh it when you perform a specific action such as adding or changing data, or saving your workbook.

Personally, I would do it on save (or even refresh manually which is very simple anyway), that way you will prevent the lag of constant refreshing (or calculation if you use formulas) when you are adding more data.
i will look in to this one also thanks
 
Upvote 0

Forum statistics

Threads
1,214,649
Messages
6,120,732
Members
448,987
Latest member
marion_davis

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