+ Reply to Thread
Results 1 to 5 of 5

countif problem

  1. #1
    Registered User
    Join Date
    12-18-2009
    Location
    Lucknow,INDIA
    MS-Off Ver
    Excel 2017
    Posts
    50

    countif problem

    hi all
    countif in (column I ) give me no of times a room(column C) is been booked
    need to know for how many total days(col F ) the room is been occupied


    thanks

    file attached
    Attached Files Attached Files

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: countif problem

    Maybe this?
    =SUMIF($C$2:$C$13,H2,$F$2:$F$13)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: countif problem

    Are you looking for the formula to go into column J?
    It would have been helpful to see the expected results which can be entered manually.

    If you want the total number of days per room, try this in J2:

    =SUMIF(C:C,H2,F:F)

    Drag the formula down as far as needed.

    Also, your profile says that you are using Excel 2003 but your workbook is a .xlsx which comes from Excel 2007 or newer.
    Updating your profile with your current Excel version helps us tailor suggestions to your specific needs.

  4. #4
    Registered User
    Join Date
    12-18-2009
    Location
    Lucknow,INDIA
    MS-Off Ver
    Excel 2017
    Posts
    50

    Re: countif problem

    hi all
    sorry for late reply

    thanks to falcondude the problem is solved

    thanks

  5. #5
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: countif problem

    You're welcome. Glad we could help.

+ 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] countif problem
    By tselek1985 in forum Excel General
    Replies: 8
    Last Post: 02-24-2015, 11:11 AM
  2. Countif problem?
    By s_zabihi in forum Excel General
    Replies: 5
    Last Post: 12-04-2011, 03:00 PM
  3. Countif problem
    By buffalobill in forum Excel General
    Replies: 2
    Last Post: 05-27-2010, 08:46 AM
  4. Countif Value problem
    By James580 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-09-2008, 03:47 PM
  5. problem in my countif
    By censura in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-20-2007, 03:44 AM
  6. countif problem...
    By Scot B in forum Excel General
    Replies: 2
    Last Post: 12-08-2005, 08:10 PM
  7. [SOLVED] countif problem
    By WYN in forum Excel General
    Replies: 4
    Last Post: 04-25-2005, 12:06 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