+ Reply to Thread
Results 1 to 3 of 3

Averageif WILDCARD for website.com AND EXCLUDE website.com.xx

  1. #1
    Registered User
    Join Date
    05-02-2013
    Location
    QC
    MS-Off Ver
    Excel 2007
    Posts
    1

    Post Averageif WILDCARD for website.com AND EXCLUDE website.com.xx

    How do you do an averageif for pages with website.com BUT exclude all website.com.xx pages? I've tried using the formula
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    but to no avail.

    Help - Averageif.xlsx
    Last edited by Gerhard.Angeles; 04-13-2014 at 10:35 PM.

  2. #2
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2010
    Posts
    2,265

    Re: Averageif WILDCARD for website.com AND EXCLUDE website.com.xx

    Put in F2:

    =AVERAGE(IF(LEFT($A$2:$A$30,SEARCH("/",$A$2:$A$30,1)-1)=E2,$B$2:$B$30))

    Array Formula, you need to press CTRL-SHIFT-ENTER button together when implemented the formula...

    and copied down to F3...

    Cheers
    Attached Files Attached Files
    Last edited by azumi; 04-14-2014 at 04:26 AM.

  3. #3
    Forum Guru Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Averageif WILDCARD for website.com AND EXCLUDE website.com.xx

    Here's another possibility.

    This array formula** entered in F3 and copied down as needed:

    =AVERAGE(IF(LEFT(SUBSTITUTE(A$2:A$30,E2,""))="/",B$2:B$30))

    ** array formulas need to be entered using the key
    combination of CTRL,SHIFT,ENTER (not just ENTER).
    Hold down both the CTRL key and the SHIFT key
    then hit ENTER.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

+ 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. Thanks for this website!
    By mlogan in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 03-02-2013, 06:13 AM
  2. Opening website, getting data, closing website
    By beta_leonis in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-27-2012, 03:50 AM
  3. Problem when uploading to website
    By Drakath in forum Excel General
    Replies: 1
    Last Post: 07-26-2012, 11:25 AM
  4. HYPERLINK("website/"Cell.Text"website, A4)
    By keepstar in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-17-2010, 05:17 PM
  5. Website XLS
    By jerryjaysr in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-08-2008, 09:38 AM

Tags for this Thread

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