IF statements for returning true or false question.

Status
Not open for further replies.

McNeil87

Board Regular
Joined
Dec 6, 2019
Messages
55
Office Version
  1. 2016
Platform
  1. Windows
  2. MacOS
Hello!

what does this If formula mean?
IF(cell2=true, IF(cell3=true,true,false),true)? Reason I ask if, it’s returning true but I need i should return false when I replicate it.

thank you!
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
Code:
IF the value in cell2 is TRUE THEN
	IF the value in cell3 is TRUE THEN
		Output TRUE
	ELSE
		output FALSE
ELSE
	output TRUE
 
Upvote 0
Thank you! May ask I for input how to fix this logic? I attached a screen shot of the logical test how the output shows results. It's out putting the true/false correctly. It's returning all logical tests as true, when they should return mostly False. I think it's the first part of the logical test that needs to have a false criteria listed with the logical test? What do you think?

Thank you!
 

Attachments

  • 2019-12-09_15h33_55.png
    2019-12-09_15h33_55.png
    33.2 KB · Views: 8
Upvote 0
so IF(cell2=true, IF(cell3=true,true,false),false)?

Code:
IF the AG2 is TRUE THEN (check AH2)
	IF AH2 is TRUE THEN
		Output TRUE
	ELSE
		output FALSE
ELSE
	output FALSE (Because AG2 is FALSE)
 
Upvote 0
Duplicate to Help with True/False Formula

Please do not post the same question multiple times. Questions of a duplicate nature will be locked or deleted, per #12 of the Forum Rules and points 6 & 7 of the Forum Use Guidelines.

Whilst this was the original thread, I am locking this one since much more discussion has occurred in the other one.

Any bumps, clarifications, or follow-ups should be posted to the linked thread.
 
Upvote 0
Status
Not open for further replies.

Forum statistics

Threads
1,215,039
Messages
6,122,799
Members
449,095
Latest member
m_smith_solihull

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top