+ Reply to Thread
Results 1 to 5 of 5

Hide cells until I type something in another cell

  1. #1
    Registered User
    Join Date
    04-13-2014
    Location
    Israel
    MS-Off Ver
    Excel 2013
    Posts
    3

    Hide cells until I type something in another cell

    Hey there, I'm new in using Excel, and I'm working on my work sheet where I will save my entire hours and salary.
    Anyway currently I'm working as a waiter, and I created the following excel file:
    ba9877c436027d12496b3106e2990c9c.png
    I've typed 2 days of work for example.

    The formula on the Hours is:
    =(((C2+D2)-(A2+B2))*24)-0.5
    the 0.5 is because i get a 30 minutes break every day which I don't get paid for.
    And the one on the salary is:
    =160+(23*(F2-7.5))
    because my base salary is 160 for 7.5 hours, and i get 23 for each hour after that.

    Anyway, I formatted the whole column like that.
    How can I change the formula so it will only apply when I typed information into the row?

    Thank you in advance
    Attached Images Attached Images

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Hide cells until I type something in another cell

    Hi and welcome to the forum

    Unfortunately pictures are rarely much use to us and we require actual workbooks (see guidance in rules area). Upload a workbook and no doubt more answers will be forthcoming.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    04-13-2014
    Location
    Israel
    MS-Off Ver
    Excel 2013
    Posts
    3

    Re: Hide cells until I type something in another cell

    Quote Originally Posted by Richard Buttrey View Post
    Hi and welcome to the forum

    Unfortunately pictures are rarely much use to us and we require actual workbooks (see guidance in rules area). Upload a workbook and no doubt more answers will be forthcoming.
    ok, the file is attached. Originally, the hours and salary columns went on but it made the file weight 17mb...

    Anyway, I dont want the formula to apply until i type in the variables .
    Attached Files Attached Files

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Hide cells until I type something in another cell

    Hi,

    In F2 copied down use

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


    similarly in G2, preface it with an =IF($A2="",""

  5. #5
    Registered User
    Join Date
    04-13-2014
    Location
    Israel
    MS-Off Ver
    Excel 2013
    Posts
    3

    Re: Hide cells until I type something in another cell

    Quote Originally Posted by Richard Buttrey View Post
    Hi,

    In F2 copied down use

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


    similarly in G2, preface it with an =IF($A2="",""
    Works, thank you very much!

+ 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 hide a row if it contains N/A, what type of formula would work with that?
    By lucylu600 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 12-12-2013, 02:50 PM
  2. Replies: 9
    Last Post: 10-04-2013, 05:10 PM
  3. Hide rows as you type
    By appmaster in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 11-08-2012, 05:06 AM
  4. Replies: 3
    Last Post: 11-22-2010, 08:10 AM
  5. Hide empty (or NA) cells in a chart with a nod-date type axis
    By penguin09 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 01-12-2009, 12:48 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