+ Reply to Thread
Results 1 to 6 of 6

Div/0 to show as 0%

Hybrid View

  1. #1
    Registered User
    Join Date
    05-31-2012
    Location
    lemoore, CA
    MS-Off Ver
    Excel 2007
    Posts
    11

    Div/0 to show as 0%

    Here is my formula.


    =IF($L8=0,0,(D8/'Cooler std. mtrx'!$D$12)+(C8/'Cooler std. mtrx'!$D$11)+(E8/'Cooler std. mtrx'!$D$8)+(F8/'Cooler std. mtrx'!$D$6)+(G8/'Cooler std. mtrx'!$D$5)+(H8/'Cooler std. mtrx'!$D$10)+(I8/'Cooler std. mtrx'!$D$9)+(J8/'Cooler std. mtrx'!$D$6))/$K8

    Where L8 is Work hours. This equation is showing the productivity where D8, C8, etc is the work type/ how many each worker should be able to do.

    I need it to show 0% if there are no work hours rather than the div/0 error.

    Thank you.

  2. #2
    Valued Forum Contributor
    Join Date
    03-16-2012
    Location
    Aarhus, Denmark
    MS-Off Ver
    Excel 2007
    Posts
    992

    Re: Div/0 to show as 0%

    Try:

    =IFERROR(IF($L8=0,0,(D8/'Cooler std. mtrx'!$D$12)+(C8/'Cooler std. mtrx'!$D$11)+(E8/'Cooler std. mtrx'!$D$8)+(F8/'Cooler std. mtrx'!$D$6)+(G8/'Cooler std. mtrx'!$D$5)+(H8/'Cooler std. mtrx'!$D$10)+(I8/'Cooler std. mtrx'!$D$9)+(J8/'Cooler std. mtrx'!$D$6))/$K8,0)
    Sincerely
    S?ren Larsen

    "Give a man a fish, and you'll feed him for a day. Give a man a fishing rod, and he'll steal your yacht!"

  3. #3
    Registered User
    Join Date
    05-31-2012
    Location
    lemoore, CA
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: Div/0 to show as 0%

    I did. It is saying that there are too many arguments for this function

  4. #4
    Valued Forum Contributor
    Join Date
    03-16-2012
    Location
    Aarhus, Denmark
    MS-Off Ver
    Excel 2007
    Posts
    992

    Re: Div/0 to show as 0%

    Is your original formula working? If yes, then try:

    =IFERROR(your formula here,0)

  5. #5
    Registered User
    Join Date
    05-31-2012
    Location
    lemoore, CA
    MS-Off Ver
    Excel 2007
    Posts
    11

    Re: Div/0 to show as 0%

    Awesome worked perfectly. Thank you!!!

  6. #6
    Valued Forum Contributor
    Join Date
    03-16-2012
    Location
    Aarhus, Denmark
    MS-Off Ver
    Excel 2007
    Posts
    992

    Re: Div/0 to show as 0%

    No problem!

+ 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