Which excel function should i use




















For example, accounts receivable might know how much each product costs, but the shipping department can only provide units shipped. In the image below we use reference data A2 combined with the pricing table to have excel looking up matching criteria in the first column and returning an adjacent value.

This is particularly useful for looking for anomalies or unique identifiers. In the example above, the cell is blank so that data consumers can easily pick out which rows returned a matching value. In the example above the product name is used to determine which product was the best seller. In the example, RANK is being used to determine which clients order the most product. In the example below, we calculate the average selling price of all our products by using sumproduct to times Price by Quantity and then divide by the total volume sold.

We hope you found that useful. In the screen below, "data" is the named range C5:C13, used in all formulas. Video: How to find the nth smallest or largest value. These functions let you find minimum and maximum values with conditions:. The MODE function returns the most commonly occurring number in a range:. To rank values largest to smallest, or smallest to largest, use the RANK function :. To change negative values to positive use the ABS function.

RAND creates long decimal numbers between zero and 1. To discard the decimal part of a number altogether, use the INT function.

The MOD function returns the remainder after division. This sounds boring and geeky, but MOD turns up in all kinds of formulas, especially formulas that need to do something "every nth time". In the screen below, you can see how MOD returns zero every third number when the divisor is Normally, the error in cell B9 would prevent these functions from returning a result.

The LEN function will return the length of a text string. LEN shows up in a lot of formulas that count words or characters. To figure out the numeric code for a character, use the CODE function. To translate the numeric code back to a character, use the CHAR function. To get rid of extra space in text, use the TRIM function. Video: How to change case with formulas. Last but definitely not least is the TEXT function.

The text function lets you apply number formatting to numbers including dates, times, etc. This is especially useful when you need to embed a formatted number in a message, like "Sale ends on [date]". Dynamic arrays are new in Excel , and are a major upgrade to Excel's formula engine. These functions are very simple, just type in the column or row of numbers you want to search, following the function, and it will output the MAX or MIN depending on the function you use.

This is another logical function in Excel, and it will check if certain things are true or false. You can have it check more values than two as well, simply add them on with another comma. PROPER is useful when your database has a lot of oddly formatted text that looks jumbled, for example, with capitalizations in the wrong place. This isn't technically a formula, but it is an incredibly useful tool that is built right into Excel.

You can do a lot of this with the formulas mentioned here, but why not let Excel do the hard work. Want to go even deeper? Don't miss our Excel function list to learn some more. Correction: This article has been updated. IE regrets this error. By subscribing, you agree to our Terms of Use and Privacy Policy.



0コメント

  • 1000 / 1000