Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Dear All, your help is appresiciated in advance.
I have a micro in sheet A which when activated copies 3 numbers from sheet A and inserts them into sheet B in A2:A4. Meanwhile I have an IF function in sheet A which checks the average of numbers A2:A16 in sheetB. Now my question is, when I insert 3 numbers in sheet B, the IF function in sheet A calcualtes the average of A5:A19 instead of the required average of A2:A16, i.e., I want to the average of A2:A16 always even if I insert any numbers in column A. Thank you. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Maybe something like:
=AVERAGE(INDIRECT('sheetb'!"a2:a16")) I'm not sure how the IF portion fits in. Con wrote: Dear All, your help is appresiciated in advance. I have a micro in sheet A which when activated copies 3 numbers from sheet A and inserts them into sheet B in A2:A4. Meanwhile I have an IF function in sheet A which checks the average of numbers A2:A16 in sheetB. Now my question is, when I insert 3 numbers in sheet B, the IF function in sheet A calcualtes the average of A5:A19 instead of the required average of A2:A16, i.e., I want to the average of A2:A16 always even if I insert any numbers in column A. Thank you. -- Dave Peterson |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thank you Dave. It worked.
Con |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
mixed formatting in same cell with VBA | Excel Discussion (Misc queries) | |||
Mixed 3D Charts | Charts and Charting in Excel | |||
Mixed Cell | Excel Worksheet Functions | |||
SORT MIXED DATA | Excel Worksheet Functions | |||
A mixed bag of questions | Excel Programming |