Trying to pull greater than, less than, equals to from text.

sin2190

New Member
Joined
Aug 17, 2016
Messages
7
Good morning fellow excel users,

Quick question, is it possible to pull the "<" symbol from a cell for a formula.

For example lets say I have this formula.
A1=1
In cell A2 =IF(A1=1,">","<")
A3=2
A4= =IF(A1&A2&A3,"greater than","less than") <---- Trying to fix this to read if A1>A3, greater than else less than.

Of course it more complex than this but I am trying to use an if statement to determine if I need greater than or less than symbol than to use that information to compare it elsewhere.
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Maybe:
VBA Code:
Range("A4").Formula = "=If(" & Range("A1").Address & Range("A2").Value & Range("A3").Address & ",""Greater than"",""Less than"")"
 
Upvote 0

Forum statistics

Threads
1,223,247
Messages
6,171,004
Members
452,374
Latest member
keccles

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