Sie sind auf Seite 1von 2

EXCEL TIPS

Functions
Name Description Syntax and Example
ROMAN Convert to roman
numbers
ROMAN(number)
ROMAN(45) = XLV
CONVERT CONVERT(number,from_unit,to_unit)
convert(101, m, yd) = 110

MVLOOKUP
We all gripe about how VLOOKUP returns only first match. We want to get all the matching results.
But how?!?
Thankfully, there is a formula called MVLOOKUP that Microsoft did not want you to find. So they
hid it deep inside Excel. But just like everything else, we can unlock the MVLOOKUP formula too.
Follow this simple procedure:
1. In the cell where you want MVLOOKUP formula, just type =M V L O O K U P(value you
are looking for, table of data, column number, false) and press CTRL+SHIFT+Enter.
2. Note1: You must include spaces between each letter in the MVLOOKUP.
3. Note2: You must use the CTRL and SHIFT keys located on the left side of keyboard only.
4. Note3: This works in Excel 2007 and Windows machines only.
5. When you press CTRL+SHIFT+Enter, you will see that excel has returned an array of
values corresponding the value you are looking for.

VLOOKUP vs INDEX
If there is a promotional price, he wants VLOOKUP to return the value from the Promo
Price column.
If there is no promotional price, Glen wants the price from the Regular Price column.
To do that, Glen could use the IF function, with VLOOKUP:
=IF(VLOOKUP(F3,$B$3:$D$6,2,0)=0,
VLOOKUP(F3,$B$3:$D$6,3,0),
VLOOKUP(F3,$B$3:$D$6,2,0))

Another option is to use the MATCH function to find the row that the product is in. This formula is
in cell H3: =MATCH(F3,$B$3:$B$6,0)
Then, in cell G3, use the CHOOSE function and the INDEX function, to get the right price:
=INDEX(CHOOSE((INDEX($C$3:$C$6,H3)>0)+1, $D$3:$D$6,$C$3:$C$6),H3)

First, the INDEX function returns the price from the promo column, for the selected product, and
we check to see if the price is greater than zero:
INDEX($C$3:$C$6,H3)>0
If there is NO promo price, the result is FALSE (0)
If there is a promo price, the result is TRUE (1)
We add 1 to the result, so
FALSE=1
TRUE=2.
Next, the CHOOSE function returns a reference to the selected range.
FALSE (1) = $D$3:$D$6
TRUE (2) = $C$3:$C$6
Finally, the first INDEX function returns a price from the selected column, in the row for the
selected product.

If a list has duplicate items or not using an array formula
={TF{hAX{C0bhTTF{A$1.A$9,A1.A9))>1,"1s1 1s ho1 uh1que","1s 1 1s
uh1que")}

Conditional formatting to search a worksheet full of data and highlight the matching cells
First identify which cell you want to use as search bar. Lets say we choose F4.
Now, Select the data cells you want to search and go to conditional formatting.
The formula looks like,
=Ah0{$F$4<>"",TSERR0R{FTh0{L0WER{$F$4),L0WER{B7)))=FALSE)
Finally set the formatting you want to use.

Next Working day for a Project Plan
If B2 = Start Date, C2 = # of days to add, then
=WORKDAY(B2,C2,HolidayList)
will give you the next working date from the start date

Das könnte Ihnen auch gefallen