+ Reply to Thread
Results 1 to 8 of 8

Visibility of cells

  1. #1
    Registered User
    Join Date
    07-10-2015
    Location
    Boise
    MS-Off Ver
    2013
    Posts
    4

    Visibility of cells

    Hi,

    I am creating a spreadsheet of all my loans. Inside the spreadsheet I have equations to calculate my principal payment, how much of payment went to interest and my remaining loan amount.

    Looking at the outstanding Principal column the value 9541.71 is shown even thought I don't have an entry for those months. Is there a way in Excel to make so that the value (Outstanding Principal) is shown only when I input values into Days Passed and Payment Amount? The reason it is showing know is because I have created an equation and dragged it down. Ideally I would like for nothing to show up until I have created an input for those values. Is there a setting in Excel that allows me to to this?

    Paid Interest and Paid Principal are showing 0.00 since I have created and equation for them, but I did not drag it down.
    Attached Images Attached Images

  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,929

    Re: Visibility of cells

    Hi, welcome to the forum

    You dont show column references, so assume Days Passed in in column B...

    =IF(B2="","",yourformula)
    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
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Visibility of cells

    Hello,

    instead of pre-filling rows with formulas and then having to take steps to avoid applying calculations in rows with no data, you could have an Excel Table that automatically puts the formula in a new row.

    In your screenshot, remove iterations 8 and above. Then click any cell in the table and click Insert > Table (or hit Ctrl-T). Now you can enter a new row of data below iteration 7. As soon as you enter something into a new row, any formula or formatting will be applied to the new row automatically. If we can assume that you will only add a new row when you have new data, you don't need a formula that prevents "wrong" values.

    cheers, teylyn

  4. #4
    Registered User
    Join Date
    07-10-2015
    Location
    Boise
    MS-Off Ver
    2013
    Posts
    4

    Re: Visibility of cells

    So I gave my formula a name (I highlighted all of outstanding principal and gave it name). But when I do this the cell (B2) just says false and the outstanding principal values are still there. Is there something that I need to do initially in order for this to work?

  5. #5
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Visibility of cells

    Did you see my post above? We posted at the same time.

    What do you mean by "I gave my formula a name"? It would help if you could share a sample Excel file, not a screenshot.

  6. #6
    Registered User
    Join Date
    07-10-2015
    Location
    Boise
    MS-Off Ver
    2013
    Posts
    4

    Re: Visibility of cells

    Here is my Excel file.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    07-10-2015
    Location
    Boise
    MS-Off Ver
    2013
    Posts
    4

    Re: Visibility of cells

    by formula name I mean I selected all the cells that contain the unwanted visible data then I went to Formulas ->Define Names and gave all the cells a name.

  8. #8
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Visibility of cells

    ... and why did you do that? But you did not attach that version, did you?

    There are no defined names in your attached file. I don't quite understand whether you may think that naming a range of cells is connected to your question. It is not.

    The spreadsheet you attached does not have a single formula in the loan tables. I assume you would want to use formulas to calculate the values. Your question is about such formulas. I don't understand why you uploaded a file that does not show what you are asking about.

    My suggestion:

    On the "Car Loan" sheet, delete rows 15 and below.

    Put the formulas back into the cells.

    Select A7 to F14 and insert a table.
    Select H7 to M14 and insert a table.

    After that you can add new rows to each table, independently. Add a number for the increment, type in the values and the formulas will calculate the results.

    cheers, teylyn
    Last edited by teylyn; 07-10-2015 at 05:53 AM.

+ 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] Cannot set worksheet visibility in VBA
    By perrja4 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-17-2013, 11:30 AM
  2. MSGBOX visibility help
    By Southernw2002 in forum Excel General
    Replies: 4
    Last Post: 07-14-2012, 10:13 AM
  3. Excel Visibility
    By Streng in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-22-2009, 07:03 AM

Tags for this Thread

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