+ Reply to Thread
Results 1 to 5 of 5

Formula with 2 text words ?

  1. #1
    Registered User
    Join Date
    02-21-2016
    Location
    Denmark
    MS-Off Ver
    Office Pro 2010 Danish version
    Posts
    4

    Formula with 2 text words ?

    Hi

    I have a long formula, that calculates the used time total, if text "Running" in J-row.
    What to do If I need the formula to calculate also if "Stop" in the J-row (So both "Running" + "Stop")
    But how to put ind the extra "Stop"-text in the formula ?

    Part of the formula:
    ....$H$1:$H$1500;$A$1:$A$1500;$A1186;$J$1:$J$1500;"Running")*1);"")/24;"")

    Have a nice weekend,

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,192

    Re: Formula with 2 text words ?

    Attach a sample workbook (not image).

    Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate.

    Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

  3. #3
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Formula with 2 text words ?

    Part of the formula:
    ....$H$1:$H$1500;$A$1:$A$1500;$A1186;$J$1:$J$1500;"Running")*1);"")/24;"")+
    Part of the formula:
    ....$H$1:$H$1500;$A$1:$A$1500;$A1186;$J$1:$J$1500;"Stop")*1);"")/24;"")
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  4. #4
    Registered User
    Join Date
    02-21-2016
    Location
    Denmark
    MS-Off Ver
    Office Pro 2010 Danish version
    Posts
    4

    Re: Formula with 2 text words ?

    Thanks - but I can't make it work ;((

    Here is only of the original (working) formulas:
    =IFERROR(IF(ISNUMBER($X14);SUMIFS($X$9:$X$3089;$A$9:$A$3089;$A14)/(SUMIFS($H$9:$H$3089;$A$9:$A$3089;$A14;$J$9:$J$3089;"Running")*1);"")/24;"")

    Can you help ?

  5. #5
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,908

    Re: Formula with 2 text words ?



    =IFERROR(IF(ISNUMBER($X14);SUMIFS($X$9:$X$3089;$A$9:$A$3089;$A14)/
    SUM(SUMIFS($H$9:$H$3089;$A$9:$A$3089;$A14;$J$9:$J$3089;{"Running";"Stop"}))/24;"");"")

+ 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] Formula to extract the text before one of two specific words
    By The_Snook in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-02-2017, 07:21 AM
  2. Text and extracting certain words from formula
    By jw01 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-28-2016, 08:35 AM
  3. [SOLVED] Formula to delete words from text only if text in over certain amount of characters
    By erikpaulsen in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-03-2015, 05:21 PM
  4. [SOLVED] Formula to delete certain amount of words from text
    By erikpaulsen in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-02-2015, 07:06 PM
  5. Replies: 15
    Last Post: 10-12-2014, 08:53 AM
  6. [SOLVED] Text formula to separate words in glossary
    By patriciabr in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-15-2013, 11:19 AM
  7. Replies: 1
    Last Post: 04-04-2012, 07:15 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