+ Reply to Thread
Results 1 to 5 of 5

Countif and sumif

  1. #1
    Forum Contributor
    Join Date
    03-11-2013
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    726

    Countif and sumif

    SIR

    I AM USING COUNT IF AND SUMIF BUT NOT EXECUTING WELL

    MY COUMN H HAS AMOUNT

    SO I AM USING THOSE LIKE

    COUNTIF(h:H,AND(">25000","<100000") FOR AMOUNT 25000 AND ABOVE BUT LESS THAN 1 LAC

    SIMILARLY SUMIF

    BUT NOT EXECUTING AS DESIRED

    KINDLY GUIDE

  2. #2
    Valued Forum Contributor Sean Thomas's Avatar
    Join Date
    03-25-2012
    Location
    HerneBay, Kent, UK
    MS-Off Ver
    Excel 2007,2016
    Posts
    971

    Re: Countif and sumif

    try using sumproduct
    Regards
    Sean

    Please add to my reputation if you think i helped
    (click on the star below the post)
    Mark threads as "Solved" if you have your answer
    (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code:
    [code] Your code here [code]
    Please supply a workbook containing example Data:
    It makes its easier to answer your problem & saves time!

  3. #3
    Forum Expert
    Join Date
    07-16-2010
    Location
    Northumberland, UK
    MS-Off Ver
    Excel 2007 (home), Excel 2010 (work)
    Posts
    3,054

    Re: Countif and sumif

    You'd need COUNTIFS and SUMIFS, which aren't in Excel 2003 (only Excel 2007 and onwards).

    For Excel 2003 try:

    =SUMPRODUCT(--(H1:H1000>25000),--(H1:H1000<100000))

    That will do a COUNTIF, a SUMIF would be:

    =SUMPRODUCT(H1:H1000,--(H1:H1000>25000),--(H1:H1000<100000))

    Adjust the range as required (don't use the whole column H:H, or it will be SLOW)

  4. #4
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  5. #5
    Forum Contributor
    Join Date
    03-11-2013
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    726

    Re: Countif and sumif

    Thank you...

+ 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. use of countif or sumif
    By Phillydave555 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-05-2013, 04:17 PM
  2. COUNTIF or SUMIF
    By erinvking in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-31-2012, 10:59 AM
  3. [SOLVED] SumIf, CountIf, ???
    By elevdown in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-27-2008, 07:56 AM
  4. CountIf / SumIf or other..
    By jfj3rd in forum Excel General
    Replies: 1
    Last Post: 04-19-2006, 07:08 PM
  5. [SOLVED] Countif/Sumif
    By Cain in forum Excel General
    Replies: 8
    Last Post: 02-14-2006, 11:45 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