JerryMason
New Member
- Joined
- Jun 2, 2022
- Messages
- 7
- Office Version
- 365
Silly question maybe but I can't find the answet to it anywhere, or I'm not asking it correctly.
I would like to compare two cells A and B and with one formula in cell C and produce one of three states instead of the normal two: true or false. e.g.
if(A2>B2, "Greater Than", "Less Than")
I've done greater than or equal to many times, but for the first time in my life I've found the need to actually differentiate for that third option by itself if present. "Greater than or equal to" conflates the two and separates less than. And vice versa.
This is obviously wrong, but how can I rewrite this:
if((A2>B2, "Greater Than", "Less Than")if(A2=B2, "Equal To"))
I would like to compare two cells A and B and with one formula in cell C and produce one of three states instead of the normal two: true or false. e.g.
if(A2>B2, "Greater Than", "Less Than")
I've done greater than or equal to many times, but for the first time in my life I've found the need to actually differentiate for that third option by itself if present. "Greater than or equal to" conflates the two and separates less than. And vice versa.
This is obviously wrong, but how can I rewrite this:
if((A2>B2, "Greater Than", "Less Than")if(A2=B2, "Equal To"))