+ Reply to Thread
Results 1 to 15 of 15

Is it posible to hide the formula till it is activated?

  1. #1
    Registered User
    Join Date
    05-30-2022
    Location
    Portugal
    MS-Off Ver
    MS365 Version 2210
    Posts
    33

    Is it posible to hide the formula till it is activated?

    Hello guys!

    Hope this post finds you well.

    I have a question. Is it possible to have the cell empty, without errasing the formula?

    In my file you have the Section "time open". Its a simple formula. A-B, thats it. When i drag the formula down it automatically gives a result to all the cells, even if there's no information yet. Is it posible to change this, without having to drag the formula down everytime i put new info in?

    esquema 1.xlsxfinal.JPG
    Last edited by kevsoulo; 11-03-2022 at 03:13 PM.

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: Is it posible to hide the formula till it is activated?

    How about
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    05-30-2022
    Location
    Portugal
    MS-Off Ver
    MS365 Version 2210
    Posts
    33

    Re: Is it posible to hide the formula till it is activated?

    Hey!

    It worked! Thank you so much.

    I have another question, If, instead of =E2-D2, i had something like (example): =IF(A3="BALL";B3-C3;C3-B3) . How could I drag this formula down without it giving me a 0 result in cells that have no information?

    Kind regard

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,916

    Re: Is it posible to hide the formula till it is activated?

    Administrative Note:

    Is your forum profile showing the version of Excel that you need this to work for? Last version is unclear ...

    Members will tailor the solutions they offer to the version of Office (Excel, NOT Windows) that you have. Please check that your forum profile is up-to-date in this respect. If you aren't sure, in Excel go to File | Account and report what it says below the MS logo at the top of that page. If your version is for Mac, please also state this.

    The three most recent versions of Excel are Excel 2019, Excel 2021 and MS365 - if you are using MS365, please give this name along with the release number in your profile (e.g. MS365 Version 2211). This is in the About Excel section further down the Account page.

    Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,916

    Re: Is it posible to hide the formula till it is activated?

    Try this:

    =IF(A3="BALL";IF(B3-C3=0;"";B3-C3);IF(C3-B3=0;"";C3-B3))

  6. #6
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,433

    Re: Is it posible to hide the formula till it is activated?

    Another option where you don't have to adjust the formulas is the following:

    Give the cells custom format: hh:mm:ss;;

    After the second semicolon is indicated how 0 should be displayed.
    There is nothing after the second semicolon, so the 0 (00:00:00) is made invisible.

  7. #7
    Registered User
    Join Date
    05-30-2022
    Location
    Portugal
    MS-Off Ver
    MS365 Version 2210
    Posts
    33

    Re: Is it posible to hide the formula till it is activated?

    Hello Ali!

    It worked, the only problem would be if the result is 0. If the result of those cells is 0 it is not going to appear. Is there a solution for this?

  8. #8
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: Is it posible to hide the formula till it is activated?

    I would tend to use a custom cell format, but the formula would need to be
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  9. #9
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,433

    Re: Is it posible to hide the formula till it is activated?

    Glad to help, thanks for the feedback in the rep .

  10. #10
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,433

    Re: Is it posible to hide the formula till it is activated?

    If the result of those cells is 0 it is not going to appear.
    In this case custom format doesn't work either and is the formula of Fluff (Post #8) an option.

  11. #11
    Registered User
    Join Date
    05-30-2022
    Location
    Portugal
    MS-Off Ver
    MS365 Version 2210
    Posts
    33

    Re: Is it posible to hide the formula till it is activated?

    Thank you very much for your help today Fluff!

  12. #12
    Registered User
    Join Date
    05-30-2022
    Location
    Portugal
    MS-Off Ver
    MS365 Version 2210
    Posts
    33

    Re: Is it posible to hide the formula till it is activated?

    Thank you Hans for being so helpful!

  13. #13
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: Is it posible to hide the formula till it is activated?

    Glad to help & thanks for the feedback.

  14. #14
    Registered User
    Join Date
    05-30-2022
    Location
    Portugal
    MS-Off Ver
    MS365 Version 2210
    Posts
    33

    Re: Is it posible to hide the formula till it is activated?

    Hello Ali,

    I'm sorry to bother you again. Attachment 803596

    I did what you teach me to do. Now i want to have a simple line chart that does refresh automatically when i put new info. The thing is that those "blank" cells are worth 0. Is there a way so this doesnt happen?

    Kind regards

  15. #15
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,916

    Re: Is it posible to hide the formula till it is activated?

    This is a completely different question.

    Start a new thread with a suitably escriptive title in the appropriate forum section here: https://www.excelforum.com/excel-charting-and-pivots/

    No further help to be offered in this thread.

+ 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. hide a ws with either hyperlink or when main sheet is activated
    By dreamsinpixels in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-28-2022, 03:12 PM
  2. [SOLVED] Summing Data With Criteria Q1, till Q2, till Q3 etc...
    By Jhon Mustofa in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-10-2021, 03:03 AM
  3. [SOLVED] is it posible to define data range of a chart with a formula? (indirect for example)
    By proxima centauri in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 03-09-2020, 08:23 AM
  4. checkbox activated macro to hide/unhide column
    By chadVBA in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-08-2019, 05:25 PM
  5. Sum till the column till the date match
    By ursanil in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-02-2014, 06:29 AM
  6. Replies: 2
    Last Post: 10-15-2009, 09:35 AM
  7. hide all modeless userform for activeworkbook when de-activated
    By wotadude in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-14-2009, 05: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