+ Reply to Thread
Results 1 to 2 of 2

SumIF formula based on text in Cell

  1. #1
    Registered User
    Join Date
    11-06-2008
    Location
    Syracuse, NY
    Posts
    29

    SumIF formula based on text in Cell

    I am trying to create two formulas that will do a sumif funciton based on 7 characters of text starting a cell.

    In my Data Dump tab, Column O, if 'RRN 622' starts the reference cell, then I would like to create a formula that brings the date from column A and the amount from column H to my Summary tab.

    Any and all help is greatly appreicated.

    If you have any questions or need further clarification, please let me know.

    thank you,
    Attached Files Attached Files
    Last edited by NBVC; 02-27-2009 at 06:02 PM.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: SumIF formula based on text in Cell

    I inserted a "helper" column into your data to make this easy. Inserted a new column O with this formula in O2, then copied down:

    =IF(LEFT(P2,7)=RRN!$C$2,MAX($O$1:O1)+1,0)

    Then standard lookup formulas on your Summary do the work. Note the two helper cells in yellow on that page, too.
    Attached Files Attached Files
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

+ 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