+ Reply to Thread
Results 1 to 4 of 4

Running calculation on empty columns

  1. #1
    Forum Contributor
    Join Date
    03-05-2013
    Location
    Sydney
    MS-Off Ver
    Excel 2010
    Posts
    301

    Running calculation on empty columns

    Hi all,

    I am looking for a formula that might help with a certain type of calculation.

    It would look something like this table.

    Change Current
    100
    110 110
    110
    120 120
    120
    100 100

    So the current column would update only to the value of the change column where there is a value to be changed to.

    I hope this is understandable.

    Cheers

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,916

    Re: Running calculation on empty columns

    Are you expecting the Current column to contain a formula? If so, maybe this:

    Excel 2016 (Windows) 32 bit
    G
    H
    2
    Change Current
    3
    100
    4
    110
    110
    5
    110
    6
    120
    120
    7
    120
    8
    100
    100
    Sheet: Example

    Excel 2016 (Windows) 32 bit
    H
    3
    =IF(H2="Current",100,IF(G3="",H2,G3))
    Sheet: Example
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Contributor
    Join Date
    03-05-2013
    Location
    Sydney
    MS-Off Ver
    Excel 2010
    Posts
    301

    Re: Running calculation on empty columns

    Thanks Ali.

    This seems to have done the trick!

    Cheers

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,916

    Re: Running calculation on empty columns

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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] Count number of empty columns in a row since non-empty column
    By misterad in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-14-2018, 02:32 PM
  2. [SOLVED] How to create a dynamic range if the last cell is empty and the columns have empty cells
    By peter_swe in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-03-2016, 11:18 PM
  3. Replies: 0
    Last Post: 08-03-2016, 07:01 PM
  4. Summarizing Several Empty/Non-Empty Columns into 1 Master List of another file
    By gapollo in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-08-2014, 05:21 PM
  5. Delete Empty Rows and empty columns from the word table
    By mvneema in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-25-2014, 10:51 AM
  6. Running calculation
    By Cha11 in forum Excel General
    Replies: 1
    Last Post: 11-25-2012, 07:26 AM
  7. [SOLVED] Finding next empty empty cell in a range of columns
    By UncleBun in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-13-2006, 07:25 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