+ Reply to Thread
Results 1 to 6 of 6

COUNTIF Issue

  1. #1
    Registered User
    Join Date
    11-08-2013
    Location
    Bangalore
    MS-Off Ver
    Excel 2003
    Posts
    14

    COUNTIF Issue

    Hi Experts -

    Request your help on attached file.

    What I need is:

    1. In Sheet 1 , Column B (No of Branch Manger) and Column C (No of Sales Executives) need to be populated based on formula from sheet 2 (Column C & D respectively). Please note that reference of region in sheet 1 needs to be taken from column A in sheet 2. Blank cells should not counted as these are vacant positions.

    Right now , I have hard punched numbers in sheeet 1.

    I think I need to use COUNTIF with nested calculation function. I dont know how to use this

    Thanks in advance,

    Kalpan
    Attached Files Attached Files
    Last edited by [email protected]; 02-25-2016 at 02:39 AM.

  2. #2
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Excel Formula Help

    Use concise, accurate thread titles. Your post title should describe your problem, not your anticipated solution. (...)
    Last edited by sandy666; 02-26-2016 at 04:25 AM.

  3. #3
    Registered User
    Join Date
    11-08-2013
    Location
    Bangalore
    MS-Off Ver
    Excel 2003
    Posts
    14

    Re: Excel Formula Help

    Sir, Is it ok now?

  4. #4
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: COUNTIF Issue

    It is better then Excel Formula Help, I think

  5. #5
    Registered User
    Join Date
    11-08-2013
    Location
    Bangalore
    MS-Off Ver
    Excel 2003
    Posts
    14

    Re: COUNTIF Issue

    Need you help here, can you please look at this and let me know the solution?

    Kalpan

  6. #6
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,209

    Re: COUNTIF Issue

    Try

    B3

    =SUMPRODUCT((('2'!$C$4:$C$46<>" ")/COUNTIF('2'!$C$4:$C$46,'2'!$C$4:$C$46))*('2'!$A$4:$A$46='1'!$A3))

    and

    C3

    =SUMPRODUCT((('2'!$D$4:$D$46<>" ")/COUNTIF('2'!$D$4:$D$46,'2'!$D$4:$D$46))*('2'!$A$4:$A$46='1'!$A3))

    Empty cells must be blank (space)

+ 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. Replies: 0
    Last Post: 02-16-2016, 11:24 AM
  2. Replies: 10
    Last Post: 12-16-2015, 03:16 PM
  3. Replies: 2
    Last Post: 03-21-2014, 11:43 AM
  4. Macro: Applying formula to multiple cells in excel (formula editing)
    By city in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-27-2012, 06:41 AM
  5. Replies: 0
    Last Post: 03-19-2012, 07:32 PM
  6. Replies: 1
    Last Post: 03-04-2012, 12:03 AM
  7. [SOLVED] Excel 2002 formula displayed not value formula option not checked
    By Dean in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-28-2006, 10: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