• Skip to main content
  • Skip to header right navigation
  • Skip to site footer

My Online Training Hub

Learn Dashboards, Excel, Power BI, Power Query, Power Pivot

  • Courses
  • Pricing
    • Free Courses
    • Power BI Course
    • Excel Power Query Course
    • Power Pivot and DAX Course
    • Excel Dashboard Course
    • Excel PivotTable Course – Quick Start
    • Advanced Excel Formulas Course
    • Excel Expert Advanced Excel Training
    • Excel Tables Course
    • Excel, Word, Outlook
    • Financial Modelling Course
    • Excel PivotTable Course
    • Excel for Customer Service Professionals
    • Excel for Operations Management Course
    • Excel for Decision Making Under Uncertainty Course
    • Excel for Finance Course
    • Excel Analysis ToolPak Course
    • Multi-User Pricing
  • Resources
    • Free Downloads
    • Excel Functions Explained
    • Excel Formulas
    • Excel Add-ins
    • IF Function
      • Excel IF Statement Explained
      • Excel IF AND OR Functions
      • IF Formula Builder
    • Time & Dates in Excel
      • Excel Date & Time
      • Calculating Time in Excel
      • Excel Time Calculation Tricks
      • Excel Date and Time Formatting
    • Excel Keyboard Shortcuts
    • Excel Custom Number Format Guide
    • Pivot Tables Guide
    • VLOOKUP Guide
    • ALT Codes
    • Excel VBA & Macros
    • Excel User Forms
    • VBA String Functions
  • Members
    • Login
    • Password Reset
  • Blog
  • Excel Webinars
  • Excel Forum
    • Register as Forum Member

cell should show up the value 0 in place of #N/A|General Excel Questions & Answers|Excel Forum|My Online Training Hub

You are here: Home / cell should show up the value 0 in place of #N/A|General Excel Questions & Answers|Excel Forum|My Online Training Hub
Avatar
sp_LogInOut Log In sp_Registration Register
sp_Search Search
Advanced Search|Last Search Results
Search
Forum Scope




Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
sp_Search Search
sp_RankInfo
Lost password?
sp_CrumbsHome HomeExcel ForumGeneral Excel Questions & Answe…cell should show up the value 0 in …
sp_PrintTopic sp_TopicIcon
cell should show up the value 0 in place of #N/A
Avatar
SANJU KUMAR

Active Member
Members
Level 0
Forum Posts: 4
Member Since:
October 10, 2019
sp_UserOfflineSmall Offline
1
October 10, 2019 - 11:24 pm
sp_Permalink sp_Print

hi to all,

                i have a file in which there are some works. in sheet 1 column c is work planned date and column d is actual work done date. and column e is the difference between planed date and actual date named as delay. in sheet 2 there are weekly scoring according to planned date and actual date.
 
for example:- if any work has to be done on 10/8/2019 (this is our planned date). but the work is getting done on 10/12/2019. so the delay time is 4 days and this will review in sheet 2 how much % the work is getting late and there were how many works in any particular week..
 
my real problem is that when there is no planned date or actual date then it shows #N/A in that particular week.( please see AI4, AI5 and there are many more.) i want that this error should not be shown up if there are not any work its should show up the value 0 but don't want to use iferror function. because when we use -iferror it shows 0 but my formula auto calculate in minus. so it starts to show up the result in plus. (without -if error result is coming -75%, and with -iferror result comes 75% which is wrong.) so i want any change in formula that it can show up 0 if there is not any work in any particular week and want this thing for all the #N/A. https://docs.google.com/spread.....=858972579
Avatar
Mynda Treacy
Admin
Level 10
Forum Posts: 4449
Member Since:
July 16, 2010
sp_UserOfflineSmall Offline
2
October 11, 2019 - 11:00 am
sp_Permalink sp_Print

Hi Sanju,

It's a bit tricky to follow your explanation because there are no #N/A errors in cells A14 or A15 in the file linked to so I'm not clear which sheet has the problem, plus this is Google sheets, not Excel.

That said, assuming it's Sheet1 and you want the formula in column E to ignore cells in columns C & D when they are blank, you can use this formula:

=IF(OR(C2="",D2=""),"",D2-C2)

Mynda

Avatar
SANJU KUMAR

Active Member
Members
Level 0
Forum Posts: 4
Member Since:
October 10, 2019
sp_UserOfflineSmall Offline
3
October 11, 2019 - 7:34 pm
sp_Permalink sp_Print

first of all thanks a lot for replying to me post that is not A14 that is AI4. if any other formula done the same work i would like to have change in my sheet.

Avatar
Mynda Treacy
Admin
Level 10
Forum Posts: 4449
Member Since:
July 16, 2010
sp_UserOfflineSmall Offline
4
October 12, 2019 - 8:57 am
sp_Permalink sp_Print

I gave you a solution above. Did you try it? 

Avatar
SANJU KUMAR

Active Member
Members
Level 0
Forum Posts: 4
Member Since:
October 10, 2019
sp_UserOfflineSmall Offline
5
October 14, 2019 - 11:00 pm
sp_Permalink sp_Print

please read my question carefully. how it can be solution of that. how it will highlight the scoring.

Avatar
Mynda Treacy
Admin
Level 10
Forum Posts: 4449
Member Since:
July 16, 2010
sp_UserOfflineSmall Offline
6
October 15, 2019 - 1:36 pm
sp_Permalink sp_Print

This is the question I answered:

"my real problem is that when there is no planned date or actual date then it shows #N/A in that particular week.( please see AI4, AI5 and there are many more.) i want that this error should not be shown up if there are not any work its should show up the value 0 but don't want to use iferror function."

If you have another question, it wasn't clear, sorry. Please try rephrasing it in clear English with reference back to your file with sheet and cell references so I know exactly what you're referring to and what your desired result is.

Mynda

Avatar
Catalin Bombea
Iasi, Romania
Admin
Level 10
Forum Posts: 1810
Member Since:
November 8, 2013
sp_UserOfflineSmall Offline
7
October 15, 2019 - 5:17 pm
sp_Permalink sp_Print

Hi,

You should use IFERROR.

The way you use -IFERROR seems wrong, what's the logic behind this?

Avatar
SANJU KUMAR

Active Member
Members
Level 0
Forum Posts: 4
Member Since:
October 10, 2019
sp_UserOfflineSmall Offline
8
October 16, 2019 - 4:55 pm
sp_Permalink sp_Print

first of all a lot of thanks for replying to my query. i have tried both in my sheet. but if i use if error it starts to show cell blank when there is no data. while i want 0 in place of blank cell. and when i use -if error, it starts to show calculations in positive because my formula already calculates in negative so -if error and my formula's negative value becomes positive. that's the problem.

Avatar
Catalin Bombea
Iasi, Romania
Admin
Level 10
Forum Posts: 1810
Member Since:
November 8, 2013
sp_UserOfflineSmall Offline
9
October 16, 2019 - 5:42 pm
sp_Permalink sp_Print

I think you are making a mistake here.

IFERROR will not display blanks. IFERROR dislays whatever YOU want to display, like:

=IFERROR(oldformula,"") ' this displays a zero-length string, wrongly reffered to as blanks.

=IFERROR(oldformula,0) 'this displays a zero if the oldformula returns error.

=IFERROR(oldformula,"text message") 'this displays a text message if the oldformula returns error.

Why are you using the minus outside iferror?

If the formula returns a positive value, you need it to keep it positive, or you need to change it to negative?

If it's a negative result, you need to keep it negative, or you need to change to positive?

sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: Kim Knox, Bhuwan Devkota
Guest(s) 8
Currently Browsing this Page:
1 Guest(s)
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 871
Purfleet: 412
Frans Visser: 346
David_Ng: 306
lea cohen: 219
Jessica Stewart: 204
A.Maurizio: 202
Aye Mu: 201
jaryszek: 183
Newest Members:
Bhuwan Devkota
Kathryn Patton
Maria Conatser
Jefferson Granemann
Glen Coulthard
Nikki Fox
Rachele Dickie
Raj Mattoo
Mark Luke
terimeri dooriyan
Forum Stats:
Groups: 3
Forums: 24
Topics: 6221
Posts: 27285

 

Member Stats:
Guest Posters: 49
Members: 31909
Moderators: 3
Admins: 4
Administrators: Mynda Treacy, Philip Treacy, Catalin Bombea, FT
Moderators: MOTH Support, Velouria, Riny van Eekelen
© Simple:Press —sp_Information

Sidebar

Blog Categories

  • Excel
  • Excel Charts
  • Excel Dashboard
  • Excel Formulas
  • Excel PivotTables
  • Excel Shortcuts
  • Excel VBA
  • General Tips
  • Online Training
  • Outlook
  • Power Apps
  • Power Automate
  • Power BI
  • Power Pivot
  • Power Query
microsoft mvp logo
trustpilot excellent rating
Secured by Sucuri Badge
MyOnlineTrainingHub on YouTube Mynda Treacy on Linked In Mynda Treacy on Instagram Mynda Treacy on Twitter Mynda Treacy on Pinterest MyOnlineTrainingHub on Facebook
 

Company

  • About My Online Training Hub
  • Disclosure Statement
  • Frequently Asked Questions
  • Guarantee
  • Privacy Policy
  • Terms & Conditions
  • Testimonials
  • Become an Affiliate

Support

  • Contact
  • Forum
  • Helpdesk - For Technical Issues

Copyright © 2023 · My Online Training Hub · All Rights Reserved. Microsoft and the Microsoft Office logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries. Product names, logos, brands, and other trademarks featured or referred to within this website are the property of their respective trademark holders.