+ Reply to Thread
Results 1 to 10 of 10

Cell NOT NULL, Next Cell.

  1. #1
    Registered User
    Join Date
    10-02-2015
    Location
    Ohio, USA
    MS-Off Ver
    Win 7
    Posts
    6

    Question Cell NOT NULL, Next Cell.

    I need to make a formula that says if A2 is not null, put information in A3, if A3 is not null, put in for in A4, and so on. Then I need another formula for another cell to reference the last cell in formerly mentioned column. I am completely flummoxed!

    Thanks!

  2. #2
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: Cell NOT NULL, Next Cell.

    The way that the first part of your post reads, is that you want a formula to 'send' something to the next empty cell in the column.

    A formula cannot do that, it can only show a result in the cell in which it is entered.

  3. #3
    Registered User
    Join Date
    10-02-2015
    Location
    Ohio, USA
    MS-Off Ver
    Win 7
    Posts
    6

    Re: Cell NOT NULL, Next Cell.

    Allow me to rephrase, a function or a formula. I will elaborate. I want the result of E4+D4, in the BASEMENT worksheet to go into another worksheet, we'll call BALANCE. And each time D4 is changed in BASEMENT, the new amount is put into the next blank cell of a column in BALANCE. Then in turn, I want E4 in BASEMENT to reference the last number in the column. It will be a running balance in BALANCE, but the last cell in the running balance will show in Basement E4. Does that make sense?
    Last edited by LibraryTech; 10-02-2015 at 09:52 AM.

  4. #4
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: Cell NOT NULL, Next Cell.

    Quote Originally Posted by LibraryTech View Post
    Allow me to rephrase, a FUNCTION or a formula.
    They are the effectively the same, a FUNCTION is a command used in a formula.

    This will put "information" in the next empty cell after A2
    Please Login or Register  to view this content.
    This will reference the last cell in column A
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by jason.b75; 10-02-2015 at 10:53 AM.

  5. #5
    Registered User
    Join Date
    10-02-2015
    Location
    Ohio, USA
    MS-Off Ver
    Win 7
    Posts
    6

    Re: Cell NOT NULL, Next Cell.

    It is a bit circular.... I tried a formula like BAL = BAL- INV_CHG, as I would use in any OOP, but Excel does not like circular references.

  6. #6
    Registered User
    Join Date
    10-02-2015
    Location
    Ohio, USA
    MS-Off Ver
    Win 7
    Posts
    6

    Re: Cell NOT NULL, Next Cell.

    Thank you Jason.b75. I have that as well.

  7. #7
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: Cell NOT NULL, Next Cell.

    Ok, lets start from the beginning.

    Where is the 'Information' coming from, and what sort of information are we looking at? Text / dates / numbers?

  8. #8
    Registered User
    Join Date
    10-02-2015
    Location
    Ohio, USA
    MS-Off Ver
    Win 7
    Posts
    6

    Re: Cell NOT NULL, Next Cell.

    Numbers. Just basic balances. If we have 10 things in stock, and use 2, we have a balance of 8. If someone comes and grabs 2 more, then we have 6. We want the sheet to keep track of the balance of the stock. However, We want the main sheet (that the rest of the users will see) to only show the balance available. In the background, we want a running balance on another sheet... We are thinking we may have to do this is Access, but since the users are more familiar with Excel, we thought we would try and use that.

  9. #9
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: Cell NOT NULL, Next Cell.

    Ok, I think I have this right.
    Enter your opening stock balance in A2 of the Balance sheet.
    Enter this formula in E4 of the Basement sheet.
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Right click the sheet tab of the Basement sheet, click 'View Code', then copy the code below into the sheet module.
    Please Login or Register  to view this content.
    I think it does what you need.

    To add new stock to the balance you should be able to input as a negative in D4, or you could change D4 to 0 and delete the data from column A of Balance sheet and enter the new figure manually to start again with a clean sheet. Whichever suits your need best.

  10. #10
    Registered User
    Join Date
    10-02-2015
    Location
    Ohio, USA
    MS-Off Ver
    Win 7
    Posts
    6

    Re: Cell NOT NULL, Next Cell.

    Thanks! I'll give it a try! :D

+ 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. Replies: 4
    Last Post: 05-20-2014, 01:05 PM
  2. [SOLVED] Make a cell the first value <> null in other cell
    By KillerX in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-22-2012, 07:30 PM
  3. Excel script/formula to copy cell if above cell is null?
    By tdav20 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-15-2012, 06:32 AM
  4. Splitting cell if the cell value is not null
    By ramserp in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-20-2009, 05:21 AM
  5. cell value based on null/not null in another cell
    By spence in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-18-2006, 07:55 PM
  6. [SOLVED] cell shows 0 when referenced cell is null
    By dee in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 10-06-2005, 09:05 AM
  7. [SOLVED] if cell has null value, move data from one cell to another
    By looped in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-16-2005, 08:06 PM

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