+ Reply to Thread
Results 1 to 4 of 4

Problem with formula for finding first non empty cell and make the sum/adding an amount

  1. #1
    Registered User
    Join Date
    06-06-2010
    Location
    Hong Kong
    MS-Off Ver
    2016 for Mac
    Posts
    28

    Problem with formula for finding first non empty cell and make the sum/adding an amount

    Hi,

    Kind of difficult (or maybe not) to explain my issue. I've attached an example file so it's more clear for those amongst you that can help me out here.
    What formula to use if I want to add a fixed number (in my case +1) to the "above" first cell in a column that is not empty?
    For example: cell A10 has value 5, cell A11 has 6, A12 has 7, A13 has nothing (or 0), A14 needs to have 8. I'm looking for a proper formula to accomplish that as the scenario can change where for example: A10 has 5, A11 has nothing, A12 has nothing, so A13 needs to have 6.
    Hope I'm making myself clear here.

    Thanks in advance for any solutions one of you might have !!!!
    Attached Files Attached Files

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Problem with formula for finding first non empty cell and make the sum/adding an amoun

    Hi. In A4 and copied down
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    should do what you want.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  3. #3
    Registered User
    Join Date
    06-06-2010
    Location
    Hong Kong
    MS-Off Ver
    2016 for Mac
    Posts
    28

    Re: Problem with formula for finding first non empty cell and make the sum/adding an amoun

    Hi Glen,

    Perfect !! Thanks a lot. I was trying something with SUMPRODUCT: =SUMPRODUCT((--(B4:B7<>""))) which returns the correct not empty cells (3) but it should return "" and that's what your formula does. Nice, very nice.

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Problem with formula for finding first non empty cell and make the sum/adding an amoun

    OK. Glad to have been abke to help. If that's it, can you now mark the thread as solved & (preferably) click the add Reputation button at the foot of this post.

+ 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. Finding first empty row in database problem
    By seanturner9005 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-11-2013, 12:42 PM
  2. Replies: 2
    Last Post: 02-22-2012, 09:36 AM
  3. Finding the first amount in a cell
    By erickguz in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-27-2007, 11:04 AM
  4. 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
  5. Replies: 5
    Last Post: 05-20-2005, 07:06 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