fbpx
OR Function in Excel

OR Function in Excel in Hindi

Table of Contents

OR Function in Excel – Microsoft Excel में OR function एक logical function है। OR function का Use एक Time में multiple conditions को test करने के लिए किया जाता है। यह Function True या  False में Result देता है।

OR function में दिए गए multiple conditions में से कोई एक Condition अगर true है तब यह हमे TRUE return करता है। केवल सभी Conditions के false होने पर ही यह FALSE return करेगा।

Syntax-

=OR(logical1,[logical2],[logical3],[logical4],……)

Arguments-

logical1- पहली Condition या Logic Value Test करने के लिए।

logical2- दूसरी Condition Value को Test करने के लिए।

logical3- तीसरी Condition Value को Test करने के लिए।

Example-

Example  के लिए नीचे Image में देखे – यहाँ हमने कुछ items लिए है जिनके Price और Total sale दिए गए है।

यहाँ हमने Cell D2 में OR function में दो Conditions दिए है – B2>70 और C2>300 जिसका मतलब है कि B2 में दी गयी Value अगर 70 से बड़ी है या C2 में दी गयी Value 300 से बड़ी है तो यह TRUE return करेगा।

 

OR function in excel in hindi
 

How to use OR function with If function

OR function को IF function के साथ कैसे Use करे –  इसके लिए हमने एक छोटा सा example लिया है जैसा कि आप नीचे Image में देख सकते है –

यहाँ हमने D2 Cell में Formula =IF(OR(B2>30,C2=”Female”),”selected”,””) लगाया है।

 

OR function in excel in hindi

Formula लगाने के बाद enter key Press करे।

enter करते ही Result Cell D2 में Display हो जायेगा।
अब Cell D2 के right botton corner से नीचे की तरफ Drag करे इससे Formula पूरे Cell में apply हो जायेगा।
OR function in excel in hindi

 

Formula को समझे 

IF function के पहले argument में OR function का Use किया है। OR function में दो Conditions दी गयी है –

पहली  (B2>30) में test किया जायेगा कि Cell B2 जो Value है वह 30 से बड़ी है या नहीं।

दूसरी Condition (C2=”Female”) में test किया जायेगा कि Cell C2 जो भी text दिया गया है वह “Female” से match हो रहा है या नहीं।

अगर ऊपर दी गयी दोनों में से कोई एक Condition true हो जाती है तो IF function दूसरे argument को execute करेगा और Cell में “selected” Display करेगा।

पर दोनों Condition के false होने पर यह तीसरे argument को execute करेगा और Cell को empty Display करेगा।

 

or

 

Read Also Nested If Function in Excel in Hindi

1 thought on “OR Function in Excel in Hindi”

  1. Pingback: AND Function in Excel in Hindi - Last-Date

Leave a Comment

Your email address will not be published. Required fields are marked *

error: Content is protected !!
%d bloggers like this: