+ Reply to Thread
Results 1 to 4 of 4

To VLOOKUP or not to VLOOKUP?!?

  1. #1
    Registered User
    Join Date
    01-06-2009
    Location
    Southend,England
    MS-Off Ver
    Excel 2003
    Posts
    8

    To VLOOKUP or not to VLOOKUP?!?

    Hello,
    I am not sure if this has been covered before on here or if I am even using the right function, but if I explain my problem hopefully you can point me in the right direction.

    We are compiling a resourcing sheet showing Full Time Employees/part-time employees. These agents are classed under different headings and in different teams, but one team could have multiple classes in it such as cards,retail,commercial etc etc.

    Using VLOOKUP I am trying to total each of these within each team.
    Team 1 Team 2
    Cards 1.00 Cards 0.56
    Cards 0.46 Cards 1.00
    Retail 1.00 Retail 1.00
    Retail 0.63 Retail 1.00
    Commercial 1.00 Commercial 1.00
    Commercial 1.00 Commercial 1.00

    So for example I am trying to work out how many cards agents that team has, and then retail and so on. Is there a way of getting VLOOKUP to add within the range you set it or do i need to use a different function completely?
    Last edited by BankerSi; 01-06-2009 at 01:17 PM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    You probably are looking for Sumif().

    e.g. =Sumif(A1:A100,X1,B1:B100)

    this says sum the corresponding values in B1:B100 where A1:A100 equals the value in X1.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    01-06-2009
    Location
    Southend,England
    MS-Off Ver
    Excel 2003
    Posts
    8
    Aha, yes that has worked, thanks for your help!

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    You are welcome.

    Can you please mark your thread as Solved.

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1