Formula Help

BenDoc08

Board Regular
Joined
Dec 21, 2008
Messages
59
Hi Guys.

In Column M I have a number and so too in Column N. In Column Q, I want it to return either T,O or X, depending on whether or not M2>N2, M2<N2 or M2=N2 correspondingly. What's the formula I need to achieve this?
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
Not sure what you want as the formula got cut off due to using > and < and not putting spaces(don't ask, thats just the way the board is?), but maybe something like:


=if(m2>n2,"T",if(m2<N2,"O","X"))< p> < n2,"O","X"))
Hope that helps?
 
Upvote 0
It looks as if the forum has eaten part of your question, put spaces before and after < or > to stop this happening.
 
Upvote 0
Hi,

Your problems seems incomplete, could you specify you want returned as I got so far

=IF(M2>N2,"T",IF(M2????<N2,"O","X"))
 
Upvote 0
Sorry guys was not aware of this problem. Here's my problem;

In Column M I have a number and so too in Column N. In Column Q, I want it to return either T,O or X, depending on whether or not M2 is greater than N2, M2 is less than N2<N2 div < this? achieve to need I formula the What?s correspondingly. M2="N2" or> or M2 is equal to N2 correspondingly.

Cheers<!-- / message -->
 
Upvote 0
Try
PHP:
=IF(M2>N2,"T",IF(M2<N2,"O",IF(M2=N2,"X","")))
And fill down

Hope this helps
 
Upvote 0

Forum statistics

Threads
1,214,644
Messages
6,120,709
Members
448,983
Latest member
Joaquim_Baptista

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