hello everyone,
i'm trying to identify the 1st / 2nd / 3rd occurence etc of values greater than zero in a row.
basically, my data is @ a2:l2 <0/0/0/0/31/23/45/78/0/0/0/0> this sales data corresponds to each month of the year
& is for a particular firm <FIRM 1>, and i have several firms
.</P>
i'd like to be able to compare the firm with the monthly sales & return cell values of 1,2,3,4 for 31/23/45/78 respectively <CORRESPONDING year that of aug july june may to>. this is because, 31 is the 1st occurence of a sales figure greater than zero, 23 - 2nd, so on and so forth....
i've created lists for the firms & months and would like to place this 'occurence' column next to it. therefore, were I to select firm 1 & month of july, the corresponding value should appear as '3'.
not really sure how to use the index/match/small/vlookup functions in tandem <if at all>
can someone please help? thanks a lot, in advance!
i'm trying to identify the 1st / 2nd / 3rd occurence etc of values greater than zero in a row.
basically, my data is @ a2:l2 <0/0/0/0/31/23/45/78/0/0/0/0> this sales data corresponds to each month of the year
& is for a particular firm <FIRM 1>, and i have several firms
.</P>
i'd like to be able to compare the firm with the monthly sales & return cell values of 1,2,3,4 for 31/23/45/78 respectively <CORRESPONDING year that of aug july june may to>. this is because, 31 is the 1st occurence of a sales figure greater than zero, 23 - 2nd, so on and so forth....
i've created lists for the firms & months and would like to place this 'occurence' column next to it. therefore, were I to select firm 1 & month of july, the corresponding value should appear as '3'.
not really sure how to use the index/match/small/vlookup functions in tandem <if at all>
can someone please help? thanks a lot, in advance!