+ Reply to Thread
Results 1 to 8 of 8

AVERAGEIF and VLOOKUP Question

  1. #1
    Registered User
    Join Date
    02-01-2023
    Location
    London, England
    MS-Off Ver
    2016
    Posts
    10

    AVERAGEIF and VLOOKUP Question

    Hi, I was wondering what is wrong with my formulas for the following criteria/questions in the provided workbook. The first tab deals with a simple averageif question that I feel like I am overthinking. But the second tab (Vlookup), I am really confused on why my syntax is not working to produce a blank cell if the account doesnt exist.
    Attached Files Attached Files
    Last edited by JVT%^; 02-28-2023 at 09:47 PM.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,464

    Re: AVERAGEIF and VLOOKUP Question

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


    You have two sides of a comparison ... A<B. What do you get from each side of that comparison? And what happens when you compare them? Split the formula into two halves, put them in separate cells, and remove the IFERROR. What do you see? Is one less than the other?
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    Australia
    MS-Off Ver
    365 V2403 and WPS V2022
    Posts
    3,439

    Re: AVERAGEIF and VLOOKUP Question

    Pls try this formula

    Cell D8

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

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,464

    Re: AVERAGEIF and VLOOKUP Question

    With regard to the Average, you don't need AVERAGEIF, you can just use SUMIF:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    02-01-2023
    Location
    London, England
    MS-Off Ver
    2016
    Posts
    10

    Re: AVERAGEIF and VLOOKUP Question

    Oh! Thank you! It seems like I reversed the syntax. This helps a lot!

  6. #6
    Registered User
    Join Date
    02-01-2023
    Location
    London, England
    MS-Off Ver
    2016
    Posts
    10

    Re: AVERAGEIF and VLOOKUP Question

    Thank you. Both seem to provide the same answer but your reply helped!

  7. #7
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    Australia
    MS-Off Ver
    365 V2403 and WPS V2022
    Posts
    3,439

    Re: AVERAGEIF and VLOOKUP Question

    @JVT%^ You're Welcome. Glad to help . Thank You for the feedback.


    If you finally get a solution please mark your thread as SOLVED:
    - Click Thread Tools above your first post,you will see the word PREFIX on the upper left, press the button to select [SOLVED] select "Mark your thread as Solved".
    - you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help
    was given. By doing so you can add to the reputation(s) of those who helped.

  8. #8
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,464

    Re: AVERAGEIF and VLOOKUP Question

    You're 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. Averageif function question
    By Charles33 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 10-27-2021, 09:18 PM
  2. Count duplicates in two columns / Averageif question
    By chrisparfitt in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 07-05-2018, 09:56 AM
  3. AVERAGEIF formula question
    By tdlsaint in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 05-30-2017, 04:38 PM
  4. Basic AVERAGEIF/ whatever you suggest question
    By harriboclarke in forum Excel General
    Replies: 1
    Last Post: 11-08-2016, 05:45 PM
  5. Averageif Function Question
    By Peeekay in forum Excel General
    Replies: 1
    Last Post: 01-25-2012, 09:26 PM
  6. simple averageif question
    By tannerbabb in forum Excel General
    Replies: 4
    Last Post: 03-31-2011, 12:54 PM
  7. Criteria question - AverageIF (if you please)
    By djalexr in forum Excel General
    Replies: 3
    Last Post: 01-14-2011, 08:00 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