Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default A mixed request

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default A mixed request

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default A mixed request

Thank you Dave. It worked.

Con

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
mixed formatting in same cell with VBA Horatio J. Bilge, Jr. Excel Discussion (Misc queries) 4 November 21st 07 08:47 PM
Mixed 3D Charts Mark Ivey Charts and Charting in Excel 1 October 5th 06 08:12 PM
Mixed Cell prbucci Excel Worksheet Functions 2 January 13th 06 03:04 AM
SORT MIXED DATA jem Excel Worksheet Functions 3 March 23rd 05 10:41 PM
A mixed bag of questions Chip Pearson Excel Programming 2 September 13th 03 05:45 PM


All times are GMT +1. The time now is 04:14 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"