+ Reply to Thread
Results 1 to 5 of 5

SUMIF where sum_range consists of text strings?

  1. #1
    Registered User
    Join Date
    07-12-2011
    Location
    Oslo, Norway
    MS-Off Ver
    Excel 2007
    Posts
    4

    Smile SUMIF where sum_range consists of text strings?

    Hi,

    I have a worksheet where I want users to choose a value from a validated list, and based on their chosen value I want to collect various text strings from other parts of the sheet, and present it to the user. Normally I would use SUMIF, but the sum_range in my sheet is text, so it doesn't work.

    Let's say the user selects a value in the first cell (A1=Train). Based on that I want to find that selection in B1:B3 (Bike, Train, Plane) and give the corresponding value from C1:C3, where these values are text (Cheap, Efficient, Fast), and present the result in, say, cell A2, so that A2=Efficient.

    Is there another function that works for this?

    Any help would be appreciated!
    Last edited by arnee84; 07-14-2011 at 07:10 AM. Reason: Problem solved

  2. #2
    Forum Contributor WinteE's Avatar
    Join Date
    04-07-2007
    Location
    Netherlands
    Posts
    544

    Re: SUMIF where sum_range consists of text strings?

    Use VLOOKUP()
    Just keep it simple !


    http://www.excelguide.eu
    In English as well as in Dutch

  3. #3
    Registered User
    Join Date
    07-12-2011
    Location
    Oslo, Norway
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: SUMIF where sum_range consists of text strings?

    Quote Originally Posted by WinteE View Post
    Use VLOOKUP()
    Can I use VLOOKUP() on unsorted lists? The order of the data in columns B and C (given the example) bears significance, so I can't sort them alphabetically.

  4. #4
    Forum Contributor
    Join Date
    05-04-2009
    Location
    ME
    MS-Off Ver
    Excel 2003,2007
    Posts
    157

    Re: SUMIF where sum_range consists of text strings?

    Hi,

    Please upload a sample workbook with your desired output.

  5. #5
    Registered User
    Join Date
    07-12-2011
    Location
    Oslo, Norway
    MS-Off Ver
    Excel 2007
    Posts
    4

    Smile Re: SUMIF where sum_range consists of text strings?

    Quote Originally Posted by WinteE View Post
    Use VLOOKUP()
    Thanks a lot WinteE! I managed to get it to work with VLOOKUP() when I set the final argument ([range_lookup]) to FALSE. Problem solved!

    Quote Originally Posted by nawas View Post
    Hi,

    Please upload a sample workbook with your desired output.
    Thank you for wanting to help, nawas. As written above, the solution offered by WinteE worked for me.

    --
    Kind regards,
    Arne

+ Reply to Thread

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.6.0 RC 1