Please help with what if formula

RExcelSearch

New Member
Joined
Apr 25, 2024
Messages
5
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
This is a work laptop so cant download. But I hope this is simple enough. I need a formula for column D. I need the formula look at both columns B and C. I this need it to return the results, in column D. The
complex issue is it needs to recognize #N/A and values. If there are two #N/A s return #N/A if not return the value in either cell. A what if may not be the most efficient, so what formula produces the outcome would be great. I would like a response today if possible. Thanks
1717515783438.png
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
Let me restate, if both columns have numbers the result should say "recheck"
 
Upvote 0
Excel Formula:
=IF(ISNA(B2),IF(ISNA(C2),NA(),C2),"RECHECK")


Book2
ABCD
1
20000011379#N/A0000011379
3#N/A000989564000989564
4#N/A#N/A#N/A
50000011379000989564RECHECK
Sheet1
Cell Formulas
RangeFormula
C2,B4:C4,B3C2=NA()
D2:D4D2=IF(ISNA(B2),IF(ISNA(C2),NA(),C2),B2)
D5D5=IF(ISNA(B5),IF(ISNA(C5),NA(),C5),"RECHECK")
 
Upvote 0
Oh, thanks @rlv01 I had an error in my suggestion.

In your suggestion I think the 3rd IF is not necessary:
This works:
=IF(COUNTIF(B2:C2,"#N/A")=0,"RECHECK",IF(ISNA(B2),C2,B2))

Book2
ABCD
1
20000011379#N/A0000011379
3#N/A000989564000989564
4#N/A#N/A#N/A
50000011379000989564RECHECK
Sheet1
Cell Formulas
RangeFormula
C2,B4:C4,B3C2=NA()
D2:D5D2=IF(COUNTIF(B2:C2,"#N/A")=0,"RECHECK",IF(ISNA(B2),C2,B2))
 
Upvote 0
The formula work. This forum really has the depth and speed that has stud the test of time. Thanks again
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,279
Members
452,630
Latest member
OdubiYouth

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