+ Reply to Thread
Results 1 to 10 of 10

Want cell to remain blank until info is entered into the cell before it

  1. #1
    Registered User
    Join Date
    10-29-2013
    Location
    Windsor, Ontario
    MS-Off Ver
    excel 2007
    Posts
    18

    Want cell to remain blank until info is entered into the cell before it

    I have a chart that is suppose to calculate spending trends over the course of a year. When a number is entered into cell G5 the cell next to it (I5) reflects that number, this represents the beginning of the year. When information is entered into cell G6, the number represented in cell I6 should be the beginning of a running total for the year, the formula I currently have in cell I6 is =I5+G6. As numbers continue to be entered into the "G" column the numbers in the "I" column should grow, showing me how much I am spending each week. What I can't figure out is how to have the cells in the "I" column remain blank until information is entered into the "G" column that is beside it. Right now, what's happening is when I enter a number into G5, that number get's reflected into all of the I cells down to the end of the year. Not sure if this makes sense, wondered if anyone had any suggestions, thanks very much.

  2. #2
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,459

    Re: Want cell to remain blank until info is entered into the cell before it

    Maybe in I5 :
    =G5
    and in G6 then drag down:
    =IF(G6="","",I5+G6)
    Quang PT

  3. #3
    Registered User
    Join Date
    10-29-2013
    Location
    Windsor, Ontario
    MS-Off Ver
    excel 2007
    Posts
    18

    Re: Want cell to remain blank until info is entered into the cell before it

    Thanks for the quick response. I tried the formula, but am still having the same problem.

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

    Re: Want cell to remain blank until info is entered into the cell before it

    Perhaps you did not enter it correctly, or the references are wrong?
    Does G6 contain an entry or a formula?

    What bebo was showing, is that you need to test the "G" cell to see if it is empty, is so, answer = empty, else 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

  5. #5
    Registered User
    Join Date
    10-29-2013
    Location
    Windsor, Ontario
    MS-Off Ver
    excel 2007
    Posts
    18

    Re: Want cell to remain blank until info is entered into the cell before it

    G6 would contain an entry (actually it's would be a formula that adds the "F" and "D" cells in the same line - i.e. in G^ it would have the formula F6+D6)Could this maybe be part of the problem?

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

    Re: Want cell to remain blank until info is entered into the cell before it

    oops, sorry, I mean "I"

    can you upload a sample workbook please?

  7. #7
    Registered User
    Join Date
    10-29-2013
    Location
    Windsor, Ontario
    MS-Off Ver
    excel 2007
    Posts
    18

    Re: Want cell to remain blank until info is entered into the cell before it

    Budget Tracker with NS - 2014-2015 - Master.xls

    Here is the workbook the formula I'm working with can be found on the first tab (contract 410), hope I uploaded it correctly.

  8. #8
    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,926

    Re: Want cell to remain blank until info is entered into the cell before it

    thanks, makes things a lot easier

    =IF(G6=0,"",I5+G6)

  9. #9
    Registered User
    Join Date
    10-29-2013
    Location
    Windsor, Ontario
    MS-Off Ver
    excel 2007
    Posts
    18

    Re: Want cell to remain blank until info is entered into the cell before it

    Thanks, that formula worked. I have to say, this forum is a HUGE help, thanks very much!!

  10. #10
    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,926

    Re: Want cell to remain blank until info is entered into the cell before it

    you'r welcome. If this answered your question, please take a moment to mark the thread as "solved" - it helps keep things neat and tidy lol, and consider adding the reputation to those that helped (see points 2 & 3 below my 1st post to you)

+ 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. Need field to remain blank unless data is entered.
    By ranchqueen in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-15-2013, 11:51 PM
  2. Replies: 3
    Last Post: 10-30-2013, 09:19 AM
  3. VBA Macro to tell a cell to remain blank
    By jonvanwyk in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-12-2010, 08:35 PM
  4. Making a Cell Value of 0 remain blank
    By jonvanwyk in forum Excel General
    Replies: 1
    Last Post: 08-05-2010, 02:33 PM
  5. Cell to remain blank if value =0
    By Butehawk in forum Excel General
    Replies: 2
    Last Post: 05-10-2010, 08:28 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