+ Reply to Thread
Results 1 to 6 of 6

Conditional 'Countifs' for merged cells..??

  1. #1
    Registered User
    Join Date
    03-12-2014
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    53

    Question Conditional 'Countifs' for merged cells..??

    Hello,

    I have to create some data sheet in which one column has merged cells.

    I wanna use "countifs" function to extract data.

    Data has two attributes - 1) Plan and 2) Status

    For any merged cell, if Plan date is mentioned and status is not "Done", it should count that cell.

    Please refer attached file for clarification.

    Thank you...!!

    Conditional.xlsx

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

    Re: Conditional 'Countifs' for merged cells..??

    Put this formula in cell q3 and drag down
    =COUNTIFS($A$1:$A$11,P3,$C$1:$C$11,">"&0,$C$2:$C$12,"")

    In BA you have given expected result is 1 i thing that should be two.

    Regards,
    Suhas

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

    Re: Conditional 'Countifs' for merged cells..??

    Put this formula in cell q3 and drag down
    =COUNTIFS($A$1:$A$11,P3,$C$1:$C$11,">"&0,$C$2:$C$12,"")

    In BA you have given expected result is 1 i thing that should be two.

    Regards,
    Suhas

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

    Re: Conditional 'Countifs' for merged cells..??

    Put this formula in cell q3 and drag down
    =COUNTIFS($A$1:$A$11,P3,$C$1:$C$11,">"&0,$C$2:$C$12,"")

    In BA you have given expected result is 1 i thing that should be two as you mentioned date is there and next cell blank.

    Regards,
    Suhas

  5. #5
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,941

    Re: Conditional 'Countifs' for merged cells..??

    Q3=COUNTIFS($A$2:$A$10,$P3,$B$3:$B$11,"Status",$C$3:$C$11,"<>Done")
    Try this and copy towards down

    Change the Range as per your requirement
    Please keep in mind that the range is not same for Column A and Column B
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  6. #6
    Registered User
    Join Date
    03-12-2014
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    53

    Re: Conditional 'Countifs' for merged cells..??

    Thank u all. Both the solutions worked for me.

    Yes Mr Suhas, Ii should be "2" only. Its a mistake.

+ 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. Conditional formation with merged cells
    By graiggoriz in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-17-2014, 08:38 AM
  2. Conditional formatting in merged cells
    By davehow87 in forum Excel General
    Replies: 1
    Last Post: 08-11-2014, 04:56 AM
  3. Conditional Formatting of Merged Cells
    By ClubCrackerz in forum Excel General
    Replies: 0
    Last Post: 06-14-2012, 03:58 PM
  4. Conditional Sum with Merged Cells
    By laaview in forum Excel General
    Replies: 3
    Last Post: 06-29-2009, 12:16 AM
  5. Conditional format in merged cells.
    By MMAC in forum Excel General
    Replies: 1
    Last Post: 03-06-2006, 07:35 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