+ Reply to Thread
Results 1 to 7 of 7

Check what specific text is contained in cells, then sum numbers contained in those cell

  1. #1
    Registered User
    Join Date
    01-15-2015
    Location
    Denmark
    MS-Off Ver
    2013
    Posts
    13

    Check what specific text is contained in cells, then sum numbers contained in those cell

    Hey guys

    So I've been looking and searching for anything that could help me, to no avail.

    I have columns of text and number combinations. I need excel to check a whole column to see if it contains "FT" in the text, if yes then find the number next to the text and sum it at the bottom.
    This is the desired result:

    Column A | Column B
    FT4
    FT2
    FT4
    SD4
    SD3


    10 | FT sum
    7 | SD sum

    Any help would be greatly appreciated

    -Alco

  2. #2
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Check what specific text is contained in cells, then sum numbers contained in those ce

    please attach a sample excel file
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  3. #3
    Registered User
    Join Date
    01-15-2015
    Location
    Denmark
    MS-Off Ver
    2013
    Posts
    13

    Re: Check what specific text is contained in cells, then sum numbers contained in those ce

    example.xlsx

    Here you go!

  4. #4
    Forum Contributor
    Join Date
    11-06-2021
    Location
    Tripoli
    MS-Off Ver
    Still using 2007 in 2023
    Posts
    289

    Talking Re: Check what specific text is contained in cells, then sum numbers contained in those ce

    please check my solution,
    I hope this helps..
    Attached Files Attached Files

  5. #5
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Check what specific text is contained in cells, then sum numbers contained in those ce

    Try below array formula
    =SUM(IFERROR(SUBSTITUTE(B4:B8,"FT","")+0,0))

    **Array formulas are not entered in the same way as 'standard' formulas. Instead of pressing just ENTER, you first hold down CTRL and SHIFT, and only then press ENTER. If you've done it correctly, you'll notice Excel puts curly brackets {} around the formula (though do not attempt to manually insert these yourself).

  6. #6
    Registered User
    Join Date
    01-15-2015
    Location
    Denmark
    MS-Off Ver
    2013
    Posts
    13

    Re: Check what specific text is contained in cells, then sum numbers contained in those ce

    That works! Thank you so much!

    -Alco

  7. #7
    Registered User
    Join Date
    01-15-2015
    Location
    Denmark
    MS-Off Ver
    2013
    Posts
    13

    Re: Check what specific text is contained in cells, then sum numbers contained in those ce

    This does the trick too, you guys are very talented! Thank you :D

    -Alco

+ 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: 4
    Last Post: 03-27-2019, 11:17 AM
  2. [SOLVED] Check if a cell value is contained between two bounding cells
    By Supersadie in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 04-03-2018, 06:02 AM
  3. [SOLVED] How to count cells having text contained in a given cell?
    By Buzzed Aldrin in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-21-2017, 08:40 PM
  4. [SOLVED] Search for the first cell that contained a specific text
    By Dena in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-17-2014, 01:46 PM
  5. [SOLVED] Return specific text if a different text is contained anywhere in a range of cells
    By ciayers in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-06-2013, 05:54 PM
  6. [SOLVED] Can not figure out how to color cells based on the text contained in the cell
    By Kjorg in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-07-2012, 07:00 PM
  7. [VBA] Check if an integer is contained in a range of cells in a worksheet
    By thedunnyman in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-26-2012, 11:25 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