Re: Excel If formula with #N/A data

ACQ

New Member
Joined
Mar 11, 2021
Messages
15
Office Version
  1. 2016
Platform
  1. Windows
Dear excel experts,

Formula is set in column F (F2:F5) to return "blank" or Block. No problem with that.

However, the data set has data which is #N/A.

Have problems in adding parameter if cell A to cell E is #N/A, the cell return "No data"

Book1
ABCDEF
1A CountB CountC CountD CountE BlockPHONE BLOCK
20000NBlock
300X0YBlock
40000Y 
50000Y 
6#N/A#N/A#N/A#N/A#N/A#N/A
Sheet1
Cell Formulas
RangeFormula
F2:F5F2=IF(OR(COUNTIF(A2:E2,"X"),COUNTIF(A2:E2,"N")),"Block","")
F6F6=IF(E6="#N/A",No Data," ")


Thanks all
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.

Forum statistics

Threads
1,215,518
Messages
6,125,293
Members
449,218
Latest member
Excel Master

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