+ Reply to Thread
Results 1 to 3 of 3

Criteria in an AVERAGEIF function

  1. #1
    Registered User
    Join Date
    06-15-2021
    Location
    Netherlands
    MS-Off Ver
    16.49
    Posts
    2

    Criteria in an AVERAGEIF function

    Dear Forum,

    I want to use the AVERAGEIF function in order to take the average of a column. The criteria in the function is that only the values in the column should be taken if they are below a certain value. If this value is known I could simply write something like "<4.023". However, this value differs for every column. Therefore I want to refer to a cell in the criteria box. So lets say I calculated the 4.023 of the previous example in a different cell (A2). Now, when I want to put it in the criteria it does not work. I have tried the following in the criteria: "<"A2 "<A2" <A2 . Is it possible to state a criteria the says the value is lower than a selected cell? I really hope so otherwise I will have to manually input all the values in the formula bar which will take me a lot of time.

    Thank you in advance!

  2. #2
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,009

    Re: Criteria in an AVERAGEIF function

    "<"&a2 the & joins them together

  3. #3
    Registered User
    Join Date
    06-15-2021
    Location
    Netherlands
    MS-Off Ver
    16.49
    Posts
    2

    Re: Criteria in an AVERAGEIF function

    Thank you so much! That worked!

+ 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. [SOLVED] Using a Variable as a Criteria in the AVERAGEIF function
    By TheDudeDude in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-04-2021, 10:46 PM
  2. averageif with multiple criteria
    By Rob1970 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-28-2019, 10:23 PM
  3. [SOLVED] Averageif with multiple criteria
    By d7882 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-17-2019, 04:31 PM
  4. Replies: 10
    Last Post: 04-16-2016, 09:26 AM
  5. Averageif criteria
    By wpryan in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-03-2015, 07:11 AM
  6. AVERAGEIF function using reference as criteria range
    By AndySan in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-05-2013, 05:35 PM
  7. [SOLVED] Using a "ColorIndexOfRange" function as criteria in an "averageif" statement
    By ndrobinson in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-16-2012, 03:40 PM

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