I have a set of numbers (2,4,0) and (5,17,10). Column F outputs true if the subsequent numbers in column A belong to the same set of numbers. Column G returns numbers in column B if cells in F are true. Column Q counts the values in the G based on the numbers in P. Their percentages are calculated using the formulaFormula:Please Login or Register to view this content.
I want to calculate the percentage based on the set of numbers mentioned above. Therefore I need a formula that can count values in G on condition that cells in column F are TRUE and if numbers in column A are in same set. The expected output is in column S and T however these should output one at a time. So in my example, because 5 which the last number in column A that belongs to one set, I would like to see 50% and 50% only. if the last number in column A was 0, i would see just 33.33%,33.33% and33.33% only. I wouldn't want them in separate columns . This was asked in Mr.Excel but no response.
Thanks
Bookmarks