+ Reply to Thread
Results 1 to 7 of 7

Combine two iferror formula

Hybrid View

  1. #1
    Registered User
    Join Date
    02-10-2010
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    12

    Combine two iferror formula

    Hi

    I am trying to combine two "iferror" formula. I do get the return value but for some reason the value appear on the left side of the cell. I tried to formatting the cell with options to General, Number, comma style etc but it didn't work.
    this is the formula:
    =IFERROR(LOOKUP(2,1/(Planning!A:A=O6)/(Planning!B:B=P6)/(Planning!C:C=Q6)/(Planning!D:D=R6),(Planning!E:E))," ")&IFERROR(LOOKUP(2,1/(Planning!A:A=O6)/(Planning!B:B=P6)/(Planning!C:C=$Q$4)/(Planning!D:D=R6),(Planning!E:E))," ")

    or is there any alternate way.

    Thanks

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,989

    Re: Combine two iferror formula

    Are ou still using Excel 2003? If not, please update your profile.

    The formula as it stands will return concatenated values as text.

    Try this:

    =IFERROR(LOOKUP(2,1/(Planning!A:A=O6)/(Planning!B:B=P6)/(Planning!C:C=Q6)/(Planning!D:D=R6),(Planning!E:E)),"")&IFERROR(LOOKUP(2,1/(Planning!A:A=O6)/(Planning!B:B=P6)/(Planning!C:C=$Q$4)/(Planning!D:D=R6),(Planning!E:E)),"")

    or this:

    =--IFERROR(LOOKUP(2,1/(Planning!A:A=O6)/(Planning!B:B=P6)/(Planning!C:C=Q6)/(Planning!D:D=R6),(Planning!E:E)),"")&--IFERROR(LOOKUP(2,1/(Planning!A:A=O6)/(Planning!B:B=P6)/(Planning!C:C=$Q$4)/(Planning!D:D=R6),(Planning!E:E)),"")

    or even this:

    =--IFERROR(LOOKUP(2,1/(Planning!A:A=O6)/(Planning!B:B=P6)/(Planning!C:C=Q6)/(Planning!D:D=R6),(Planning!E:E)),"")+--IFERROR(LOOKUP(2,1/(Planning!A:A=O6)/(Planning!B:B=P6)/(Planning!C:C=$Q$4)/(Planning!D:D=R6),(Planning!E:E)),"")

    Failing that, attach a sample workbook.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    02-10-2010
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    12

    Re: Combine two iferror formula

    Quote Originally Posted by Learner1 View Post
    Hi

    I am trying to combine two "iferror" formula. I do get the return value but for some reason the value appear on the left side of the cell. I tried to formatting the cell with options to General, Number, comma style etc but it didn't work.
    this is the formula:
    =IFERROR(LOOKUP(2,1/(Planning!A:A=O6)/(Planning!B:B=P6)/(Planning!C:C=Q6)/(Planning!D:D=R6),(Planning!E:E))," ")&IFERROR(LOOKUP(2,1/(Planning!A:A=O6)/(Planning!B:B=P6)/(Planning!C:C=$Q$4)/(Planning!D:D=R6),(Planning!E:E))," ")

    or is there any alternate way.

    Thanks
    I have uploaded the Workbook. Please refer cell "T2"
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    02-10-2010
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    12

    Re: Combine two iferror formula

    I have uploaded the workbook

  5. #5
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,466

    Re: Combine two iferror formula

    Please try: =--(<your formula>)
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    02-10-2010
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    12

    Re: Combine two iferror formula

    Hi

    Thanks for your help. I am using the same formula where the return value is #VALUE!.
    How could it be updated to have "0" if there #VALUE!, #N/A etc

  7. #7
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,466

    Re: Combine two iferror formula

    Please try:
    Formula: copy to clipboard
    =IFERROR(--(<your formula>),0)

+ 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. Trying to Combine an IF Statement with an IFERROR and XLOOKUP's
    By NothingNew-x in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 04-09-2022, 04:38 PM
  2. [SOLVED] How to combine IF, IFERROR & VLOOKUP? Or Alternative
    By hakunamatata167 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-14-2021, 07:38 AM
  3. Combine 2 iferror argument into one formula
    By kenjigoh in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 07-03-2020, 04:06 AM
  4. Combine Vlookup with iferror and sums it up
    By gill123 in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 02-13-2018, 01:49 PM
  5. How to combine IF, IFerror and Vlookup formula?
    By jgomez in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-30-2016, 04:10 AM
  6. [SOLVED] combine IF and IFERROR
    By johnandrews in forum Excel General
    Replies: 8
    Last Post: 12-15-2014, 02:27 PM
  7. combine IFAND with IFERROR?
    By simplify in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 10-08-2009, 02:31 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