+ Reply to Thread
Results 1 to 3 of 3

How to use a letter in one column to add a value to another cell

  1. #1
    Registered User
    Join Date
    03-30-2016
    Location
    Colchester, England
    MS-Off Ver
    2013
    Posts
    1

    How to use a letter in one column to add a value to another cell

    Hi all
    I am new to Excel and I need to perform the at task


    -I have the letters of the alphabet in column -A
    -I have values in column B
    -Each row has a letter with a corresponding value in column B
    I would like to add all the individual values relent to the letter in column A to a new cell.
    I would like to add all the individual values relent to the letter in column B to another cell.
    this would mean that all the values linked to the individual letters in column A are added together.
    for instants if I had 3 letter d in column A their corresponding values in column B will added together in another cell.

    can any one help?

    Nuff

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: How to use a letter in one column to add a value to another cell

    Use the SUMIF function.

    If A1 to B8 is your Data

    And D1 contains A

    Then this if the formula to use:-

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by mehmetcik; 03-30-2016 at 12:27 PM.
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

  3. #3
    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: How to use a letter in one column to add a value to another cell

    Dont need the "="& part there

    =SUMIF($A$1:$A$8,$D1,$B$1:$B$8)
    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

+ 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: 6
    Last Post: 03-30-2016, 04:28 PM
  2. Replies: 3
    Last Post: 12-15-2014, 06:15 PM
  3. Replies: 10
    Last Post: 07-12-2010, 08:55 AM
  4. If the letter x is in column 2 shift row to the right by one cell
    By ej463 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-27-2009, 05:19 PM
  5. Replies: 6
    Last Post: 10-13-2005, 05:05 AM
  6. Replies: 6
    Last Post: 10-13-2005, 05:05 AM
  7. Replies: 2
    Last Post: 05-09-2005, 04:06 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