+ Reply to Thread
Results 1 to 8 of 8

Possible to "gray out" or not include a cell value until activated?

  1. #1
    Registered User
    Join Date
    01-30-2014
    Location
    Seattle, WA, USA
    MS-Off Ver
    Excel 2010
    Posts
    5

    Possible to "gray out" or not include a cell value until activated?

    Here's what I want to do:


    I want to =SUM(A1:A100), but maybe I don't want to include the value of a certain number of cell yet, let's say =SUM(A1:A100) but don't count A37, A55, A69, and A88 yet. In essence, it would be =SUM(A1:A100)-A37-A55-A69-A88. Is it possible to use =SUM(A1:A100) but "gray out" those 4 cells until I turn it back on?

    Thanks in advance!

  2. #2
    Forum Expert
    Join Date
    11-28-2012
    Location
    Guatemala
    MS-Off Ver
    Excel 2010
    Posts
    2,394

    Re: Possible to "gray out" or not include a cell value until activated?

    yes they can be excluded but use
    Please Login or Register  to view this content.
    that is sum all rows in a when the corresponding value in b is grater than 99. What is the off/on (trigger). could you spare a sample workbook ?
    Last edited by FDibbins; 01-30-2014 at 10:23 PM. Reason: Mod note - fixed /[code to [/code :)

  3. #3
    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,933

    Re: Possible to "gray out" or not include a cell value until activated?

    Hi and welcome to the forum

    I think what you need to do with this is use a helper column to "x" those cells you dont want to include (lets assume you used B). You would then use =SUMIF($A$1:$A$100"",$B$1:$B$100)
    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

  4. #4
    Registered User
    Join Date
    01-30-2014
    Location
    Seattle, WA, USA
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Possible to "gray out" or not include a cell value until activated?

    I've attached a simple sample workbook. In it, SUM(B1:B10). Can I have the sum to omit say...B3 and B5 until I feel the time is right? I still want B3 and B5 to show (perhaps grayed out?)in the workbook but the sum to not include them until I activate them.
    Attached Files Attached Files

  5. #5
    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,933

    Re: Possible to "gray out" or not include a cell value until activated?

    See the attached. It gives you exactly what was suggested above by both rcm and myself (did you even try it??)

    Also, I added Conditional Formatting to "grey out" those cells selected with the x
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    01-30-2014
    Location
    Seattle, WA, USA
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Possible to "gray out" or not include a cell value until activated?

    Thanks! That made sense!

  7. #7
    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,933

    Re: Possible to "gray out" or not include a cell value until activated?

    Based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as SOLVED. If your problem has not been solved you can use Thread Tools (located above your first post) and choose "Mark this thread as unsolved".
    Thanks.

    Also, as a relatively new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

  8. #8
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,293

    Re: Possible to "gray out" or not include a cell value until activated?

    =SUMIF($A$1:$A$100"",$B$1:$B$100)

    (did you even try it??)
    A little miss typing
    You missed a comma after $A$100 then it is not working.
    Willem
    English is not my native language sorry for errors
    Please correct me if I'm completely wrong

+ 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. How to make a Pivot Table "Top 10" include an "other" category.
    By Melvinrobb in forum Excel Charting & Pivots
    Replies: 7
    Last Post: 09-09-2014, 05:15 AM
  2. Help Needed to get Filters Using "Include" and "Exclude" multiple values on one column.
    By alfykunable in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-23-2012, 04:03 AM
  3. Replies: 3
    Last Post: 07-16-2009, 10:35 AM
  4. Include checkboxes in "locked cell tabbing"
    By MnO in forum Excel General
    Replies: 3
    Last Post: 12-20-2006, 06:15 AM
  5. [SOLVED] Can I format a cell to include quotes " "
    By Speed2772 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-13-2005, 04:15 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