+ Reply to Thread
Results 1 to 5 of 5

If (average A1:A10 - 10) = >0, show answer, if not, show blank... Without helper

  1. #1
    Forum Contributor
    Join Date
    08-22-2012
    Location
    Newcastle, England
    MS-Off Ver
    Excel 2003
    Posts
    129

    If (average A1:A10 - 10) = >0, show answer, if not, show blank... Without helper

    Hi, very simple one.

    Need the title pseudocode to work in a single cell. I can do it using a helper cell but would rather do it with 1 if at all possible.

    Thanks a bunch.

    Current way I'm doing it, just for your information:
    Hidden helper cell F73: =AVERAGE(A1:A10)-10
    Table cell F20: =IF(F73>0,F73,"")
    Last edited by ThomasCarter; 11-15-2012 at 08:14 AM.

  2. #2
    Forum Expert Jakobshavn's Avatar
    Join Date
    08-17-2012
    Location
    Lakehurst, NJ, USA
    MS-Off Ver
    Excel 2007
    Posts
    1,970

    Re: If (average A1:A10 - 10) = >0, show answer, if not, show blank... Without helper

    =if(average(a1:a10)-10>0,average(a1:a10)-10,"")
    Gary's Student

  3. #3
    Forum Contributor
    Join Date
    08-22-2012
    Location
    Newcastle, England
    MS-Off Ver
    Excel 2003
    Posts
    129

    Re: If (average A1:A10 - 10) = >0, show answer, if not, show blank... Without helper

    Hey Jakob,

    That does exactly what I asked for but I have just realised that's not what I want! Hah!

    I want it to ignore values under 10 but do the same thing as above. Example below...

    A1 = 9
    A2 = 11
    A3 = 4
    A4 = 13

    Average would be 2, as it's only doing (11+13)/2 -10

  4. #4
    Forum Expert Jakobshavn's Avatar
    Join Date
    08-17-2012
    Location
    Lakehurst, NJ, USA
    MS-Off Ver
    Excel 2007
    Posts
    1,970

    Re: If (average A1:A10 - 10) = >0, show answer, if not, show blank... Without helper

    To average of certain values:

    =AVERAGE(IF(A1:A4<10,A1:A4))

    This is an array formula. It must be entered with CNTRL-SHFT-ENTER rather than just the ENTER key.

  5. #5
    Forum Contributor
    Join Date
    08-22-2012
    Location
    Newcastle, England
    MS-Off Ver
    Excel 2003
    Posts
    129

    Re: If (average A1:A10 - 10) = >0, show answer, if not, show blank... Without helper

    =AVERAGE(IF(A1:A10>10,A1:A10))-10

    Did the job in the end. (Only addition to your wonderful advice was adding the -10)

    So is an array formula basically just a series of different forumlas that run step by step in the same cell?

    Thanks.
    Last edited by ThomasCarter; 11-15-2012 at 11:30 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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