Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Does anyone have any suggestions on how to use Indirect function?
For Example, there is a list of numbers under column A, a given number 20 in cell B1 and a formula sum(A81:A100)/20 in cell C1. If I change the number 20 into 30 in cell B1, then the formula will become sum(A71:A100)/30. If I change the number 20 into 40 in cell B1, then the formula will become sum(A61:A100)/40. Does anyone have any suggestions? Thanks in advance for any suggestions Eric |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
So you actually want the average?
One way: =AVERAGE(OFFSET(A1,99,,-B1)) -- Biff Microsoft Excel MVP "Eric" wrote in message ... Does anyone have any suggestions on how to use Indirect function? For Example, there is a list of numbers under column A, a given number 20 in cell B1 and a formula sum(A81:A100)/20 in cell C1. If I change the number 20 into 30 in cell B1, then the formula will become sum(A71:A100)/30. If I change the number 20 into 40 in cell B1, then the formula will become sum(A61:A100)/40. Does anyone have any suggestions? Thanks in advance for any suggestions Eric |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Thank everyone for suggestions
I would like to use Indirect structure instead of average. Do you have any suggestions? Thank you very much for any suggestions Eric "T. Valko" wrote: So you actually want the average? One way: =AVERAGE(OFFSET(A1,99,,-B1)) -- Biff Microsoft Excel MVP "Eric" wrote in message ... Does anyone have any suggestions on how to use Indirect function? For Example, there is a list of numbers under column A, a given number 20 in cell B1 and a formula sum(A81:A100)/20 in cell C1. If I change the number 20 into 30 in cell B1, then the formula will become sum(A71:A100)/30. If I change the number 20 into 40 in cell B1, then the formula will become sum(A61:A100)/40. Does anyone have any suggestions? Thanks in advance for any suggestions Eric |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Try this:
=SUM(INDIRECT("A"&101-B1):A100)/B1 -- Biff Microsoft Excel MVP "Eric" wrote in message ... Thank everyone for suggestions I would like to use Indirect structure instead of average. Do you have any suggestions? Thank you very much for any suggestions Eric "T. Valko" wrote: So you actually want the average? One way: =AVERAGE(OFFSET(A1,99,,-B1)) -- Biff Microsoft Excel MVP "Eric" wrote in message ... Does anyone have any suggestions on how to use Indirect function? For Example, there is a list of numbers under column A, a given number 20 in cell B1 and a formula sum(A81:A100)/20 in cell C1. If I change the number 20 into 30 in cell B1, then the formula will become sum(A71:A100)/30. If I change the number 20 into 40 in cell B1, then the formula will become sum(A61:A100)/40. Does anyone have any suggestions? Thanks in advance for any suggestions Eric |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Allow EXCEL INDIRECT(ADDRESS()) and INDIRECT(RANGE()) functions | Excel Worksheet Functions | |||
INDIRECT & VLOOKUP functions | Excel Worksheet Functions | |||
indirect.ext / pull functions | Excel Discussion (Misc queries) | |||
row-indirect functions | Excel Discussion (Misc queries) | |||
Offset and Indirect functions | Excel Discussion (Misc queries) |