+ Reply to Thread
Results 1 to 18 of 18

count number and blanks and auto filter

  1. #1
    Forum Contributor
    Join Date
    04-19-2015
    Location
    pakistan
    MS-Off Ver
    2013
    Posts
    335

    count number and blanks and auto filter

    hi all

    this is only sample data..

    in attached list i want that in column G and E total count of numbers and total blanks of each against name and when i click on one blank like H2 it shows all blanks of Ahsan zia auto and similar when i click on number (G2) that show all numbers and similarly for all..

    Gondal
    Attached Files Attached Files

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

    Re: count number and blanks and auto filter

    Please re-post your file with some expected outcomes filled in manually. What do you want in the totals column? A count or a sum?
    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. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,492

    Re: count number and blanks and auto filter

    Perhaps this in H2 copied down:

    =COUNTIFS($B$2:$B$1001,F2,$C$2:$C$1001,"")

    and this in G2 copied down:

    =COUNTIFS($B$2:$B$1001,F2,$C$2:$C$1001,"<>")

  4. #4
    Forum Contributor
    Join Date
    04-19-2015
    Location
    pakistan
    MS-Off Ver
    2013
    Posts
    335

    Re: count number and blanks and auto filter

    PFA for your reference but most important that auto filter for me..like clike on cell H2 all blanks of Ahsan zia (F2) show and ssme for G2.
    Attached Files Attached Files

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,492

    Re: count number and blanks and auto filter

    Please explain the numbers in column G - how have you calculated them?

    As I stated above, this is the formula for column H:

    =COUNTIFS($B$2:$B$1001,F2,$C$2:$C$1001,"")

  6. #6
    Forum Contributor
    Join Date
    04-19-2015
    Location
    pakistan
    MS-Off Ver
    2013
    Posts
    335

    Re: count number and blanks and auto filter

    these are count which exist in column C except blanks, result of column H is ccorrect,

  7. #7
    Forum Contributor
    Join Date
    04-19-2015
    Location
    pakistan
    MS-Off Ver
    2013
    Posts
    335

    Re: count number and blanks and auto filter

    make filter in column B and check on ahsan zia than make filter in column C and unchecked blanks total count will be 153..and result i need like this

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,492

    Re: count number and blanks and auto filter

    Try this in G:

    =COUNTIFS($B$2:$B$1001,F2,$C$2:$C$1001,">0")

  9. #9
    Forum Contributor
    Join Date
    04-19-2015
    Location
    pakistan
    MS-Off Ver
    2013
    Posts
    335

    Re: count number and blanks and auto filter

    thanks ali, its seems good now but also need to count total blanks (blank in B)in column B and c and auto filter,,??can you make for me
    Last edited by gondal; 08-05-2016 at 05:34 AM.

  10. #10
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,492

    Re: count number and blanks and auto filter

    Just create your summary table above the main table so that it remains visible when you apply filters to the cells below. Insert enough rows above to accommodate it, then move it there. You could also freeze the cells above the main table. I am sure that you can manage this yourself!
    Last edited by AliGW; 08-05-2016 at 05:42 AM.

  11. #11
    Forum Contributor
    Join Date
    04-19-2015
    Location
    pakistan
    MS-Off Ver
    2013
    Posts
    335

    Re: count number and blanks and auto filter

    may you are right Ali but after making summery i have to sent this summery to all person which are showing in F..i will shift the table in sheet 2,auto filter necessary for me..if possible to make

  12. #12
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,492

    Re: count number and blanks and auto filter

    Quote Originally Posted by gondal View Post
    may you are right Ali but after making summery i have to sent this summery to all person which are showing in F..i will shift the table in sheet 2,auto filter necessary for me..if possible to make
    I don't understand what you are now saying - sorry. Can you illustrate what you mean?

  13. #13
    Forum Contributor
    Join Date
    04-19-2015
    Location
    pakistan
    MS-Off Ver
    2013
    Posts
    335

    Re: count number and blanks and auto filter

    dear ali

    there is 163 number (count) are there in column C but there is no data in column B. need also adjust in formula in cell G13 as 163..

  14. #14
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,492

    Re: count number and blanks and auto filter

    No, I'm sorry - I am completely lost. Attach another worksheet with the layout exactly as you want it and some expected results populated so that we can see what you mean.

  15. #15
    Forum Contributor
    Join Date
    04-19-2015
    Location
    pakistan
    MS-Off Ver
    2013
    Posts
    335

    Re: count number and blanks and auto filter

    please yellow highlighted figure in attached
    Attached Files Attached Files

  16. #16
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,492

    Re: count number and blanks and auto filter

    This isn't really too hard:

    =COUNTIF($B$2:$B$1001,"")

    May I suggest that you do a bit of reading up in the Help file on the COUNTIF and COUNTIFS functions?

  17. #17
    Forum Contributor
    Join Date
    04-19-2015
    Location
    pakistan
    MS-Off Ver
    2013
    Posts
    335

    Re: count number and blanks and auto filter

    thanks ali..thnx for helping me..definitely i will get idea of as you suggested

  18. #18
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,492

    Re: count number and blanks and auto filter

    Glad to help. You will learn more now by trying to adapt what you have been given rather than asking us to do it for you for each new scenario.

    Please mark the thread as solved.

+ 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] LOOKUP A VALUE IN A ROW and COUNT Number of BLANKS Below it till NEXT Value
    By learnall18 in forum Excel Formulas & Functions
    Replies: 23
    Last Post: 05-18-2016, 08:42 AM
  2. Replies: 2
    Last Post: 12-04-2014, 06:25 AM
  3. Replies: 2
    Last Post: 12-04-2014, 06:22 AM
  4. [SOLVED] Count number of blanks across several columns
    By shepherdc2814 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 11-19-2013, 05:26 PM
  5. count number of Simultaneous blanks
    By rinks_84 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-12-2012, 05:35 PM
  6. Count the total number of rows in a column, with blanks included
    By jblumGRT in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-22-2009, 06:55 PM
  7. [SOLVED] auto filter row count not working
    By leo in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-04-2006, 02: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