+ Reply to Thread
Results 1 to 7 of 7

If statement to fill in cell when certain column has data.

  1. #1
    Registered User
    Join Date
    10-03-2018
    Location
    Sheffield
    MS-Off Ver
    2016
    Posts
    2

    If statement to fill in cell when certain column has data.

    Hi, I'm very new to excel and trying to understand how to use the program.

    I'm trying to make a monthly tracker of how I spend my money, I would like the overall balance to remain empty until the corresponding money out column is filled in.

    I've tried many things, such as different formulas, and formatting. But I can't get it to work, any ideas on what I should do? I am willing to remodel this.wat.JPG

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Formula help

    Try...

    =IF(F4<>"",SUM(G3+E4-F4),"")
    Last edited by jeffreybrown; 10-03-2018 at 06:43 PM.
    HTH
    Regards, Jeff

  3. #3
    Registered User
    Join Date
    01-28-2015
    Location
    TX, USA
    MS-Off Ver
    2013
    Posts
    69

    Re: If statement to fill in cell when certain column has data.

    Please Login or Register  to view this content.
    Drag down to fill.
    Last edited by Entregan; 10-03-2018 at 06:46 PM.

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

    Re: If statement to fill in cell when certain column has data.

    Why even use the SUM function here?
    =IF(F4<>"",G3+E4-F4,"")
    OR
    =IF(F3="","",G3+E4-F4)
    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
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: If statement to fill in cell when certain column has data.

    Quote Originally Posted by FDibbins View Post
    Why even use the SUM function here?
    Long day I guess.

  6. #6
    Registered User
    Join Date
    01-28-2015
    Location
    TX, USA
    MS-Off Ver
    2013
    Posts
    69

    Re: If statement to fill in cell when certain column has data.

    In case Faz decides to get more detailed and itemizes by column?

  7. #7
    Registered User
    Join Date
    10-03-2018
    Location
    Sheffield
    MS-Off Ver
    2016
    Posts
    2

    Re: If statement to fill in cell when certain column has data.

    Thank you all it worked, and lol it's because I was trying loads of things to get it to work, at first I didn't include the sum, but then I did as I was trying out more things, so in a way kinda a long day

    Thank you again!

+ 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. Using an IF statement to fill in a column
    By maxhecht2 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 01-25-2017, 10:24 AM
  2. [SOLVED] Sequentially fill one cell with column of excel data
    By rye123 in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 06-11-2013, 11:10 AM
  3. Replies: 1
    Last Post: 12-30-2012, 07:52 PM
  4. IF statement based on CELL fill or no fill
    By OliB in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-27-2012, 05:12 PM
  5. Fill column to end cell of surrounding columns, but with new data
    By Villis in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-31-2011, 06:44 PM
  6. Fill an empty cell with first data cell in the same column, next row(s) down
    By aquavion in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 10-02-2009, 04:22 PM
  7. [SOLVED] Using IF statement compare cell ID with data in another column tru
    By connie in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-21-2006, 02:55 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