+ Reply to Thread
Results 1 to 5 of 5

Number lines when it is filled

  1. #1
    Forum Contributor G.Bregvadze's Avatar
    Join Date
    12-06-2012
    Location
    Georgia
    MS-Off Ver
    Excel 2010 - 2016
    Posts
    256

    Number lines when it is filled

    Hi,

    Recently I work on a project involving various formulas and functions in it.

    At this moment I am trying to add some option to my file and I will explain briefly.

    I intend to include formula which will number the cell in a line (row) when it is filled with some data.

    I guess it is connected with array formula and also may be COUNTIF function but could not figure out how to use it.

    I will upload a sample file which will show the idea.

    Sample file: Number the lines.xlsx


    Thank you in advances for help and support.

  2. #2
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: Number lines when it is filled

    Do you have only text, if so then use to generate the counting of numbers based on how many products are selected
    below in b3
    =IF(C3="","",COUNTA($C$3:C3))
    and drag down

    Or Below for Row Numbers
    =IF(C3<>"",ROW(),"")
    Last edited by hemesh; 05-08-2014 at 02:28 AM.
    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    WANT TO SAY THANKS, HIT ADD REPUTATION (*) AT THE BOTTOM LEFT CORNER OF THE POST

    More we learn about excel, more it shows us, how less we know about it.

    for chemistry
    https://www.youtube.com/c/chemistrybyshivaansh

  3. #3
    Forum Contributor
    Join Date
    10-07-2011
    Location
    India, Mumbai
    MS-Off Ver
    Excel 2007
    Posts
    212

    Re: Number lines when it is filled

    Hi,
    Per your requirement you should use below formula.
    =IF(C3<>"",ROW()-2,"")
    Regards,
    Suhas

  4. #4
    Forum Contributor G.Bregvadze's Avatar
    Join Date
    12-06-2012
    Location
    Georgia
    MS-Off Ver
    Excel 2010 - 2016
    Posts
    256

    Re: Number lines when it is filled

    Thank you all, sorry for late response, I had some work to do, but now I tested the formulas and works great.

    Thanks again for help.

  5. #5
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: Number lines when it is filled

    You are welcome and 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. Number lines disregarding blank lines
    By eloureiro in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 03-03-2013, 01:14 PM
  2. [SOLVED] if Row A contains text, SUM all filled in from row A, and show number of filled in in A150
    By jeroenheki in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-12-2012, 06:23 AM
  3. [SOLVED] Insert blank lines to make the total number of lines 67
    By raghuprabhu in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-29-2012, 07:34 AM
  4. Count number of filled cells between lines of highlighted rows
    By vzc8 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-25-2011, 01:38 PM
  5. Blank lines in array filled listbox
    By macquarl in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-08-2008, 12:42 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