We're aware that some users are experiencing technical issues which the team are working to resolve. See the Community Noticeboard for more info. Thank you for your patience.
📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!

Excel help please

Options
I currently have a spreadsheet that has a master sheet holding all data, the sheet is where work will be assigned to individuals. I now want to create a tab per worker, which will (if possible) automatically populate the individual's tab with the full row, when their name is selected against a particular job.

Is this possible, if so could somebody please tell me how to do it?

Thanks in advance.
«1

Comments

  • stevemcol
    stevemcol Posts: 1,666 Forumite
    Are you reasonably good with excel? If so, can I suggest you have a look at the vlookup function. It sounds like it will do what you're after. Is that enough to go on or do you need the full solution?
    Apparently I'm 10 years old on MSE. Happy birthday to me...etc
  • gonzo127
    gonzo127 Posts: 4,482 Forumite
    Part of the Furniture Combo Breaker
    probably the easiest way is to make a macro which when ran, will filter by name and copy all the information to the named tab, this will then not slow down the spreadsheet by having multiple formulas in all the tabs for each person, and could be run as and when you added new jobs
    Drop a brand challenge
    on a £100 shop you might on average get 70 items save
    10p per product = £7 a week ~ £28 a month
    20p per product = £14 a week ~ £56 a month
    30p per product = £21 a week ~ £84 a month (or in other words one weeks shoping at the new price)
  • Thanks for your responses. I thought I was alright on spreadsheets until it came to this!

    I just made an attempt with a vlookup, which did not go to plan at all, I didn't get the data I needed anywhere. The macro screen looks very complicated.
  • gonzo127
    gonzo127 Posts: 4,482 Forumite
    Part of the Furniture Combo Breaker
    pivot tables on each tab? - limited by the name
    Drop a brand challenge
    on a £100 shop you might on average get 70 items save
    10p per product = £7 a week ~ £28 a month
    20p per product = £14 a week ~ £56 a month
    30p per product = £21 a week ~ £84 a month (or in other words one weeks shoping at the new price)
  • stevemcol
    stevemcol Posts: 1,666 Forumite
    keep trying with vlookup. start on a single sheet to pratise. Generate a bit of dummy data with a column that includes some names. Get a vlookup expression to find the name then lookup the data alongside. It might take half an hour or so to get the jist of it but it's a powerful function when you suss it. After getting it to lookup data on the single sheet you need to work out how to address other worksheets, which isn't too difficult.
    Macros would be difficult to learn from scratch just for this purpose. I don't use pitvot table personally so can't advise on that.
    Apparently I'm 10 years old on MSE. Happy birthday to me...etc
  • stevemcol
    stevemcol Posts: 1,666 Forumite
    example
    Put some random data in cells b2 to b4 and c2 to c4 with names in column B. Then in another cell:

    =VLOOKUP("john smith",B2:C4,2,FALSE)

    you can see how it looks out John Smith then returns the data next to his name.
    Apparently I'm 10 years old on MSE. Happy birthday to me...etc
  • this doesn't seem to work with my data. The names are in the 13th anf 14th column of the sheet. I notice that VLOOKUP is for the left and column of a table. Is this why it's not working?

    Thanks for the helpful responses so far.
  • rmg1
    rmg1 Posts: 3,159 Forumite
    Part of the Furniture 1,000 Posts Name Dropper
    Vlookup expects to find the item you're looking for in the first column and then moves to the right however many columns you specify to retrieve the data.
    You can use Index/Match in a similar fashion to move both ways.
    An example formula would be:-
    =INDEX(A:A,Match(Z2,D:D,0))
    or
    =INDEX(F:F,match(Z2,D:D,0))

    What that means in English is:-
    Get the item in Z2 and look for it in column D. On the same row, return the value in column A.
    So, if the value in Z2 was found in D55, you would get the value in A55 returned.
    or
    Get the item in Z2 and look for it in column D. On the same row, return the value in column F.
    So, if the value in Z2 was found in D55, you would get the value in F55 returned.

    Hope all that made sense.
    :wall: Flagellation, necrophilia and bestiality - Am I flogging a dead horse? :wall:

    Any posts are my opinion and only that. Please read at your own risk.
  • stevemcol
    stevemcol Posts: 1,666 Forumite
    agree, or reproduce the name column at the left hand side of the sheet, hidden if necessary.
    Apparently I'm 10 years old on MSE. Happy birthday to me...etc
  • stevemcol
    stevemcol Posts: 1,666 Forumite
    rmg1 wrote: »
    Vlookup expects to find the item you're looking for in the first column and then moves to the right however many columns you specify to retrieve the data.
    You can use Index/Match in a similar fashion to move both ways.
    An example formula would be:-
    =INDEX(A:A,Match(Z2,D:D,0))
    or
    =INDEX(F:F,match(Z2,D:D,0))

    What that means in English is:-
    Get the item in Z2 and look for it in column D. On the same row, return the value in column A.
    So, if the value in Z2 was found in D55, you would get the value in A55 returned.
    or
    Get the item in Z2 and look for it in column D. On the same row, return the value in column F.
    So, if the value in Z2 was found in D55, you would get the value in F55 returned.

    Hope all that made sense.

    I've just realised why there are random smileys in your formulas!
    Lol ....colon close-bracket
    Apparently I'm 10 years old on MSE. Happy birthday to me...etc
This discussion has been closed.
Meet your Ambassadors

🚀 Getting Started

Hi new member!

Our Getting Started Guide will help you get the most out of the Forum

Categories

  • All Categories
  • 350.8K Banking & Borrowing
  • 253K Reduce Debt & Boost Income
  • 453.5K Spending & Discounts
  • 243.8K Work, Benefits & Business
  • 598.6K Mortgages, Homes & Bills
  • 176.8K Life & Family
  • 257.1K Travel & Transport
  • 1.5M Hobbies & Leisure
  • 16.1K Discuss & Feedback
  • 37.6K Read-Only Boards

Is this how you want to be seen?

We see you are using a default avatar. It takes only a few seconds to pick a picture.