![]() |
|
#1
|
||||
|
||||
![]()
maybe:
Code:
=AVERAGE(IF(CHOOSE({1,2,3,4,5},B26,B54,B82,B110,B138)<>0,CHOOSE({1,2,3,4,5},B26,B54,B82,B110,B138))) Code:
=AVERAGE(IF(INDEX(B:B,{26,54,82,110,138})<>0,INDEX(B:B,{26,54,82,110,138}))) or shorter: Code:
=LET(a,CHOOSE({1,2,3,4,5},B26,B54,B82,B110,B138),AVERAGE(IF(a<>0,a))) edit: forget the LET formula, you're using Excel 2010. |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
alnonymous | Word | 1 | 08-09-2022 07:46 PM |
Average on conditional formatted cells | nadavmaroko | Excel | 4 | 02-10-2019 04:13 AM |
![]() |
Kubi | Excel | 2 | 08-06-2017 08:54 PM |
average formal if cell contains number and text | Michael Labuschagne | Excel | 2 | 12-08-2016 06:35 AM |
![]() |
rosalind2 | Excel | 2 | 05-16-2014 06:16 AM |