How to get a cell to populate N/A

Tryingtoresolve

New Member
Joined
Aug 28, 2023
Messages
24
Office Version
  1. 365
Platform
  1. Windows
I am trying to get a cell to populate a cell with NA instead of #VALUE! At the moment I am using the error conformational format to hide the #VALUE! By white background abd white font the formula I'm using is =IF(M2="",TODAY()-K2,M2-K2)
 

Attachments

  • image001 (2).png
    image001 (2).png
    9.2 KB · Views: 4

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
How about
Excel Formula:
=iferror(IF(M2="",TODAY()-K2,M2-K2),"NA")
 
Upvote 0
Solution
You can also swap the "NA" for NA() if you want to return an actual #N/A error.
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0
I'm now struggling with a conditional format to work I'm trying to get one cell to change colour if higher than another I can make this work but I'm trying to get it to ignore N/A within the column I've tried using this =IF(O2>U2),"N/A) it accepts it and changes the cell where its higher but still highlights N/A
 
Upvote 0
As this is a totally different question, it needs a new thread. Thanks
 
Upvote 0

Forum statistics

Threads
1,215,330
Messages
6,124,308
Members
449,151
Latest member
JOOJ

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