+ Reply to Thread
Results 1 to 3 of 3

Look for text and calculate

  1. #1
    Registered User
    Join Date
    08-11-2010
    Location
    Sweden
    MS-Off Ver
    Excel 2007
    Posts
    93

    Look for text and calculate

    Hello!

    I have 2 columns (A and B) of text, A and B that needs to be turned into numbers in column C. The text in column A can also occur in column B and vice verse. There can also be 2 or 3 values in column B, there is no "," to separate the values only spaces. Every text name has a value (they are explained in the file but not included in original files). If there is text in both columns it has to add the value for each text. I need to get column C calculated by using VBA. Column C is empty from the start and the rows can be +500.

    In the file the result is applied manually.

    Thanks
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    10-26-2008
    Location
    Birmingham, UK
    MS-Off Ver
    All versions up to 2010
    Posts
    1,025

    Re: Look for text and calculate

    Hi
    If you store a unique list of values, say in a separate worksheet, you can use COUNTIF.
    Hope this helps.
    Good luck
    Tony

  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: Look for text and calculate

    Deleted post
    Last edited by AlKey; 05-20-2014 at 12:21 PM.
    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

+ 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. Calculate value excluding certain text
    By aaron_burr in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-11-2014, 07:48 AM
  2. spot text as value and calculate invoice amount from quantity X text value
    By grasshouse in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-14-2013, 07:12 AM
  3. [SOLVED] How to Calculate with text in cells
    By countryred in forum Excel General
    Replies: 2
    Last Post: 04-15-2012, 07:14 PM
  4. How to calculate text in an array
    By vjeshemv2000 in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 06-17-2009, 03:41 AM
  5. calculate min in col B subject to text in col A
    By WvR in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-28-2005, 10:05 AM

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