+ Reply to Thread
Results 1 to 19 of 19

Product and Index functions

Hybrid View

ssword Product and Index functions 02-08-2011, 05:34 PM
NBVC Re: Need help with functions... 02-08-2011, 05:41 PM
ChemistB Re: Need help with functions... 02-08-2011, 05:50 PM
ssword Re: Need help with functions... 02-09-2011, 10:11 AM
NBVC Re: Need help with functions... 02-09-2011, 10:31 AM
ssword Re: Need help with functions... 02-09-2011, 10:40 AM
NBVC Re: Need help with functions... 02-09-2011, 10:43 AM
ssword Re: Need help with functions... 02-09-2011, 10:53 AM
NBVC Re: Need help with functions... 02-09-2011, 11:15 AM
ssword Re: Need help with functions... 02-09-2011, 12:28 PM
NBVC Re: Need help with functions... 02-09-2011, 12:31 PM
ChemistB Re: Need help with functions... 02-09-2011, 12:42 PM
ssword Re: Need help with functions... 02-09-2011, 12:45 PM
NBVC Re: Need help with functions... 02-09-2011, 12:47 PM
ssword Re: Need help with functions... 02-09-2011, 04:47 PM
NBVC Re: Product and Index... 02-09-2011, 05:07 PM
ChemistB Re: Product and Index... 02-09-2011, 05:17 PM
NBVC Re: Product and Index... 02-09-2011, 05:24 PM
ssword Re: Product and Index... 02-09-2011, 06:07 PM
  1. #1
    Registered User
    Join Date
    11-01-2010
    Location
    Missouri
    MS-Off Ver
    Excel 2007
    Posts
    35

    Re: Need help with functions (Product, Index, and more)

    I need it to do the following:
    1. Find the last date given in a month base on row 5 in sheet2
    2. Using the cell above's column find the average not ignoring zeros of rows 6-35

    The end result for jan should be 7%(H would be the column), for feb it should be 23.5(F would be the column).
    Last edited by ssword; 02-09-2011 at 11:00 AM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Need help with functions (Product, Index, and more)

    Since it is still about uncertain your actual requirement, I will go out on a limb and guess...

    Here attached, I have extracted all products that fall under the latest dates in the table for the specific months indicated.

    Firstly, I added a couple of helper rows above to get the last respective monthly dates, and the count of percentages over 0%

    Respective formulas in C2 and C3 are:
    =MAX(IF(TEXT(Sheet2!$F$5:$I$5,"mmmm")=C4,Sheet2!$F$5:$I$5))
    confirmed with CTRL+SHIFT+ENTER not just ENTER

    and

    =COUNTIF(INDEX(Sheet2!$F$6:$I$35,0,MATCH(C2,Sheet2!$F$5:$I$5,0)),">0")
    confirmed with just ENTER..

    Both formulas copied across the columns.

    Then to extract the products from Sheet2, in Sheet1, C5:

    =IF(ROWS($A$1:$A1)>C$3,"",INDEX(Sheet2!$B$6:$B$35,SMALL(IF(INDEX(Sheet2!$F$6:$I$35,0,MATCH(C$2,Sheet2!$F$5:$I$5,0))>0,ROW(Sheet2!$B$6:$B$35)-ROW(Sheet2!$B$6)+1),ROWS($A$1:$A1))))
    confirmed with CTRL+SHIFT+ENTER not just ENTER and copied over to next column(s) and down as far as you need to... you will see blanks after all items are extracted.

    Hope that is what you were after.
    Attached Files Attached Files
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

+ 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