+ Reply to Thread
Results 1 to 4 of 4

Replace text in an existing formula

  1. #1
    Registered User
    Join Date
    04-28-2014
    Location
    Kauai, Hawaii
    MS-Off Ver
    Excel 2003
    Posts
    2

    Replace text in an existing formula

    Hi I have been working on this for quite some time and I feel like it should be an easy fix but I just can't quite get it.

    So I have a list of names and next to them I have a formula that searches and finds the adjacent numbers in another area of the spreadsheet, adds them up and shows the total. The formula works as it is suppose to except I have to manually input the names in each formula. I would like it to automatically search for the name next to it without me inputting that name. If I have to create another formula next to the existing column that would be fine. Any help would be greatly appreciated. Hopefully all that makes sense I'm quite a newb when it comes to excel.

    The current formula I have is:

    =SUMIF(I:I,"*XNamehere*",J:J)
    Attached Files Attached Files

  2. #2
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Replace text in an existing formula

    Use cell reference instead of hard=codding

    =SUMIF(I:I,"*"&B3&"*",J:J)
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  3. #3
    Registered User
    Join Date
    04-28-2014
    Location
    Kauai, Hawaii
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Replace text in an existing formula

    WOW thank you! I knew it would be something simple like that. Very much appreciated!!!!!!!!!

  4. #4
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Replace text in an existing formula

    You're welcome and thank you for the feedback!

    Please mark thread as "Solved" if your issue has been resolved. (Selecting Thread Tools-> Mark thread as Solved).

+ 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: 3
    Last Post: 03-04-2014, 01:47 PM
  2. [SOLVED] Find & Replace Formula for Locating Short Text within Larger Text
    By garrett.grillo in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-08-2014, 05:04 PM
  3. [SOLVED] Find & Replace Formula for Locating Short Text within Larger Text
    By garrett.grillo in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-07-2014, 08:47 PM
  4. [SOLVED] Macro to Find & Replace existing formula with text in referenced cells
    By sonyap in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-07-2013, 10:39 AM
  5. Replace an Existing File
    By Jim Skrydlak in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-08-2006, 04:55 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