database - How to get data fulfilling two conditions in excel? -


i working on excel data sheet exampled below.my aim cell value fulfills 2 conditions.

.........a............b...............c................d

======= ======= ======= =======

1.......id......sales......response

2...... n01.... 122....... positive

3...... n02.... 151....... positive

4...... n03.... 123....... negative

5...... n04.... 124....... positive

6...... n05.... 154....... negative

7...... n06.... 162....... negative

8...... n07.... 124....... positive

9...... n08.... 108....... positive

10.....n09.... 137........ negative

11.....n10.... 109........ negative

now want maximum sales value response positive. here first condition i want maximum sales value , second the response positive. want such record using formulas only.so please if know.

try:

=max(if(c2:c11="positive",b2:b11)) 

this array formula commit pressing ctrl+shift+enter.

see image reference:

enter image description here


Comments

Popular posts from this blog

sequelize.js - Sequelize group by with association includes id -

delphi - Take screenshot in webcam using VFrames in Console Application -

extjs - Set tooltip on click event on the grid cell -