+ Reply to Thread
Results 1 to 5 of 5

SUMIF (maybe?) help needed - Copy value if text cell matches

  1. #1
    Registered User
    Join Date
    08-03-2011
    Location
    Vancouver
    MS-Off Ver
    Excel 2003
    Posts
    6

    SUMIF (maybe?) help needed - Copy value if text cell matches

    I am trying to automatically create a table that calculates per diems, depending on the country. I have a list of all the countries in column A, with the daily rate in column C. I've created a drop-down using the list of countries from column A for people to select the country from. I'd like the next cell in the table to automatically fill in the value in C associated with this country. I've tried playing around with various sumif(s), but I'm stuck.

    Any pointers?
    Attached Files Attached Files

  2. #2
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,499

    Re: SUMIF (maybe?) help needed - Copy value if text cell matches

    well your sumif needs to be this...
    =SUMIF(A13:A210, B2, C13:C210)
    but if I'm understanding this correctly you could also use a vlookup like this...
    =VLOOKUP(B2,$A$13:$C$210,3,FALSE)
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  3. #3
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: SUMIF (maybe?) help needed - Copy value if text cell matches

    Try this
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  4. #4
    Registered User
    Join Date
    08-03-2011
    Location
    Vancouver
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: SUMIF (maybe?) help needed - Copy value if text cell matches

    Went with the first one and it works perfectly. Merci!

  5. #5
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,499

    Re: SUMIF (maybe?) help needed - Copy value if text cell matches

    you're welcome and THANK YOU for the rep!

+ 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: 3
    Last Post: 02-05-2018, 09:00 AM
  2. Replies: 0
    Last Post: 04-07-2015, 09:05 PM
  3. Move text from cell to cell if matches criteria, and edit text
    By joematzzie in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-13-2015, 07:58 AM
  4. Find name(s) within text string that matches a list, then copy full name
    By juhaszp in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-10-2013, 08:48 AM
  5. [SOLVED] VBA Needed to find number/text within cell string and copy out to new cell
    By Campbell A in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 04-19-2013, 10:15 AM
  6. If Cell Text Matches Any Text From Range, Then Apply VLOOKUP?
    By eliot1171 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-12-2013, 09:41 PM
  7. [SOLVED] Formula Needed to Copy Cell with Date and Text of another Cell
    By thejayjetson in forum Excel General
    Replies: 5
    Last Post: 07-02-2012, 11:21 AM

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