B bharath Member Aug 11, 2014 #1 hi, i want get results orderly max 1, max 2 & max 3 values like sumifs results i attached file please help... thank you. Attachments large and small values.xlsx large and small values.xlsx 10.2 KB · Views: 6 Last edited by a moderator: Aug 12, 2014
hi, i want get results orderly max 1, max 2 & max 3 values like sumifs results i attached file please help... thank you.
Somendra Misra Excel Ninja Aug 11, 2014 #2 Hi Bharath, Try below array formula in H2 and copy down and across. =LARGE(IF($B$2:$B$22=$G2,$D$2:$D$22,0),COLUMNS($H2:H2)) Enter with Ctrl+Shift+Enter. Regards,
Hi Bharath, Try below array formula in H2 and copy down and across. =LARGE(IF($B$2:$B$22=$G2,$D$2:$D$22,0),COLUMNS($H2:H2)) Enter with Ctrl+Shift+Enter. Regards,
B bharath Member Aug 12, 2014 #5 It is not working with small formula ? I just replace 'large' with 'small'
N NARAYANK991 Excel Ninja Aug 12, 2014 #8 Hi Bharath , You need to replace the 0 with a very large number. See the file. Narayan Attachments large and small values.xlsx large and small values.xlsx 10.3 KB · Views: 3
Somendra Misra Excel Ninja Aug 12, 2014 #9 Another method: Just remove the ,0 from the formula. Regards,
B bharath Member Aug 12, 2014 #10 hi, why do we change to large number instead of zero there is no false i think, if false only false value will be selected, but there is no false in the table.
hi, why do we change to large number instead of zero there is no false i think, if false only false value will be selected, but there is no false in the table.
Somendra Misra Excel Ninja Aug 12, 2014 #11 When putting 0, Small is always 0. SMALL function discard FALSE, so remove ,0 from formula. Regards,
N NARAYANK991 Excel Ninja Aug 12, 2014 #12 Hi Bharath , The formula is creating an array of values where the branch is say Branch 1 ; out of all the branch IDs , only a few will satisfy this condition. Similarly , when you check for the branch equal to Branch 2 , there will be values which do not satisfy this condition. Narayan
Hi Bharath , The formula is creating an array of values where the branch is say Branch 1 ; out of all the branch IDs , only a few will satisfy this condition. Similarly , when you check for the branch equal to Branch 2 , there will be values which do not satisfy this condition. Narayan