+ Reply to Thread
Results 1 to 27 of 27

adding to formula revised

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    10-07-2006
    Posts
    182

    adding to formula revised

    how can i add -(q10:q11) to the following formula with out returning #VALUE in cell N9, n9 is where this formula is

    =IF(AND(ISBLANK(D9),ISBLANK(E9)),"",IF(24*(IF(E9>D 15,D15+2-E9,D15-E9))=0,24,24*(IF(E9>D15,D15+3-E9,D15-E9))))

    i have tried adding the following to the formula -(q10:q11)

    but does not work

    please download my work sheet to see what i mean

    q10 and q11 do have formulas in them.
    Attached Files Attached Files

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,526
    My computer doesn't recognize the file format, save it as a regular .xls file then zip it

  3. #3
    Forum Contributor
    Join Date
    10-07-2006
    Posts
    182
    i opened it ok

  4. #4
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    Quote Originally Posted by Crasher
    i opened it ok
    Not everybody can open 2007 Excel files, especially if they have 2003

  5. #5
    Forum Contributor
    Join Date
    10-07-2006
    Posts
    182
    hi oldchippy nice to here from you again.

    is it possilbe that you can help me on this problem please.

    this is the very last thing that needs to be done on this worksheet and then it is complete.

  6. #6
    Forum Contributor
    Join Date
    10-07-2006
    Posts
    182
    can anyone help please

  7. #7
    Forum Contributor
    Join Date
    10-07-2006
    Posts
    182
    this is such hard work

  8. #8
    Forum Contributor
    Join Date
    03-13-2005
    Posts
    6,195
    Quote Originally Posted by Crasher
    this is such hard work
    not made any easier by the xlsx file, you need to 'saveAs' a standard file format if you want others to be able to read your file.

    Your formula =IF(AND(ISBLANK(D9),ISBLANK(E9)),"",IF(24*(IF(E9>D 15,D15+2-E9,D15-E9))=0,24,24*(IF(E9>D15,D15+3-E9,D15-E9)))) seems to say, If E&D9 are blank then blank, else if *24 = 0 then 24, else 24*

    If you want to subtract Q10:Q11 then why not either -Q10-Q11 or -Sum(Q10:Q11) to give

    =IF(AND(ISBLANK(D9),ISBLANK(E9)),"",IF(24*(IF(E9>D 15,D15+2-E9,D15-E9))=0,24,24*(IF(E9>D15,D15+3-E9,D15-E9))-Q10-Q11))

    or
    =IF(AND(ISBLANK(D9),ISBLANK(E9)),"",IF(24*(IF(E9>D 15,D15+2-E9,D15-E9))=0,24,24*(IF(E9>D15,D15+3-E9,D15-E9))-Sum(Q10:Q11))


    ---
    Si fractum non sit, noli id reficere.

  9. #9
    Forum Contributor
    Join Date
    10-07-2006
    Posts
    182
    just what the doctor ordered many thanks everyone

  10. #10
    Forum Contributor
    Join Date
    03-13-2005
    Posts
    6,195
    Quote Originally Posted by Crasher
    just what the doctor ordered many thanks everyone
    Good to see your problem resolved, . . and thanks for the response

  11. #11
    Forum Contributor
    Join Date
    06-10-2004
    Location
    India
    Posts
    1,066
    Sorry, I was travelling and could not reply. Good to know your problem is solved.

    Mangesh

+ 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