Results 1 to 8 of 8

Excel 2010 Comparing column values

Threaded View

  1. #1
    Registered User
    Join Date
    08-12-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    3

    Excel 2010 Comparing column values

    I am trying to use the sumifs() statement to add up values of a column. I have the following worksheet called January in Excel 2010:
    _____________A_____________________ B ___________
    1_________ABC Company_______________100
    2_________Abc Company_______________100
    3_________abc Company_______________100
    4_________Widget Company____________100
    5_________Widget Com________________100
    6_________Widget Comps______________100

    On the Main worksheet I am trying to sum the values for each company:
    ___________ A __________________ B ________________________
    1_______ABC Company___________=SUMIFS(January!$B:$B,January!$A:$A,A1)
    2_______Widget Company_________=SUMIFS(January!$B:$B,January!$A:$A,A2)

    When I do it this way I get $100 for each value in column B of the main worksheet since the names in column A of the main worksheet don’t match the names in column A of the January worksheet. I want to use the Upper() command and the Mid() command to try and match the first 8 values of column A of the main sheet with the first 8 characters in column A of the January worksheet. I want to compare Upper(Mid(A1,1,8)) with the first 8 characters of the January worksheet column A. How can I accomplish this?
    Last edited by Bill001; 08-12-2013 at 12:28 PM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Find & Replace text in Word 2010 with Excel 2010 values.
    By pricep in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-14-2015, 06:36 AM
  2. Comparing Variants [Excel 2010/14] (VBA Only)
    By lloydgodin in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 04-16-2013, 03:50 PM
  3. Excel 2010 vba to find values in a column and change it
    By dearnemo385 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-17-2012, 12:17 PM
  4. Replies: 6
    Last Post: 05-17-2012, 12:07 PM
  5. Replies: 3
    Last Post: 03-21-2012, 05:11 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