+ Reply to Thread
Results 1 to 6 of 6

Can't make AverageIF ignore empty cells

  1. #1
    Registered User
    Join Date
    11-05-2013
    Location
    Vilnius, Lithuania
    MS-Off Ver
    Excel 2013
    Posts
    63

    Question Can't make AverageIF ignore empty cells

    averageif problem.xlsxHello everyone, I am having quite a big problem, I trying to make composite market prices, but I'm having problems with it, here is the spreadsheet, the formula is at the VH column, anyone has any ideas on how to fix it?

  2. #2
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: Can't make AverageIF ignore empty cells

    AverageIf doesn't work on non -contiguous ranges, so maybe this instead:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    or
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    both of these return 3.48552381 as the result

    While this:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    returns 7.3196

    not sure which is correct for your problem, so I offered both

    Hope this helps
    A picture may be worth a thousand words, BUT, a sample Workbook is worth a thousand screenshots!
    -Add a File - click advanced (next to quick post), scroll to manage attachments, click, select add files, click select files, select file, click upload, when file shows up at bottom left, click done (bottom right), click submit
    -To mark thread Solved- go top of thread,click Thread Tools,click Mark as Solved
    If you received helpful response, please remember to hit the * of that post

  3. #3
    Registered User
    Join Date
    11-05-2013
    Location
    Vilnius, Lithuania
    MS-Off Ver
    Excel 2013
    Posts
    63

    Re: Can't make AverageIF ignore empty cells

    The second one seems to be the correct one, by the way, is using the formula for the other rows/columns gonna make it work the same? As I can see, I should change the phrase "Average Price" to the other cell phrases, to make it do the needed calculations or am I wrong?
    p.s. thank you!

  4. #4
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: Can't make AverageIF ignore empty cells

    no you are correct, but to make it easier, you could do it this way:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    then it will use the column header of the column you are in for the criteria

    Then just drag down and across

    Hope this helps

    EDIT-
    1 more change, as I only took it to the last Average Price column, you need to adjust the following as well:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Last edited by dredwolf; 11-15-2013 at 11:52 PM.

  5. #5
    Registered User
    Join Date
    11-05-2013
    Location
    Vilnius, Lithuania
    MS-Off Ver
    Excel 2013
    Posts
    63

    Re: Can't make AverageIF ignore empty cells

    I tried simply entering another phrase also worked, thank you, saved me lots of time! +rep for you!

  6. #6
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: Can't make AverageIF ignore empty cells

    Thank You !
    (Also check Post 4 edit..you may be missing a few values if you don't change accordingly )

    And you are very welcome!

+ 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. Excel 2007 : Ignore empty cells? How?
    By PA0l0 in forum Excel General
    Replies: 3
    Last Post: 06-02-2011, 07:29 PM
  2. How to ignore empty cells in multiplication
    By bbheli in forum Outlook Formatting & Functions
    Replies: 1
    Last Post: 01-30-2011, 10:46 AM
  3. How to get a formula to ignore empty cells
    By scudder12 in forum Excel General
    Replies: 1
    Last Post: 10-02-2010, 06:18 PM
  4. Can a formula ignore empty cells?
    By Melissa in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-31-2006, 01:30 PM
  5. Make it ignore empty fields
    By Trintrin in forum Excel General
    Replies: 1
    Last Post: 03-24-2006, 03:17 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