Download as xlsx, pdf, or txt
Download as xlsx, pdf, or txt
You are on page 1of 11

click here to read

IF Formula Builder May-07


tutorial

More Resources
Courses
Advanced Excel....................................................... https://www.myonlinetraininghub.com/excel-expert-upgrade
PivotTables.............................................................. https://www.myonlinetraininghub.com/excel-pivottable-cours
Power Query........................................................... https://www.myonlinetraininghub.com/excel-power-query-co
Power Pivot............................................................. https://www.myonlinetraininghub.com/power-pivot-course
Excel Dashboards.................................................... http://www.myonlinetraininghub.com/excel-dashboard-cours
Power BI.................................................................. http://www.myonlinetraininghub.com/power-bi-course
Excel for Decision Making Under Uncertainty......... https://www.myonlinetraininghub.com/excel-for-decision-ma
Excel for Finance Professionals............................... https://www.myonlinetraininghub.com/excel-for-finance-cour
Excel Analysis ToolPak............................................. https://www.myonlinetraininghub.com/excel-analysis-toolpak
Excel for Customer Service Professionals................ https://www.myonlinetraininghub.com/excel-for-customer-se
Excel Tables............................................................. https://www.myonlinetraininghub.com/excel-tables-course
Advanced Excel Formulas........................................ https://www.myonlinetraininghub.com/advanced-excel-formu
Financial Modelling................................................. https://www.myonlinetraininghub.com/financial-modelling-co
Webinars
m/excel-expert-upgrade Excel Dashboards & Power BI............... http://www.myonlinetraininghub.com/ex
m/excel-pivottable-course
m/excel-power-query-course
m/power-pivot-course Support
m/excel-dashboard-course Excel Forum.......................................... https://www.myonlinetraininghub.com/e
m/power-bi-course
m/excel-for-decision-making-course
m/excel-for-finance-course Tutorials
m/excel-analysis-toolpak-course Excel Functions..................................... https://www.myonlinetraininghub.com/e
m/excel-for-customer-service-professionals Charting Blog Posts.............................. http://www.myonlinetraininghub.com/ca
m/excel-tables-course Excel Dashboard Blog Posts.................. http://www.myonlinetraininghub.com/ca
m/advanced-excel-formulas-course Free Downloads................................... https://www.myonlinetraininghub.com/w
m/financial-modelling-course Excel Keyboard Shortcuts..................... https://www.myonlinetraininghub.com/e
Custom Number Format Guide............ https://www.myonlinetraininghub.com/e
ww.myonlinetraininghub.com/excel-webinars

ww.myonlinetraininghub.com/excel-forum

ww.myonlinetraininghub.com/excel-functions
ww.myonlinetraininghub.com/category/excel-charts
ww.myonlinetraininghub.com/category/excel-dashboard
ww.myonlinetraininghub.com/workbook-downloads
ww.myonlinetraininghub.com/excel-shortcuts
ww.myonlinetraininghub.com/excel-custom-number-format-guide
43 30 13
1 5 8
23 22 33

Test Result if TRUE Result if FALSE


A1 < B1+C1 1 0

Test Result if TRUE Result if FALSE


SUM(A2:C2) > 50 "Heavy" "Light"

Test Result if TRUE Result if FALSE


SUM(A1:C3) > 100 SUM(A1:C3) AVERAGE(A1:C3)

Test Result if TRUE Result if FALSE


A3 <= B3 1 0

Language Specific Functions Names

In languages other than English, function names may be different. For example, in English it
is SUM, in French it is SOMME.

Change the function names in the Test and Result cells if you need to.
Formula Created Result
=IF(A1<B1+C1,1,0) #NAME?

Formula Created Result


=IF(SUM(A2:C2)>50,"Heavy","Light") #NAME?

Formula Created Result


=IF(SUM(A1:C3)>100,SUM(A1:C3),AVERAGE(A1:C3)) #NAME?

Formula Created Result


=IF(A3<=B3,TRUE,FALSE) #NAME?

#VALUE! Error in Result

le, in English it If you are seeing a #VALUE! error in the result cell, this may be because your locale uses a
function parameter separator other than a comma.

Open the Name Manager and check that Sep is set to whatever you use locally - it may be a
semi-colon.
use your locale uses a

use locally - it may be a


43 30 13
1 5 8
23 22 33

Test Result if TRUE Result if FALSE


A3 < 99
AND
A1 < 50 A3 B3
Formula Created Result
=IF(AND(A3<99,A1<50),A3,B3) #NAME?
Apple

Cold
Sweet
Fizzy
Healthy

Test Result if TRUE Result if FALSE


A1 = "Ice Cream" A3

Test Result if TRUE


A1 = "Candy" A4

Formula Created Result


=IF(A1="Ice Cream",A3,IF(A1="Candy",A4,IF(A1="Pop",A5,A6))) #NAME?
Result if FALSE

Test Result if TRUE Result if FALSE


A1 = "Pop" A5 A6
< AND Ice Cream
> OR Candy
<= XOR Pop
>= Apple
=
<>

You might also like