Professional Documents
Culture Documents
In Excel 2003, Conditional Formatting can be found in the Format menu, then click in the
1) first textbox and point to "Formula is", then create a TRUE FALSE formula
In Excel 2007, Conditional Formatting can be found in the Styles group on the Home Ribbon,
then point to New Rule, then click on "Use a formula to determine what cells get
2) formatting", then create a TRUE FALSE formula
To highlight a row the key is to highlight column reference, but not the row reference. We
used this:
3) =AND($A1=$A$16,$B1=$B$16)
To highlight a column the key is to highlight row reference, but not the column reference.
We used this:
4) =A$1=$C$16
=SUMPRODUCT(--(Sheet2!$M$2:$M$11=$B$3),--(Sheet2!
$N$2:$N$11=$B$4),INDEX(Sheet2!$A$2:$M$11,0,E2))
=SUMPRODUCT((Sheet2!$M$2:$M$11=Sheet1!$B$3)*(Sheet2!
$N$2:$N$11=Sheet1!$B$4)*(Sheet2!$A$1:$B$1=MonthCell)*Sheet2!
$A$2:$B$ 11)
2)
Conclusion:
1) Try to avoid volatile functions such as INDIRECT and OFFSET.
2) Double negative to convert TRUEs and FALSEs to 1s and 0s is faster
than multiplying
3) 0 in row or column number for INDEX can yield a whole column or row,
respectively, in place of using INDIRECT and OFFSET functions.
4) When possible, use SUMIFS because it is much faster than other
5) options
6) For more about the SUMPRODUCT function, see this video: Excel Formula Efficiency 1: SUMPRODUCT function 12 E
7) For more about the SUMIF function, see this video: Excel Magic Trick #203: SUMIF function formula 21 Exam
8) For more about the SUMIFS function, see this video: Excel Formula Efficiency 4: SUMIFS & COUNTIFS Are Fas
9) For more about the INDIRECT function, see this video: Excel Name Trick #7: INDIRECT function, Names and LOO
10) For more about the OFFSET function, see this video: Excel Magic Trick #78: OFFSET function
8) For link at the Mr Excel Message Board: http://www.mrexcel.com/forum/showthread.php?t=37
y 1: SUMPRODUCT function 12 Examples
SUMIF function formula 21 Examples
y 4: SUMIFS & COUNTIFS Are Fast
DIRECT function, Names and LOOKUP
OFFSET function
m/forum/showthread.php?t=375267
SUMPRODUCT
SUMIF
SUMIFS
INDIRECT
OFFSET
SR Pro Month Sales SR Pro Jan Feb Mar
SR1 Pro2 Feb 1 SR1 Pro2 0 1 0
SR2 Pro2 Jan 1 SR2 Pro2 1 0 0
SR3 Pro1 Feb 1 SR3 Pro1 0 1 0
SR1 Pro2 Feb 1 SR1 Pro2 0 1 0
SR2 Pro1 Feb 1 SR2 Pro1 0 1 0
SR3 Pro2 Jan 1 SR3 Pro2 1 0 0
SR1 Pro1 Mar 1 SR1 Pro1 0 0 1
SR2 Pro2 Jan 1 SR2 Pro2 1 0 0
SR3 Pro1 Mar 1 SR3 Pro1 0 0 1
SR1 Pro2 Mar 1 SR1 Pro2 0 0 1
SR1 Pro1 Feb 1 SR1 Pro1 0 1 0
2) When you enter "1/20/2001 9:00:00 PM" into a cell, the serial number "36911.875" gets put in the cell
The 36911 in the above serial number represents days since Dec 31, 1899, and the .875 represents (PM
3) (.875 of one 24 hour day)
4) For more about serial numbers, see this video:
5) The TEXT function formats numbers with number format and converts it to text
6) For more about the TEXT function, see this video:
The custom number format [h] allows you to show time when there is more than a 24 hour day for the
7) total
The formula =TEXT(C13-C12,"[h]") creates text. By adding a zero to the end, you can convert a number
8) stored as text back to a number: =TEXT(C13-C12,"[h]")+0
9) The INT function takes just the integer part of the Date/Time number so we can do Date Math
10) For more about Date Math and the INT function, see these videos:
The DATE function constructs dates given year, month and day
inputs. For example, DATE(2009,1,1) yields 1/1/2009. But date
can handle odd values like 0 for a day or even 32 for a day ==>
3) DATE(2009,1,0) = 12/31/2008 and DATE(2009,1,32) = 2/1/2009.
4) For more about the VLOOKUP, see this video series: 02 Excel Series: Lookup functions
5) For more about array syntax, see this video series: Excel Lookup Series #5: VLOOKUP Function 5th Example
6)
excelisfun
Dates Formula =(LEFT(B16,LEN(B16)-2)&"19"&RIGHT(B16,2))+0
1/15/30 1/15/2030 DATEVALUE converts dates as text back to dates
1/1/29 LEN counts how many characters there are
1/01/30 LEFT can grab a certain number of characters from the left
1/30/29 RIGHT can grab a certain number of characters from the right
Andrew
Poulsom
Dates Formula
1/15/30 SUBSTITUTE can find parts of a text string, take that part out, and put a new
1/1/29 =SUBSTITUTE(B22,"/","/19",2)+0
1/01/30
1/30/29
barry Houdini
Dates Formula
1/15/30 If third argument of REPLACE (num_chars) is zero, the function inserts text!
1/1/29 =REPLACE(B28,LEN(B28)-1,0,19)+0
1/01/30
1/30/29
m/forum/showthread.php?p=1875881#post1875881
2/2/2019
###
One or more functions in this workbook are not available in versions prior to 2
Excel 2007. When recalculated in earlier versions, these functions will return a
#NAME? error instead of their current results.
VaryingColumns'!B15
Some cells contain conditional formatting with the 'Stop if True' option 5
cleared. Earlier versions of Excel do not recognize this option and will stop
after the first true condition.
T(297)'!D9:F13
VaryingColumns'!F1:J12
Some cells in this workbook contain data validation rules, which refer to values 5
on other worksheets. These rules won't be saved.
T(297)'!J11:J13
VaryingColumns'!E15:G15
Some cells or styles in this workbook contain formatting that is not supported 16
by the selected file format. These formats will be converted to the closest
format available.
Version
Excel 97-2003
Excel 97-2003
Excel 97-2003
Excel 97-2003
Excel 97-2003
Excel 97-2003