Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 04-11-2018, 07:32 AM
Meti Meti is offline IF OR logical function Windows 7 64bit IF OR logical function Office 2010 64bit
Novice
IF OR logical function
 
Join Date: Apr 2018
Posts: 1
Meti is on a distinguished road
Default IF OR logical function


Hi,

I have a question about IF logical function. So, the condition is: if any of cell A5,B5,C5 are filled with letter X, then cell D5 should be filled with letter X as well. Otherwise (else), it should remain blank. I beleive IF OR function should be used, but...

You can see the attached pic.
Thanks
Attached Images
File Type: jpg Capture.JPG (18.9 KB, 17 views)
Reply With Quote
  #2  
Old 04-11-2018, 08:25 AM
NBVC's Avatar
NBVC NBVC is offline IF OR logical function Windows 10 IF OR logical function Office 2013
The Formula Guy
 
Join Date: Mar 2012
Location: Mississauga, CANADA
Posts: 215
NBVC will become famous soon enoughNBVC will become famous soon enough
Default

In D2 try:

=IF(COUNTIF(A2:C2,"X")>0,"X","")

Then copy formula down.

or you can use =IF(OR(A2="X",B2="X",C2="X"),"X","")

This latter formula is okay for 3 columns, but if you have lots of columns to check the former formula becomes the better choice.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
IF OR logical function Using IF Function where logical test is for range of values guciolino Excel 10 02-13-2017 08:05 AM
IF OR logical function Search text using logical operations? paik1002 Word 1 02-21-2016 11:48 PM
IF OR logical function Logical Functions - IF, AND, OR juhikothari Excel 1 04-24-2015 12:39 AM
Logical cursor movement is not working capitala Word 5 12-08-2013 02:25 AM
IF OR logical function print logical pages with custom numbering livingem Word 1 06-06-2012 03:48 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 12:04 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft