+ Reply to Thread
Results 1 to 11 of 11

Help in IFERROR()

  1. #1
    Forum Contributor shivya's Avatar
    Join Date
    08-19-2017
    Location
    Delhi, India
    MS-Off Ver
    2013
    Posts
    240

    Lightbulb Help in IFERROR()

    Hello Experts,

    I am trying to create a dashboard in excel.
    I want to display all the data on my sheet first, so,
    I am getting an error of #NA as there is no data available.
    it's okay but
    i want " " instead of #NA.
    For this, I used iferror() of IFNA() but not working, please check
    find the attached sheet
    Attached Files Attached Files
    To attach worksheet Go advanced -> Manage attachments -> Choose file -> Upload
    Don't forget to Mention your desired result in the sheet..
    There should be sample data only, a lot of data creates confusion.

    Thanks & Regards

    Shivya

    http://excelvbatipsforbeginners.blogspot.in/

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Help in IFERROR()

    Formula: copy to clipboard
    Please Login or Register  to view this content.

    This should work, but I think it very much depends on what exactly do you mean by "not working"?

    That is a lengthy formula that could be greatly simplified if the data were laid out differently.
    Is there any reason the data is in that configuration?

    BSB

  3. #3
    Forum Contributor
    Join Date
    09-18-2015
    Location
    Republic of Korea
    MS-Off Ver
    2010
    Posts
    314

    Re: Help in IFERROR()

    I Think...

    It is better to use the INDIRECT function after defining the range for each product.

  4. #4
    Forum Contributor shivya's Avatar
    Join Date
    08-19-2017
    Location
    Delhi, India
    MS-Off Ver
    2013
    Posts
    240

    Re: Help in IFERROR()

    @BadlySpelledBuoy,

    iferror() is not working, that is the issue.
    And, data should be there because i have to create chart on
    Last edited by shivya; 12-16-2017 at 05:20 AM.

  5. #5
    Forum Contributor shivya's Avatar
    Join Date
    08-19-2017
    Location
    Delhi, India
    MS-Off Ver
    2013
    Posts
    240

    Re: Help in IFERROR()

    Quote Originally Posted by chief_abound View Post
    I Think...

    It is better to use the INDIRECT function after defining the range for each product.
    How to use indirect here?

  6. #6
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Help in IFERROR()

    That formula is crazy and difficult to maintain when you add new items.

    You'd be much better to change the way your product list is laid out and create a lookup table which contained all permutations of the strings. The first column would concatenate the three basic type strings of non_branded, flood light and bridge plus the description and every column heading of the product list into as many permutations of those strings that you have. Then in the second column of the lookup table enter the value or measurement of that permutation.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  7. #7
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,147

    Re: Help in IFERROR()

    Why not (at least) have all the "Branded" and "Non-Branded" tables together, with the product name e.g."Flood light" in either the "heading" row column A Or first data row. Plus, as already suggested, consider using named ranges.

    And don't see why such an arrangement would impact of producing charts or any other function.

    EDIT: Richard offers another approach as well.

  8. #8
    Forum Contributor shivya's Avatar
    Join Date
    08-19-2017
    Location
    Delhi, India
    MS-Off Ver
    2013
    Posts
    240

    Re: Help in IFERROR()

    yes Richard,

    any other formula is possible with the conditions?

  9. #9
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,147

    Re: Help in IFERROR()

    See attached:

    I have minimised the changes to your price tables (although further changes are possible by having a "Branded" and "Non-Branded" table to reduce headings etc).

    Named ranges in tab "Tables" for "Branded" and "Non Branded"

    in "Dashboard x"

    in F7

    =INDEX('Product Price List x'!$B$5:$R$200,MATCH('Dashboard X'!$E$8,'Product Price List x'!$A$5:$A$200,0)-1,COLUMNS($B:B))

    copy across to S

    in F8

    =IF(ROWS($1:1)<=COUNTIF('Product Price List x'!$A$5:$A$200,'Dashboard X'!$E$8),INDEX('Product Price List x'!$B$5:$R$200,MATCH('Dashboard X'!$E$8,'Product Price List x'!$A$5:$A$200,0)+ROWS($1:1)-1,COLUMNS($B:B)),"")

    Copy across and down

    format F7:R100 as Custom ";;;@" (without quotes)
    Attached Files Attached Files
    Last edited by JohnTopley; 12-16-2017 at 07:48 AM.

  10. #10
    Forum Contributor
    Join Date
    09-18-2015
    Location
    Republic of Korea
    MS-Off Ver
    2010
    Posts
    314

    Re: Help in IFERROR()

    deleted an existing name definition.

    I created a list of brands on the List sheet.

    --> This list is for use on Dashboard!E8.

    For convenience, we have defined four names and created the following formula.

    F7:T21

    --> ={IFERROR(INDIRECT(SUBSTITUTE(SUBSTITUTE(E8,"/ ","")," ","_")),"")}

    The list is as follows.

    TUBE LIGHT
    Corn Light
    Panel Light Round / Square back Light
    Bridge Street Light

    Choose one of the four lists on E8.

    If it helps...try making the other names yourself.

    I used conditional formatting to hide errors.
    Attached Files Attached Files

  11. #11
    Forum Contributor shivya's Avatar
    Join Date
    08-19-2017
    Location
    Delhi, India
    MS-Off Ver
    2013
    Posts
    240

    Re: Help in IFERROR()

    Worked for me. Thanks to John and Chief. added reputation as well.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. IFERROR Help
    By QAGuy in forum Excel Formulas & Functions
    Replies: 17
    Last Post: 03-10-2017, 02:24 PM
  2. [SOLVED] Multiple IFERROR or IFERROR w/ If Statements
    By SanchoPanza1 in forum Excel General
    Replies: 4
    Last Post: 03-31-2016, 08:09 PM
  3. [SOLVED] IFERROR(MATCH & IFERROR(SMALL Help Needed
    By chad328 in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 01-17-2016, 06:34 AM
  4. IFERROR within IFERROR until no error. Help.
    By XNemo in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-26-2014, 12:30 PM
  5. xlfn.IFERROR or IFERROR don't work in Excel 98-2003
    By dj_danu01 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-26-2013, 02:53 AM
  6. [SOLVED] IFERROR help -
    By adamjohnson182 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-05-2013, 06:47 PM
  7. [SOLVED] Sum+IFERROR Help
    By chriswiec in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 01-27-2013, 09:43 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1