+ Reply to Thread
Results 1 to 4 of 4

Calculation help

  1. #1
    Registered User
    Join Date
    05-15-2009
    Location
    Denver, CO
    MS-Off Ver
    Excel 2003 - SP3
    Posts
    3

    Question Calculation help

    I am having a difficult time with a calculation. I took over someone else's duty who is no longer with the company. The calculation used did not account for entire columns & the data I need to pull fromhas grown larger than the calculation. When I hit "F2" to manually change the data array, everything works fine until I hit enter and then the result displays as 0.0%. When I hit the insert function button, the result shows as the correct number. I tried copying the format only from an adjacent cell, but this did not work. When I tried to undo my changes, the cell still displays as 0.0%


    The original calc is:
    =SUM(IF(cData!$T$2:$T$45998="Internal",IF(cData!$N$2:$N$45998=9,1,IF(cData!$N$2:$N$45998=10,1,0)),0))/SUM(IF(cData!$T$2:$T$45998="Internal",IF(cData!$N$2:$N$45998<>"",1,0),""))

    The new calc is:
    =SUM(IF(cData!$T$2:$T$65536="Internal",IF(cData!$N$2:$N$65536=9,1,IF(cData!$N$2:$N$65536=10,1,0)),0))/SUM(IF(cData!$T$2:$T$65536="Internal",IF(cData!$N$2:$N$65536<>"",1,0),""))

    The calc from the cell below the cell I am working in:
    =SUM(IF(cData!$T$2:$T$45998="Internal",IF(cData!$O$2:$O$45998=9,1,IF(cData!$O$2:$O$45998=10,1,0)),0))/SUM(IF(cData!$T$2:$T$45998="Internal",IF(cData!$O$2:$O$45998<>"",1,0),""))

    I am not sure what I am doing wrong & would appreciate any help!
    Last edited by mjcdriscoll; 05-15-2009 at 02:03 PM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Calculation help

    These look like array formulas...

    activate the cell with the formula in it by pressing F2... and then hold the CTRL and Shift keys down.. now press Enter.. you will see { } brackets appear around the formula..

    then copy it down.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Calculation help

    You can probably replace with:

    Please Login or Register  to view this content.
    which doesn't require special entry... just ENTER will do

  4. #4
    Registered User
    Join Date
    05-15-2009
    Location
    Denver, CO
    MS-Off Ver
    Excel 2003 - SP3
    Posts
    3

    Re: Calculation help

    NBVC - thanks a bunch! I knew I was forgetting something! I greatly appreciate the help! Now that I look at the addiational calc you provided, I can't believe I did not think of that. I use that calc on a daily basis.

+ 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