+ Reply to Thread
Results 1 to 7 of 7

Summing a range if cell in another range contains string

  1. #1
    Registered User
    Join Date
    02-17-2014
    Location
    Mississauga
    MS-Off Ver
    Excel 2003
    Posts
    3

    Summing a range if cell in another range contains string

    I am trying to create report of the in and outs of tools we are shipping for repair.

    Currently in Tab 1

    Column F - Date shipped for repair
    Column G- Vendor Name
    Column H- Date Returned

    What I need in Tab B

    Vandor - Total Sent- In Repair @ Vendor- Total Repaired - Total Unrepaired


    Here are Images if it makes it a little easier to understand


    The Info I currently have
    image1.png

    The info I required filled out based on the previous data
    image2.png

    Any help is greatly appriciated.
    Many thanks

  2. #2
    Forum Expert p24leclerc's Avatar
    Join Date
    07-05-2010
    Location
    Québec
    MS-Off Ver
    Excel 2021
    Posts
    2,081

    Re: Summing a range if cell in another range contains string

    I can't see how you'er going to deduce the "total unrepaired" with the data you have.
    Pierre Leclerc
    _______________________________________________________

    If you like the help you got,
    Click on the STAR "Add reputation" icon at the bottom.

  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,933

    Re: Summing a range if cell in another range contains string

    Hi and welcome to the forum

    Please do not upload a picture of your file...rather, upload a sample of your workbook, showing what data you are working with, a few samples of your expected outcome is (manually entered is ok) and how you arrived at that. (exclude sensitive info). Pictures are pretty much impossible to edit, and no-one wants to re-type your data for you Also, not all members can upload picture files (Company firewalls and stuff)
    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

  4. #4
    Forum Expert p24leclerc's Avatar
    Join Date
    07-05-2010
    Location
    Québec
    MS-Off Ver
    Excel 2021
    Posts
    2,081

    Re: Summing a range if cell in another range contains string

    Look at the attached workbook for a working report.
    FDibbins is right though, you have better chance to receive answers if you post a sample workbook.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    02-17-2014
    Location
    Mississauga
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Summing a range if cell in another range contains string

    First thank you very much for your help so far. Also, my apologies first timer here will make sure not to post images next time. So in order to count the unrepairable it would be best to have another coloumn for unrepaired date returned correct?

  6. #6
    Forum Expert p24leclerc's Avatar
    Join Date
    07-05-2010
    Location
    Québec
    MS-Off Ver
    Excel 2021
    Posts
    2,081

    Re: Summing a range if cell in another range contains string

    I do think so. It can't be done with your actual data.

  7. #7
    Registered User
    Join Date
    02-17-2014
    Location
    Mississauga
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Summing a range if cell in another range contains string

    It worked. I inserted a new coloumn for the dates the Unrepaired are returned and it's all working fine. Thank you p24leclerc for your help, it is greatly appriciated.

+ 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. [SOLVED] IF range of cells contains string of text, return contents of cell where string is found
    By nobodyukno in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 07-03-2013, 09:56 AM
  2. macro to find text string in cell range and paste in other cell range
    By slearner1 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-05-2013, 11:15 AM
  3. Replies: 1
    Last Post: 07-27-2012, 05:37 PM
  4. Replies: 6
    Last Post: 05-04-2011, 12:09 PM
  5. Replies: 6
    Last Post: 01-30-2008, 01:30 PM

Tags for this Thread

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