+ Reply to Thread
Results 1 to 3 of 3

virtual numbers in average formula

  1. #1
    Registered User
    Join Date
    10-15-2013
    Location
    Riga, Latvia
    MS-Off Ver
    Excel 2007
    Posts
    2

    virtual numbers in average formula

    Hi,

    I can't find a solution to a following issue:

    I have a % of something every week, and it is known for 42 weeks.
    Week 1 = 90% ; 2 = 95% ; 3 = 92% ; 4 = 98% ; 5 = 100% ; (...) ; 42 = 95%.

    And the probability for the remaining 14 weeks is 100% every week.

    And I need to know the average for 56 weeks considering previously mentioned.

    In formula it could be =average(A1:A42,100% times 14 weeks)

    How can I write that "100% for 14 weeks"?

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: virtual numbers in average formula

    welcome to the forum, gachams. depends on how flexible you want it really. a simple one would be:
    =SUM(A1:A42,14)/56

    or something more flexible when you don't know how many values you got filled:
    =SUM(A1:A56,COUNTBLANK(A1:A56))/ROWS(A1:A56)

    if the 14 weeks are showing 0, replace COUNTBLANK with:
    =COUNTIF(A1:A56,0)

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Registered User
    Join Date
    10-15-2013
    Location
    Riga, Latvia
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: virtual numbers in average formula

    thanks a lot! that's what I needed! You're a genius!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] HELP needed with an average formula that takes into account numbers and text
    By halgraham in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 05-11-2013, 06:26 PM
  2. Average formula with positive and negative numbers
    By lovebeingtan in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-29-2012, 08:28 PM
  3. Replies: 2
    Last Post: 02-24-2011, 10:18 AM
  4. Replies: 4
    Last Post: 05-27-2009, 09:34 AM
  5. formula: average of kth largest numbers in an array of n numbers
    By Vasant Nanavati in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 09-06-2005, 09:05 AM

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