{"items":["5fda1ff2ffb0f20017abdb74","5fda1ff2ffb0f20017abdb70","5fda1ff2ffb0f20017abdb71"],"styles":{"galleryType":"Columns","groupSize":1,"showArrows":true,"cubeImages":true,"cubeType":"max","cubeRatio":1.7777777777777777,"isVertical":true,"gallerySize":30,"collageAmount":0,"collageDensity":0,"groupTypes":"1","oneRow":false,"imageMargin":5,"galleryMargin":0,"scatter":0,"rotatingScatter":"","chooseBestGroup":true,"smartCrop":false,"hasThumbnails":false,"enableScroll":true,"isGrid":true,"isSlider":false,"isColumns":false,"isSlideshow":false,"cropOnlyFill":false,"fixedColumns":0,"enableInfiniteScroll":true,"isRTL":false,"minItemSize":50,"rotatingGroupTypes":"","rotatingCropRatios":"","columnWidths":"","gallerySliderImageRatio":1.7777777777777777,"numberOfImagesPerRow":3,"numberOfImagesPerCol":1,"groupsPerStrip":0,"borderRadius":0,"boxShadow":0,"gridStyle":0,"mobilePanorama":false,"placeGroupsLtr":false,"viewMode":"preview","thumbnailSpacings":4,"galleryThumbnailsAlignment":"bottom","isMasonry":false,"isAutoSlideshow":false,"slideshowLoop":false,"autoSlideshowInterval":4,"bottomInfoHeight":0,"titlePlacement":["SHOW_ON_THE_LEFT","SHOW_BELOW"],"galleryTextAlign":"center","scrollSnap":false,"itemClick":"nothing","fullscreen":true,"videoPlay":"hover","scrollAnimation":"NO_EFFECT","slideAnimation":"SCROLL","scrollDirection":0,"scrollDuration":400,"overlayAnimation":"FADE_IN","arrowsPosition":0,"arrowsSize":23,"watermarkOpacity":40,"watermarkSize":40,"useWatermark":true,"watermarkDock":{"top":"auto","left":"auto","right":0,"bottom":0,"transform":"translate3d(0,0,0)"},"loadMoreAmount":"all","defaultShowInfoExpand":1,"allowLinkExpand":true,"expandInfoPosition":0,"allowFullscreenExpand":true,"fullscreenLoop":false,"galleryAlignExpand":"left","addToCartBorderWidth":1,"addToCartButtonText":"","slideshowInfoSize":200,"playButtonForAutoSlideShow":false,"allowSlideshowCounter":false,"hoveringBehaviour":"NEVER_SHOW","thumbnailSize":120,"magicLayoutSeed":1,"imageHoverAnimation":"NO_EFFECT","imagePlacementAnimation":"NO_EFFECT","calculateTextBoxWidthMode":"PERCENT","textBoxHeight":26,"textBoxWidth":200,"textBoxWidthPercent":65,"textImageSpace":10,"textBoxBorderRadius":0,"textBoxBorderWidth":0,"loadMoreButtonText":"","loadMoreButtonBorderWidth":1,"loadMoreButtonBorderRadius":0,"imageInfoType":"ATTACHED_BACKGROUND","itemBorderWidth":0,"itemBorderRadius":0,"itemEnableShadow":false,"itemShadowBlur":20,"itemShadowDirection":135,"itemShadowSize":10,"imageLoadingMode":"BLUR","expandAnimation":"NO_EFFECT","imageQuality":90,"usmToggle":false,"usm_a":0,"usm_r":0,"usm_t":0,"videoSound":false,"videoSpeed":"1","videoLoop":true,"jsonStyleParams":"","gallerySizeType":"px","gallerySizePx":292,"allowTitle":true,"allowContextMenu":true,"textsHorizontalPadding":-30,"itemBorderColor":{"themeName":"color_12","value":"rgba(220,226,233,0)"},"showVideoPlayButton":true,"galleryLayout":2,"calculateTextBoxHeightMode":"MANUAL","targetItemSize":292,"selectedLayout":"2|bottom|1|max|true|0|true","layoutsVersion":2,"selectedLayoutV2":2,"isSlideshowFont":true,"externalInfoHeight":26,"externalInfoWidth":0.65},"container":{"width":300,"galleryWidth":305,"galleryHeight":0,"scrollBase":0,"height":null}}

# How to Create Excel OR Formulas : Excel Tutorial with Examples

An Excel OR function is a logical function which is most often used in conjunction with the Excel IF function and the Excel AND function. It is used to test multiple conditions at the same time. This tutorial will teach you how to create Excel OR formulas and give you examples of how to use the OR function.

**OR Function Arguments**

The syntax of the IF function is:

**=OR(logical1,[logical2],)**

**logical1** – This is a required argument and is the value or logical expression that can be either TRUE or FALSE. You can specify a value, date, number or any comparison operator

**logical2, logical3** – This is an optional argument and is the value or logical expression that can be either TRUE or FALSE. You can specify a value, date, number or any comparison operator

**Excel OR Formula Example**

In this example I want to give a bonus if the area is **North **or the sales is **over £10,000**. The formula in cell D2 is **=OR(B2="North",C2>10000)**. The first argument in the OR function tests if the area in cell B2 is “North”. The second argument tests if the sales in cell C2 is over £10,000. Note the comparison operator ">" for greater than. If any of these conditions are met then it returns TRUE. If none of these conditions are met then it returns FALSE.

**Nesting Excel OR Function in an IF Function**

Lets take this a stage further. Sometimes we don't want to give a result that says just TRUE or FALSE. We want to return something that is more meaningful. To do this we can nest an OR function inside an IF function.

Let's have a look at an example.

The formula in cell D2 is **=IF(OR(B2="North",C2>10000),"Bonus","No Bonus")**. The OR function is testing to see if cell B2 is **“North”** or cell C2 is over **£10,000**. The OR function is the IF functions logical_test argument. If one or both conditions are met then the IF functions value_if_true argument returns **“Bonus”** otherwise the value_if_false argument returns **“No Bonus”**.

To learn about the IF function and its arguments then please see my tutorial on How to Create an Excel IF Formula.

I hope you enjoyed this tutorial on how to create Excel OR Formulas. If you have any questions or feedback then please leave a comment and I will get back to you as soon as I can. I always like to receive your comments.