+ Reply to Thread
Results 1 to 8 of 8

Count the number of filled rows in sheet 1 and display in sheet 2. Please help

  1. #1
    Registered User
    Join Date
    09-30-2014
    Location
    london
    MS-Off Ver
    10
    Posts
    33

    Count the number of filled rows in sheet 1 and display in sheet 2. Please help

    HI,

    Thanks for looking at my query. Its really urgent and please help me.
    I created a interactive userform. When you open the excel , it will automatically open the userform in which you can input the data which will store in the spreadsheet. I done with that and its working good.
    My trouble is, i would like to count the number of filled rows in sheet 1 and display the total number of filled rows in sheet 2. Please check my attachment . In attachment please check sheet 2 for more information.
    Please help me guys.

    Thanks
    Attached Files Attached Files

  2. #2
    Forum Expert Tinbendr's Avatar
    Join Date
    06-26-2012
    Location
    USA
    MS-Off Ver
    Office 2010
    Posts
    2,125

    Re: Count the number of filled rows in sheet 1 and display in sheet 2. Please help

    What determines a complete row? The color? Unfortunately, you can not determine, reliably, the color of a cell that uses conditional formatting to set the color. At least, from two different sources that I tried, the code provided did NOT correctly return ANY color value for any color cell.
    David
    (*) Reputation points appreciated.

  3. #3
    Registered User
    Join Date
    09-30-2014
    Location
    london
    MS-Off Ver
    10
    Posts
    33

    Re: Count the number of filled rows in sheet 1 and display in sheet 2. Please help

    Thanks for your reply.
    Say example,
    1. In my sheet 1, if i have 10 rows of both red colour cells and green colour cells, then i would like to get number 10 in sheet2(A1) and
    2. in my sheet 1, if i have 5 red colour cells then i should able to get number 5 in next coloum in sheet 2 (B1)

    Thanks

  4. #4
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Count the number of filled rows in sheet 1 and display in sheet 2. Please help

    Your sample is colored by conditional formatting and there's no condition set for green?

  5. #5
    Registered User
    Join Date
    09-30-2014
    Location
    london
    MS-Off Ver
    10
    Posts
    33

    Re: Count the number of filled rows in sheet 1 and display in sheet 2. Please help

    IF the result is OK then it will be green,
    If the result is REQUIRE ATTENTION then it will be red

  6. #6
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Count the number of filled rows in sheet 1 and display in sheet 2. Please help

    Does this help?

    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    09-30-2014
    Location
    london
    MS-Off Ver
    10
    Posts
    33

    Re: Count the number of filled rows in sheet 1 and display in sheet 2. Please help

    brilliant
    thanks a lot

  8. #8
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Count the number of filled rows in sheet 1 and display in sheet 2. Please help

    You're welcome. Glad to help out and thanks for the feedback. Please mark your thread as Solved: Either Click Thread Tools above your first post, select "Mark your thread as Solved" Or click the Edit button on your first post in the thread, Click Go Advanced, select [SOLVED] from the Prefix dropdown, then click Save Changes.

+ 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] Automatically change sheet number when first sheet is filled in.
    By Bikeman in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-29-2014, 04:36 PM
  2. [SOLVED] Need VBA code to count number of rows & split into group of 7 rows in same sheet
    By amy_d2 in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 06-05-2013, 11:03 AM
  3. Insert rows on sheet as rows on master sheet are filled in
    By mikejennings in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-20-2013, 03:01 PM
  4. [SOLVED] count rows and display the number in the Sheet's text?
    By AlienPump in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-30-2012, 03:42 AM
  5. Macro: Count rows in sheet A, copy count in sheet B, paste offset in sheet A
    By Agent:Orange in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-19-2011, 07:56 AM

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