+ Reply to Thread
Results 1 to 5 of 5

How to create a formula that excludes specific text.

  1. #1
    Registered User
    Join Date
    12-05-2014
    Location
    Manchester
    MS-Off Ver
    2007
    Posts
    45

    How to create a formula that excludes specific text.

    Hi all,

    Can anyone help in creating a formula for the following please? I'm a bit stuck.

    I have a cell (A1) with numbers that I manually enter. I want cell (B1) to add 2.5 to whatever number is in cell A1 to give the total number. That's the part I can do.

    Where I'm struggling is that I only want 2.5 to be added if cell (C1) does NOT contain the text 'hours included'.

    Can anyone help please?
    Last edited by eekbubble; 12-08-2014 at 08:52 AM.

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Need a formula creating.

    unfortunately your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution.

    Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.

    To change a Title go to your first post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    12-05-2014
    Location
    Manchester
    MS-Off Ver
    2007
    Posts
    45

    Re: How to create a formula that excludes specific text.

    Title changed.

  4. #4
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: How to create a formula that excludes specific text.

    Try

    =IF(COUNTIF(C1,"*hours included*"),A1,A1+2.5)
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  5. #5
    Registered User
    Join Date
    12-05-2014
    Location
    Manchester
    MS-Off Ver
    2007
    Posts
    45

    Re: How to create a formula that excludes specific text.

    Great. Thanks!

+ 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] Use an existing cell formula for creating a new more complex formula
    By dubcap01 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-23-2014, 07:41 AM
  2. Replies: 1
    Last Post: 11-21-2012, 02:03 AM
  3. Creating a formula
    By khalid79m in forum Excel General
    Replies: 4
    Last Post: 10-02-2007, 10:49 AM
  4. Help creating formula
    By philamena in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-30-2006, 07:35 PM
  5. [SOLVED] I need help creating a formula
    By Kim in forum Excel General
    Replies: 11
    Last Post: 11-19-2005, 04:10 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