+ Reply to Thread
Results 1 to 13 of 13

Text Equal Hours Formula

  1. #1
    Registered User
    Join Date
    10-31-2014
    Location
    Queensland, Australia
    MS-Off Ver
    2010
    Posts
    11

    Text Equal Hours Formula

    I've started been a roster rep a work and I started a spreadsheet so I need a formula for when ever I type in RDO in a cell it will equal 7 hours and addup towards my end of week total hours
    Last edited by edlorowa; 10-31-2014 at 01:52 AM.

  2. #2
    Forum Expert boopathiraja's Avatar
    Join Date
    07-12-2013
    Location
    Coimbatore,TamilNadu, India
    MS-Off Ver
    Excel 2007, 2013, 2016, 365
    Posts
    1,455

    Re: Text Equal Hours Formula

    Hi, Welcome to the forum

    Where a1 = where you type RDO
    A2= Result my end of week total hours

    A3=
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Click just below left if it helps, Boo?ath?

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

    Re: Text Equal Hours Formula

    You could use a COUNTIF() formula to count the instances of "RDO" in a range of cells of your choosing. Then you multiply that by 7.

    For example:

    =COUNTIF(A4:A20, "RDO") * 7
    _________________
    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!)

  4. #4
    Registered User
    Join Date
    10-31-2014
    Location
    Queensland, Australia
    MS-Off Ver
    2010
    Posts
    11

    Re: Text Equal Hours Formula

    Thanks for the Tips Guys
    Attached Images Attached Images
    Last edited by edlorowa; 10-31-2014 at 04:05 AM.

  5. #5
    Forum Expert boopathiraja's Avatar
    Join Date
    07-12-2013
    Location
    Coimbatore,TamilNadu, India
    MS-Off Ver
    Excel 2007, 2013, 2016, 365
    Posts
    1,455

    Re: Text Equal Hours Formula

    Hi, there is no attachment, besides you can upload a small sample of a workbook instead of a PIC,

  6. #6
    Registered User
    Join Date
    10-31-2014
    Location
    Queensland, Australia
    MS-Off Ver
    2010
    Posts
    11

    Re: Text Equal Hours Formula

    new to the whole forum thing can you give us an idea how to upload a small workbook sample

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

    Re: Text Equal Hours Formula

    Attach a sample workbook. Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic

  8. #8
    Registered User
    Join Date
    10-31-2014
    Location
    Queensland, Australia
    MS-Off Ver
    2010
    Posts
    11

    Re: Text Equal Hours Formula

    here we go excel Problems.xlsx

  9. #9
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Text Equal Hours Formula

    =COUNTIFS(C$2:AD$2,"<>o/t",C$2:AD$2,"<>trav",C$2:AD$2,"<>s",C4:AD4,"RWO")*7
    Try this in "AE4"
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  10. #10
    Registered User
    Join Date
    10-31-2014
    Location
    Queensland, Australia
    MS-Off Ver
    2010
    Posts
    11

    Re: Text Equal Hours Formula

    Cheers mate worked a treat can I add a sum formula to the one you just gave us excel Problems.xlsx I tried that and failed

  11. #11
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Text Equal Hours Formula

    What you are trying to do in Column AE

  12. #12
    Registered User
    Join Date
    10-31-2014
    Location
    Queensland, Australia
    MS-Off Ver
    2010
    Posts
    11

    Re: Text Equal Hours Formula

    Column AE will have the Total Hours that a certain person have done for the week

  13. #13
    Registered User
    Join Date
    10-31-2014
    Location
    Queensland, Australia
    MS-Off Ver
    2010
    Posts
    11

    Re: Text Equal Hours Formula

    I've added a example of the workbook on what i'd like to do excel Problems.xlsx

+ 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. 'Adobe Acrobat 9.0 Object Library'
    By bsapaka in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-31-2014, 04:28 AM
  2. Distributing remaing units over equal number of hours
    By Monoatomic in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 09-10-2014, 09:51 AM
  3. Replies: 3
    Last Post: 12-12-2012, 12:30 PM
  4. Replies: 3
    Last Post: 10-10-2012, 06:37 AM
  5. [SOLVED] how can I add cells in hours and minutes, eg 1.15 +1.45 to equal .
    By Ronnie in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-04-2005, 02:06 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