LikeOffice    Excel Help

EXCEL Utility
Customized Ribbon

- Compare worksheets
- Database analysis
- Stock to your Excel
- Password recovery
- and more...


Excel Formula
List of Excel
Formula examples

 
Excel Question
Ask us an Excel Question


 

Sumproduct Lookup Sumif Countif Unique Percentile

 

1. Hlookup based on one condition    
2. Returning the most Common text In A Range    
3. Returning a Reference to a Value - 1 area    
4. Returning a Reference to a Value - 2 areas    
5. VLookup with multiple conditions…    
6. Getting row of cell with maximum value    
7. Getting row that meet 2 or more conditions    
8. Vlookup based on one condition    
9. Vlookup based on one condition; dynamic column    
10. Vlookup based on two concatenated conditions    
11. Using INDEX and MATCH Against Multiple Criteria    
12. Using INDEX and MATCH Against Multiple Criteria (&)    
13. Return text value found most frequently in a column    





1. Hlookup based on one condition

Hlookup based on one condition.


Formula:

=HLOOKUP(E12,$A$1:$H$10,7,0)

E12 = Agent

Answer = David

Top


2. Returning the most Common text In A Range

Returning the most Common text In A Range.


Array Formula:

{=INDEX(RNG_A,MATCH(MAX(COUNTIF(RNG_A,RNG_A)),COUNTIF(RNG_A,RNG_A)))}



Answer = 313

Top


3. Returning a Reference to a Value - 1 area

Returning a Reference to a Value - 1 area.


Formula:

=INDEX($A$2:$B$10, 2, 2)



Answer = 44

Top


4. Returning a Reference to a Value - 2 areas

Returning a Reference to a Value - 2 areas.


Formula:

=INDEX(($A$2:$B$10,$E$5:$H$8),2, 3,2)



Answer = 5

Top


5. VLookup with multiple conditions…

VLookup with multiple conditions….


Array Formula:

{=INDEX(RNG_A,MATCH(E12&F12,RNG_C&RNG_D,0))}

E12 = Pepsi
F12 = David

Answer = 316

Top


6. Getting row of cell with maximum value

Getting row of cell with maximum value.
Getting row of cell with maximum value.
This first picks the maximum value in col. H, so you can't have anything else in col. H besides your list of values you want to check at least nothing that would be a greater number than any of those values.
The MATCH function returns the relative position in col H of the maximum number, and that relative position is simply the row number.

Formula:

=MATCH(MAX(RNG_H),RNG_H,0)



Answer = 6

Top


7. Getting row that meet 2 or more conditions

Getting row that meet 2 or more conditions.
Getting row that meet 2 or more conditions.
This MATCH formula, as an ARRAY (CTRL-SHIFT-ENTER), return the row number once meet the following conditions:
It has 'a' in col. E and '11' in col. F
You can use concatenate (&) to add more conditions.

Array Formula:

{=MATCH(E12&F12,RNG_E&RNG_F,0)}

E12 = a
F12 = 11

Answer = 4

Top


8. Vlookup based on one condition

Vlookup based on one condition.
In this formula RNG defines as A2:H10

Formula:

=VLOOKUP(E12,RNG,3,0)

E12 = 316

Answer = Pepsi

Top


9. Vlookup based on one condition; dynamic column

Vlookup based on one condition; dynamic column.
In this formula RNG defines as A2:H10

Formula:

=VLOOKUP(E12,RNG,COLUMN(),0)

E12 = 316

Answer = David

Top


10. Vlookup based on two concatenated conditions

Vlookup based on two concatenated conditions.
In this formula RNG defines as A2:H10

Formula:

=VLOOKUP(VALUE(E12&F12),RNG,3,0)

E12 = 31
F12 = 3

Answer = Tempo

Top


11. Using INDEX and MATCH Against Multiple Criteria

Using INDEX and MATCH Against Multiple Criteria.


Array Formula:

{=INDEX(RNG_C,MATCH(E12,IF(RNG_B=F12,RNG_A),0))}

E12 = 316
F12 = 2

Answer = Pepsi

Top


12. Using INDEX and MATCH Against Multiple Criteria (&)

Using INDEX and MATCH Against Multiple Criteria (&).


Array Formula:

{=INDEX(RNG_C,MATCH(E12&F12,RNG_A&RNG_B,0))}

E12 = 316
F12 = 2

Answer = Pepsi

Top


13. Return text value found most frequently in a column

Return text value found most frequently in a column.
The MODE function, one of Excel's statistical functions, tells you the most frequently occurring value in a list of numbers.
The syntax for the MODE function is:
= MODE ( number1, number2, ... number255 ).

Array Formula:

{=INDEX(RNG_C,MODE(IF(RNG_C<>"",MATCH(RNG_C,RNG_C,0))))}



Answer = Cola2

Top

 




Microsoft® and Microsoft Excel® are registered trademarks of Microsoft Corporation.
©2003-2011 LikeOffice -
Privacy Policy - Contact us

[Top]