+ Reply to Thread
Results 1 to 13 of 13

Resultant cell to be blank, not zero, until range begins population

  1. #1
    Registered User
    Join Date
    07-11-2013
    Location
    Davenport, Iowa
    MS-Off Ver
    Excel 2007
    Posts
    26

    Resultant cell to be blank, not zero, until range begins population

    The formula’s below have their own resultant cell, and I want it to record a blank until one or more contributing cells in the range for the formula is populated. Right now the resultant cell populates with a zero.

    To capture attendance:
    =COUNTIFS($D205:$D250,"ATTENDANCE",G205:G250,1)

    To Capture the highest rating
    =MAX(G217:G252)

    To Capture the combined ratings
    =SUMIF($D217:$D252,"WEEKLY TOTALS",G217:G252)

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,956

    Re: Resultant cell to be blank, not zero, until range begins population

    Assuming A1 is teh cell to be populates...

    =IFA1="","",your-formula)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    07-11-2013
    Location
    Davenport, Iowa
    MS-Off Ver
    Excel 2007
    Posts
    26

    Re: Resultant cell to be blank, not zero, until range begins population

    MANY THANKS FOR THE QUICK RESPONSE, however it returned an error. I inserted the range in lieu of A1 as you indicated, would that be the error?

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,956

    Re: Resultant cell to be blank, not zero, until range begins population

    Does it return error if you just use your formula alone in that same cell?

  5. #5
    Registered User
    Join Date
    07-11-2013
    Location
    Davenport, Iowa
    MS-Off Ver
    Excel 2007
    Posts
    26

    Re: Resultant cell to be blank, not zero, until range begins population

    No, it returns a zero as before. More Data: there is 5 cells in a range that are sub-totaled to a zero, then there are 3 ranges. These 3 ranges [vertically] are what is in play. Does that help?

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,956

    Re: Resultant cell to be blank, not zero, until range begins population

    Can you upload a small (clean) sample workbook (not a pic) of what you are working with, and what your expected outcome would look like.

  7. #7
    Registered User
    Join Date
    07-11-2013
    Location
    Davenport, Iowa
    MS-Off Ver
    Excel 2007
    Posts
    26

    Re: Resultant cell to be blank, not zero, until range begins population

    Sure, give me a bit, and thanks for your interest to do so

  8. #8
    Registered User
    Join Date
    07-11-2013
    Location
    Davenport, Iowa
    MS-Off Ver
    Excel 2007
    Posts
    26

    Re: Resultant cell to be blank, not zero, until range begins population

    My expectations is that all the zero's will go away until the contributing cells would start to be populated. Ok, how do I attached the file?

  9. #9
    Registered User
    Join Date
    07-11-2013
    Location
    Davenport, Iowa
    MS-Off Ver
    Excel 2007
    Posts
    26

    Re: Resultant cell to be blank, not zero, until range begins population

    Find it, see attachment
    Attached Files Attached Files

  10. #10
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Resultant cell to be blank, not zero, until range begins population

    you can try this way

    =IFERROR(1/(1/COUNTIFS($B4:$B49,"ATTENDANCE",E4:E49,1)),"")
    or more simply custom format cell with formulas
    custom
    0;-0;;@
    incidentaly
    =SUM(E4*$C4,E5*$C5,E6*$C6,E7*$C7,E8*$C8,E9*$C9)+SUM(E10*$C10,E11*$C11,E12*$C12)+SUM(E13*$C13,E14*$C14,E15*$C15)
    can be just
    =SUMPRODUCT(E4:E15,$C$4:$C$15,)
    Last edited by martindwilson; 12-27-2014 at 08:58 PM.
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  11. #11
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Resultant cell to be blank, not zero, until range begins population

    Quote Originally Posted by martindwilson View Post
    or more simply custom format cell with formulas
    custom
    0;-0;;@
    Just be aware that if using this formatting the cell will still contain a numeric 0, you just won't see it. That might need to be accounted for in any downstream calculations.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  12. #12
    Registered User
    Join Date
    07-11-2013
    Location
    Davenport, Iowa
    MS-Off Ver
    Excel 2007
    Posts
    26

    Re: Resultant cell to be blank, not zero, until range begins population

    Hi Tony,
    My spreadsheet is at 85-90 percent completed. I have spent 4 years on it [off and on], at first I was a novice, but probably am now at an intermediate understanding. I need some help to finish this project up within the next 2 months. Since I am unfamiliar with how to go about acquiring a guru off Excel forum. Would you respond and give me the information, and how we could proceed from here.

    Thank you
    Craig
    Last edited by craigl; 02-07-2015 at 02:45 AM.

  13. #13
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Resultant cell to be blank, not zero, until range begins population

    I assume that means you're interested in hiring someone to help you finish your project.

    There is a commercial services section here but I'm not sure how it works. See if this helps:

    http://www.excelforum.com/the-water-...-services.html

+ 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] Copy-Paste with resultant cell reference
    By javeds in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-13-2014, 10:18 AM
  2. Replies: 2
    Last Post: 11-22-2013, 01:07 PM
  3. Replies: 5
    Last Post: 08-06-2013, 06:41 PM
  4. [SOLVED] if cell BEGINS WITH abc, then return 123, or if cell BEGINS WITH def, then 456, ...
    By Marijke in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 03-29-2013, 11:20 AM
  5. Replies: 0
    Last Post: 07-10-2012, 08:37 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