+ Reply to Thread
Results 1 to 5 of 5

Average CountIF or SumIF between unknown ranges?

  1. #1
    Registered User
    Join Date
    11-05-2004
    Location
    Palm Springs California
    MS-Off Ver
    Office 2011 for Mac
    Posts
    37

    Average CountIF or SumIF between unknown ranges?

    I have produced a stock spreadsheet that detects resistance tops and support bottoms. This produces a column of prices that are either the closing price or zero if the price is not at a high or low.

    I need to CountIf or SumIf all cells containing the volume, between any two price values that are not zero. I need to ultimately produce the average volume between the two whole numbers.

    Any suggestion would be greatly appreciated.

    The flag displaying closing price or zero is in column CS
    Volume is in column CF

    Thanks Michael

  2. #2
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: Average CountIF or SumIF between unknown ranges?

    Maybe you should attach a sample file regarding your issues.
    Thanks.
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

  3. #3
    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,929

    Re: Average CountIF or SumIF between unknown ranges?

    This is 1 of the reasons we ask for the excel version you are using. If you have 2007 or later, you should take a look at the sumifS() and countifS() functions. If you have an earlier version, these are not available, and you need another approach
    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

  4. #4
    Registered User
    Join Date
    11-05-2004
    Location
    Palm Springs California
    MS-Off Ver
    Office 2011 for Mac
    Posts
    37

    Re: Average CountIF or SumIF between unknown ranges?

    Hi FDibbins: Thanks for the assistance. I am on a Mac running Maverick OSX. I am utilizing Office 2011 for the Mac.

    I have looked at both of these functions and they seem to both requires a range being identified as part of the criteria. I need to figure out how to trigger that range based upon the fields containing a zero or a number > than zero.


    I posted a copy of this spread sheet last night. I do not see it as available currently. If it needs to be reposted please let me know.

    Thanks,

    Michael

  5. #5
    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,929

    Re: Average CountIF or SumIF between unknown ranges?

    Hi FDibbins: Thanks for the assistance. I am on a Mac running Maverick OSX. I am utilizing Office 2011 for the Mac.
    Thanks for the info, but you need to add that to your profile

    I posted a copy of this spread sheet last night. I do not see it as available currently. If it needs to be reposted please let me know.
    Nope sorry, looks like it did not come through

+ 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. Set Ranges Throwing Unknown Error
    By Mordred in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-28-2011, 08:41 AM
  2. Formatting unknown ranges based on contents of a column
    By justforthis1 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 07-06-2009, 01:36 PM
  3. Excluding Zero's from Average (SumIF / CountIF)
    By Alex in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-28-2006, 02:30 PM
  4. [SOLVED] Average of Unknown Range
    By Mike in forum Excel General
    Replies: 9
    Last Post: 03-24-2006, 11:40 AM
  5. Average using SUMIF/COUNTIF help...
    By scoobz in forum Excel General
    Replies: 1
    Last Post: 02-08-2005, 10:15 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