+ Reply to Thread
Results 1 to 2 of 2

If Statement to rid of DIV/# - Also have SUM statement included

  1. #1
    Registered User
    Join Date
    07-30-2014
    Location
    Columbus
    MS-Off Ver
    2013
    Posts
    64

    If Statement to rid of DIV/# - Also have SUM statement included

    Morning - I am thoroughly confused on a report that I am doing a lot of data analysis on. Below is an example of what I'm attempting to do, which for all intents and purpose is doing what I what it to do within my main sheet ( I would attach, but my computer system is weird).

    Items Units TOTAL TURNS
    JAN 22 JAN 0 JAN Morning -
    FEB 19 FEB 2 FEB 9.5
    MAR 0 MAR 4 MAR 0
    APR 14 APR 0 APR
    MAY 5 MAY 3 MAY 0.56
    JUN 0 JUN 2 JUN 0

    This is the formula used to calculate the "0" in Total turns at the bottom - =IF(G7=0,"",C7/($G$2+SUM($G$2:G7)))

    In my main spreadsheet I'm really confused on why I'm getting a DIV in some rows and a blank in other rows, with the same formula and what seems to be the same way to calculate. This is all being done within Power Pivot as well, so it's an enormous spreadsheet, which I know has nothing to do with.

    Thanks for any help.

  2. #2
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: If Statement to rid of DIV/# - Also have SUM statement included

    Attach a sample workbook. 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 use the paperclip icon to open the upload window.

    View Pic
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

+ 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. compile error expected line number statement end statement
    By mattress58 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-18-2014, 10:12 AM
  2. VBA Compile Error : line number or label or statement or end of statement
    By excellearner121 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-04-2013, 06:41 PM
  3. Replies: 4
    Last Post: 05-16-2012, 05:33 PM
  4. Replies: 6
    Last Post: 04-11-2012, 06:36 PM
  5. Can Excel cell formatting be included in an IF statement?
    By neeses in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-21-2005, 03:05 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