Filter and Convert Data

ionelz

Board Regular
Joined
Jan 14, 2018
Messages
248
Office Version
  1. 365
Platform
  1. Windows
Hi,
See data in column A,B,C
1 Name1 True
2 Name2 True
3 Name3 False

I want to Filter with one operation A and C and convert A (numbers stored as text) to numbers and C (True ,False stored as text) to Boolean
Result is
1 TRUE
2 TRUE
3 FALSE
Thank you
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
Try:

Excel Formula:
=LET(a,CHOOSECOLS(A2:C4,1,3),IFERROR(a+0,IF(a="True",TRUE)))
 
Last edited:
Upvote 0
Solution
Ok, but I get TRUE and FALSE in first column too
In first column I should get NUMBERS converted from text to number
 
Upvote 0
but I get TRUE and FALSE in first column too
Could you give a more complete example?
According to your first example the formula works.

In first column I should get NUMBERS converted from text to number
And that makes the formula:

1687891282991.png


:cool:
 
Upvote 0
I did the test with formulas and in columns E and F I get the correct results.

Maybe I should fix your formulas that you have in A,B,C so that they return numbers and booleans.
 
Upvote 0
Understood,.
How above formula looks if I want to Filter ABC, B as is ! (A and C have the conditions already)
 
Upvote 0

Forum statistics

Threads
1,215,491
Messages
6,125,098
Members
449,205
Latest member
ralemanygarcia

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