+ Reply to Thread
Results 1 to 3 of 3

calculate what my running percentage is concerning the days when i have made

  1. #1
    Registered User
    Join Date
    08-09-2008
    Location
    uk
    Posts
    1

    calculate what my running percentage is concerning the days when i have made

    Hiy
    Could you help me at all please?

    I have a long column full of 'y's or 0s , either a Y in it for yes I made sales that day or a zero in it if i havent.

    could excel perhaps calculate in a cell what my running percentage is concerning the days when i have made sales ie the number of Ys in the column compared to the total days?

    Thanks if you can help in any way.

  2. #2
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326
    Hi and welcome to the board

    Try
    =average(if(a1:a100="y",a1=a100,false))
    Adapt the range to your needs

    And most important, enter this formula as an array formula with Ctrl+Shift+Enter

    Cheers

  3. #3
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    Perhaps =AVERAGE(IF(A1:A100="y", 1, 0)) (also an array formula)

    Or, (probably faster), =COUNTIF(A1:A100, "y") / ROWS(A1:A100) (regular formula)

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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