+ Reply to Thread
Results 1 to 3 of 3

Error in formula

  1. #1
    Registered User
    Join Date
    11-11-2013
    Location
    Paisley, Scotland
    MS-Off Ver
    Excel 2010
    Posts
    1

    Error in formula

    Hi I am trying to use a spreadsheet to show the available man hours we have to schedule work in our factory. We are usning a sheet that our manager fills in with the holidays and I'd like a formula that adds up the cells with no text as 6.8hours and if theres text in them, ie HOL/PLAN, then it ignores it. I tried this

    =SUM(IF(D5>A,0,6.8),IF(D6>A,0,6.8),IF(D7>A,0,6.8),IF(D8>A,0,6.8),IF(D9>A,0,6.8),IF(D10>A,0,6.8),IF(D11>A,0,6.8),IF(D12>A,0,6.8))

    But it doesn't seem to work.

    heres a sample of whst the sheet looks like.
    Attached Files Attached Files

  2. #2
    Forum Expert RobertMika's Avatar
    Join Date
    06-22-2009
    Location
    Haverhill, UK
    MS-Off Ver
    Excel 2003-13
    Posts
    1,530

    Re: Error in formula

    =COUNTBLANK(E$6:E$13)*6.8
    Drag accross
    Last edited by RobertMika; 11-11-2013 at 07:04 AM.
    If you are http://www.excelforum.com/image.php?type=sigpic&userid=125481&dateline=1392355029happy with the results, please add to the contributor's
    reputation by clicking the reputation icon (star icon).




    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved.
    To undo, select Thread Tools-> Mark thread as Unsolved.
    http://www.excelaris.co.uk

  3. #3
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Error in formula

    In cell E14, use:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Tweak / copy as necessary.
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

+ 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] Inputbox error message. Formula you typed contains an error.
    By maacmaac in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 07-09-2013, 02:25 PM
  2. Excel 2007 : Formula error:bring up an #VALUE! Error.
    By burner007 in forum Excel General
    Replies: 3
    Last Post: 06-20-2011, 06:10 AM
  3. Replies: 4
    Last Post: 03-24-2006, 07:20 AM
  4. Error values:DIV/0! error in SumProduct formula with no division
    By Jerry W. Lewis in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-06-2005, 07:05 PM
  5. [SOLVED] Formula error with Mac resulting in '#NAME' error
    By Linking to specific cells in pivot table in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-01-2005, 03:05 AM

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