+ Reply to Thread
Results 1 to 5 of 5

Some Sort of Lookup and return value

  1. #1
    Registered User
    Join Date
    09-17-2011
    Location
    Alberta
    MS-Off Ver
    Excel 2010
    Posts
    63

    Some Sort of Lookup and return value

    HI

    I attached my example, this is just a sample. My real spreadsheet will have hundreds of cells if column 1.

    What I am trying to do is on sheet tab callled Totals.

    In column b I did an countif so that is working

    In column c I would like a formula to look for a value say hockey from column a in sheet tab Sport, and if there is text or numbers in the cell beside it in column b it counts that and returns the value.

    So my example is manually done and hockey has 1 and softball 2

    Thanks for your help
    Attached Files Attached Files
    Last edited by Jr66; 07-05-2012 at 04:34 PM.

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Some Sort of Lookup and return value

    HI Jr66,

    See the attached file green cells where I have used simple sum formula with array functionallity.... thanks.

    Feel free to get back in case of any queries.
    Test .xlsx

    Regards,
    DILIPandey

    <click on below 'star' if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), dilipandey@gmail.com

  3. #3
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Some Sort of Lookup and return value

    I have amended the COUNTIF forumla in the B column, the ranges were amiss. I notice you are using 2010 version of Excel, hence the COUNITIFS function should work.

    Please refer attached.
    Attached Files Attached Files
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  4. #4
    Registered User
    Join Date
    09-17-2011
    Location
    Alberta
    MS-Off Ver
    Excel 2010
    Posts
    63

    Re: Some Sort of Lookup and return value

    Thanks That works great

  5. #5
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Some Sort of Lookup and return value

    Nice! Please mark the thread as solved

    To mark your thread solved do the following:
    - Go to the first post
    - Click edit
    - Click Advance
    - Just below the word "Title:" you will see a dropdown with the word No prefix.
    - Change to Solve
    - 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