+ Reply to Thread
Results 1 to 3 of 3

Adding column B based on part of column A contents

  1. #1
    Registered User
    Join Date
    05-23-2013
    Location
    Mozambique
    MS-Off Ver
    Excel 2010
    Posts
    2

    Adding column B based on part of column A contents

    I am trying to sum column B based on part of the text in column A. Column A contains account numbers in the following format "5-25-75-244", "5-25-76-304", "5-26-74-999", 5-26-75-400", and column B contains the corresponding values.
    How do I sum only account numbers starting with "5-25"?

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,731

    Re: Adding column B based on part of column A contents

    Try this:

    =SUMIF(A:A,"5-25*",B:B)

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    05-23-2013
    Location
    Mozambique
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Adding column B based on part of column A contents

    Great! Thanks Pete.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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