IF And Boolean True / text true

Cervani

New Member
Joined
Jun 22, 2022
Messages
22
Office Version
  1. 365
Platform
  1. Windows
Hi guys,

I have Excel file to check.
If and value = true and this value = ""

Problem is that my spreadsheet has true as a text and TRUE Boolean values.

IF doesn't work with later.

Is there a way to sort it please
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
Is this what you are trying?

Excel Formula:
=IF(OR(A1,A1="TRUE"),TRUE,FALSE)

1660941020869.png
 
Upvote 0
If(and(A1="TRUE",C1=""),"Change","Correct")

A1 is Boolean True in my case. I want to get "change" but it's showing me "correct"
 
Upvote 0
If(and(A1="TRUE",C1=""),"Change","Correct")

A1 is Boolean True in my case. I want to get "change" but it's showing me "correct"

If A1 is Boolean True then you do not need quotes.

Excel Formula:
=IF(AND(A1=TRUE,C1=""),"Change","Correct")

1660942085834.png


And if it is Text, then try this

Excel Formula:
=IF(AND(OR(A1,A1="TRUE"),C1=""),"Change","Correct")

1660942160648.png
 
Upvote 0
Solution
=IF(AND(OR(A1,A1="TRUE"),C1=""),"Change","Correct")
That works for me. Thank You

If anyone needs that I can tell that having 100k rows this works only if I activate specific cell.
Creating that in row 1 and dragging/double click down doesn't work.
I solved it by

find-replace = into =
 
Upvote 0

Forum statistics

Threads
1,216,069
Messages
6,128,599
Members
449,460
Latest member
jgharbawi

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