Need help: compare two cells for highest number, if text in one of the cell then return N/A

bb19august

New Member
Joined
Feb 1, 2019
Messages
18
Need help with the following

if B>A result Y, if A>B result N, if text in any of the cell then result is N/A

ABC (Result)
54N
10100Y
N/A10N/A
zero100N/A

<tbody>
</tbody>

<tbody>
</tbody>
Thank you
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
Hi, below should work, there are 2 options from my side 1 array in Col M and 1 regular in Col N:


Book1
KLMN
1ABC (Result) - ArrayC (Result)- Regular
254NN
310100YY
4N/A10N/AN/A
5zero100N/AN/A
Sheet3
Cell Formulas
RangeFormula
N2=IF(AND(ISNUMBER(K2),ISNUMBER(L2)),IF(K2>L2,"N","Y"),"N/A")
M2{=IF(ISNUMBER(K2:L2),IF(K2>L2,"N","Y"),"N/A")}
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Upvote 0
another:

Book1
M
2N
Sheet3
Cell Formulas
RangeFormula
M2=IF(ISERROR(K2*L2),"N/A",IF(K2>L2,"N","Y"))
 
Upvote 0
another:
M
2N

<colgroup><col style="width: 25pxpx"><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet3

Worksheet Formulas
CellFormula
M2=IF(ISERROR(K2*L2),"N/A",IF(K2>L2,"N","Y"))

<thead>
</thead><tbody>
</tbody>

<tbody>
</tbody>
Thank you Aryatect. all your options work. I tried with ISNUMBER for an hour without any success.
 
Upvote 0

Forum statistics

Threads
1,214,643
Messages
6,120,707
Members
448,981
Latest member
recon11bucks

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