+ Reply to Thread
Results 1 to 7 of 7

Formula to find non blank cell

  1. #1
    Registered User
    Join Date
    03-08-2015
    Location
    Labrador
    MS-Off Ver
    Excel for Mac 14.4.7
    Posts
    4

    Formula to find non blank cell

    I have a sheet to which i will be adding columns of data. This means there are presently blank columns before my calculations. I know how to identify the first non blank cell to the left of the formulas. I need to also identify the first non blank cell to it's left.

    Eg.

    Columns A through H would be as below

    12.57 ; 15.00 ; blank ; blank ; blank ; blank ; formula ; formula

    I will be filling in values in the blank cells over time. As I do they need to be incorporated in the formulas in the last two columns.

    Right now A & B are used in the formulas. In coming entries,this will change to C & B, then D & C and so on...

    Any thoughts would be greatly appreciated.

    Thanks

  2. #2
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2404
    Posts
    13,406

    Re: Formula to find non blank cell

    Try a dynamic range. For example if your columns to be filled in are A:H and your formula starts in I1 this
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    then fill down for the next rows.

    Looks like this:

    Row\Col
    A
    B
    C
    D
    E
    F
    G
    H
    I
    1
    12.57
    15.00
    4.00
    31.57
    2
    127.45
    127.45
    3
    137.85
    11.02
    44.17
    33.67
    226.71
    4
    5
    6

  3. #3
    Registered User
    Join Date
    03-08-2015
    Location
    Labrador
    MS-Off Ver
    Excel for Mac 14.4.7
    Posts
    4

    Re: Formula to find non blank cell

    Thanks....

    I tried it and it gives me a total of the row, just as you have demonstrated.

    Unfortunately, that's not exactly what I'm looking for though....


    I enter a complete column of numbers each time I execute the spreadsheet

    To Identify the first blank cell in a row I use

    =INDEX(A9:H9,MATCH(TRUE,INDEX((A9:H9<>0),0),0))

    In your row 1 column I, I would get 4.00

    I have a formula in column J which needs to use the values found in both columns C and the one immediately before it, B

    Next month I will enter a full column of data in D. The calculations in column J will then run with values found in columns C & D

    I hope this is clear.... Sounds good in my head when I read it, this doesn't mean it translates well onto a computer screen....lol.
    Last edited by Simmons709; 03-09-2015 at 08:23 AM.

  4. #4
    Forum Expert sourabhg98's Avatar
    Join Date
    10-22-2014
    Location
    New Delhi, India
    MS-Off Ver
    Excel 2007, 2013
    Posts
    1,899

    Re: Formula to find non blank cell

    Check attached
    Sorry if this is not what you need...
    Attached Files Attached Files
    Happy to Help

    How to upload excel workbooks at this forum - http://www.excelforum.com/the-water-...his-forum.html

    "I don't get things easily, so please be precise and elaborate"

    If someone's post has helped you, thank by clicking on "Add Reputation" below the post.
    If your query is resolved please mark the thread as "Solved" from the "Thread Tools" above.

    Sourabh

  5. #5
    Registered User
    Join Date
    03-08-2015
    Location
    Labrador
    MS-Off Ver
    Excel for Mac 14.4.7
    Posts
    4

    Re: Formula to find non blank cell

    Thanks for the help....

    I'm gonna give it a run to see if it works for me...

    I'll be back....
    Last edited by Simmons709; 03-09-2015 at 02:48 PM. Reason: Rechecked the result.....Not exactly what I need

  6. #6
    Registered User
    Join Date
    03-08-2015
    Location
    Labrador
    MS-Off Ver
    Excel for Mac 14.4.7
    Posts
    4

    Re: Formula to find non blank cell

    Happy Dance......Happy Dance......

    Thank you to FlameRetired for taking time to help and sourabhg98 for the answer!!!!

    Plugged in the formula and it IS exactly what I need.....

  7. #7
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2404
    Posts
    13,406

    Re: Formula to find non blank cell

    Glad you found your solution. Thanks for the feedback.

+ 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. Formula to find last non-blank, numerical cell in a row
    By thebyrddog in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 11-07-2013, 02:40 PM
  2. Find blank cell, insert formula to find median of above cell range
    By lilyeye in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-05-2013, 11:58 AM
  3. [SOLVED] Find first non-blank cell after a group of blanks copy offset cells, find next blank, loop
    By gwsampso in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-21-2012, 06:11 AM
  4. [SOLVED] How Do I find/replace a blank cell with a formula?
    By Alvin in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-23-2006, 03:30 PM
  5. Find first cell with formula that returns blank
    By daveIrwin in forum Excel General
    Replies: 1
    Last Post: 02-04-2005, 12:56 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