+ Reply to Thread
Results 1 to 3 of 3

Thread: Pivot table

  1. #1
    Registered User
    Join Date
    11-07-2009
    Location
    Pa USA
    MS-Off Ver
    Excel 2003
    Posts
    12

    Pivot table

    I've got 2 columns of information. The first column is text. The second column is numbers. I'm trying to create a formula that will lookup and search a criterion contained in the text column and return the number in the corresponding row. Problem is that many of the rows contain the text I'm searching for. I need the formula to return all the corresponding numbers added up?!?!?

    See attachment for an example.
    Attached Files Attached Files

  2. #2
    Forum Guru martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    10,477

    Re: trouble with a pivot table

    =SUMIF(A4:A25,"=*18a*",B4:B25)
    =SUMIF(A4:A25,"*"&C1&"*",B4:B25) where c1 contains 18a
    or
    =SUMPRODUCT(--(ISNUMBER(SEARCH("18a",A4:A25))),B4:B25)
    Mojito connoisseur and a dabbler in Cisco
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    11-07-2009
    Location
    Pa USA
    MS-Off Ver
    Excel 2003
    Posts
    12

    Re: Pivot table

    This is going to work perfectly, thank you!!!

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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.2.0