+ Reply to Thread
Results 1 to 8 of 8

Lookup text from one sheet into another and sum the similar text values

  1. #1
    Forum Contributor
    Join Date
    07-30-2012
    Location
    australia
    MS-Off Ver
    Excel 2003
    Posts
    118

    Lookup text from one sheet into another and sum the similar text values

    Hi Friends

    I have a scenario, there is values in sheet 1 column B and i have to match them with Coulmn B, Column C and if there is a match of first word in a cell add the values which is in Coulmn D.

    Please help me with the above scenario.

    Thanks in advance.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: Lookup text from one sheet into another and sum the similar text values

    You give very little to work with But take a look at using the sumif() function

    If you still have a problem, upload a small (clean) sample workbook (not a pic) of what you are working with, and what your expected outcome would look like.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Contributor
    Join Date
    07-30-2012
    Location
    australia
    MS-Off Ver
    Excel 2003
    Posts
    118

    Re: Lookup text from one sheet into another and sum the similar text values

    Hi

    Example sheet attached, I want to find total value in Column D, lookup value from sheet 2 and sum all the identical values from cell.

    Thanks for responding
    Attached Files Attached Files

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: Lookup text from one sheet into another and sum the similar text values

    Not really sure of the purpose of column B?

    A
    B
    C
    D
    1
    Total Value
    2
    My Name Is
    10
    1220
    3
    My Name
    20
    1220
    4
    XYZ
    30
    500
    5
    XYZA
    50
    500
    6
    ABCDE
    90
    100
    7
    ANVI
    80
    520
    8
    ANV
    60
    1055

    D2=SUMIF(Pivot!$B$4:$B$13,Sheet1!A2&"*",Pivot!$C$4:$C$13)
    copied down

    If that was not what you wanted, please provide some sample answers - and how you got them

  5. #5
    Forum Contributor
    Join Date
    07-30-2012
    Location
    australia
    MS-Off Ver
    Excel 2003
    Posts
    118

    Re: Lookup text from one sheet into another and sum the similar text values

    Quote Originally Posted by FDibbins View Post
    Not really sure of the purpose of column B?

    A
    B
    C
    D
    1
    Total Value
    2
    My Name Is
    10
    1220
    3
    My Name
    20
    1220
    4
    XYZ
    30
    500
    5
    XYZA
    50
    500
    6
    ABCDE
    90
    100
    7
    ANVI
    80
    520
    8
    ANV
    60
    1055

    D2=SUMIF(Pivot!$B$4:$B$13,Sheet1!A2&"*",Pivot!$C$4:$C$13)
    copied down

    If that was not what you wanted, please provide some sample answers - and how you got them


    -----------
    Here is the formula but its giving me everything and the values is not consistent with what i am searching.

    =SUMPRODUCT(SUMIF(Pivot$B:$C,LEFT(A1,FIND(" ",A1&" ")-1),Pivot!$C:$C))

    Please suggest.

  6. #6
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2404
    Posts
    13,407

    Re: Lookup text from one sheet into another and sum the similar text values

    Not clear but your formula almost looks like it's trying to do what this does:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by FlameRetired; 02-17-2015 at 12:04 AM.

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: Lookup text from one sheet into another and sum the similar text values

    Did you try my suggestion?

  8. #8
    Forum Contributor
    Join Date
    07-30-2012
    Location
    australia
    MS-Off Ver
    Excel 2003
    Posts
    118

    Re: Lookup text from one sheet into another and sum the similar text values

    Quote Originally Posted by FDibbins View Post
    Did you try my suggestion?
    Hi

    I tried your solution, but still not working for searching the first word from pivot

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 1
    Last Post: 01-09-2013, 01:47 PM
  2. Replies: 7
    Last Post: 02-09-2011, 10:23 PM
  3. [SOLVED] How do I LOOKUP text values
    By Amber C-W in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 01:05 AM
  4. How do I LOOKUP text values
    By Amber C-W in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 10:05 PM
  5. How do I LOOKUP text values
    By Amber C-W in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-20-2005, 04:05 PM

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