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

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.

Forum statistics

Threads
1,215,004
Messages
6,122,659
Members
449,091
Latest member
peppernaut

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