+ Reply to Thread
Results 1 to 2 of 2

Formula if a cell in column A contains chosen text then add a certain value to the next ce

  1. #1
    Registered User
    Join Date
    01-25-2013
    Location
    Tg-Mures, Romania
    MS-Off Ver
    Excel 2003
    Posts
    1

    Formula if a cell in column A contains chosen text then add a certain value to the next ce

    Hi there Forum Members, I am glad to have found this forum as I am getting into Excel "Magic"
    I have been working with Excel for a few years and I am still a beginner. But that's okay, each time I learn something new I get excited as a child getting a new toy. I call myself a novice though about two years ago, I created a huge spreadsheet for the company I was working for, that became the main document to be filled out in sales department.
    Today, I was working on another huge spreadsheet when I encoutered a issue which I wasn't able to solve by myself. Please, experts, give your advice if a formula is possible.
    If a cell in column A contains a chosen text then add a certain value to the next cell in column B. In column A I have dates for multiple years and in column B I have currencies. Once a month I want to feed the account, which is yielding interest compounded every day, with a certain, same amount.
    Thank you!

  2. #2
    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: Formula if a cell in column A contains chosen text then add a certain value to the nex

    Hi crissro and welcome to the forum

    because you were not very specific and the text, I will work on a few different assumptions. All are based on the text being in A1, and that the text = "name", and that you want to add 10 to B1. adjust references as needed.

    1. the text is on its own in the cell....
    =if(A1="name",B1+10,B1)

    2. the text is part of a string in a cell....
    =if(A1="*"&"name"&"*",B1+10,B1)

    If this doesnt work for you, i would suggest you upload a sample work book, (all sensitive data removed), showing what data you are working with, a few examples of what your expected outcome is, and how you arrived at that
    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.
    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

+ 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