+ Reply to Thread
Results 1 to 11 of 11

IFERROR Formula results in #SPILL

  1. #1
    Forum Contributor
    Join Date
    11-13-2013
    Location
    California
    MS-Off Ver
    Excel 365 Apps for enterprise
    Posts
    180

    IFERROR Formula results in #SPILL

    I have a formula I've been using forever now - basically anytime I need to add info from sheet 2 to sheet one based on a matched comparison.

    My formula is: =IFERROR(INDEX(PT[HR Pay Tech Name],MATCH([@Unit],PT[Unit '#],0)),"")

    I've kept this formula on a windows sticky note so I can copy and paste it whenever I need it. I'll modify it as needed, but I kept it there so I didn't have to remember it.

    However, recently whenever I copy it from the sticky note to excel I'm getting the spill error and then the results are appearing below my table.

    Any idea how to correct this?
    Last edited by JennOlsen; 01-19-2021 at 08:20 PM.

  2. #2
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365 for MAC
    Posts
    3,105

    Re: IRERROR Formula results in #SPILL

    Then you dont use Excel 2016.... you use office 365?

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,364

    Re: IRERROR Formula results in #SPILL

    Have you updated your version of Excel? Do you have any data below the table?
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365 for MAC
    Posts
    3,105

    Re: IRERROR Formula results in #SPILL

    And I suggest you upload your file, or at least a sample file that is showing your case in a representative way.
    Look at the yellow banner at the top of the page for instructions.

  5. #5
    Forum Contributor
    Join Date
    11-13-2013
    Location
    California
    MS-Off Ver
    Excel 365 Apps for enterprise
    Posts
    180

    Re: IRERROR Formula results in #SPILL

    I didn't think a sample would be relevant since it happens on ALL files. But as requested, here's a sample. The formula names won't match exactly, but the idea is the same.

    AS to the other question, it does seem this error started happening after our IT department ran some sort of update to Microsoft Office. There is no other data below the table.
    Attached Files Attached Files

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,416

    Re: IRERROR Formula results in #SPILL

    There is no formula in the attachment ...

    Can you please confirm which version you are using? Your profile says Excel 2016, but as noted, the problem you are having suggests Excel 365.
    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.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  7. #7
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,364

    Re: IRERROR Formula results in #SPILL

    The formula quoted in your OP does not seem to bear any relationship to the sample file you have uploaded.

    Unless you are prepared to provide a suitable sample file any other related detail, I'm out.

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,416

    Re: IRERROR Formula results in #SPILL

    One stab in the dark - try adding @ to the start of the formula:

    =@IFERROR(INDEX(PT[HR Pay Tech Name],MATCH([@Unit],PT[Unit '#],0)),"")

  9. #9
    Forum Contributor
    Join Date
    11-13-2013
    Location
    California
    MS-Off Ver
    Excel 365 Apps for enterprise
    Posts
    180

    Re: IFERROR Formula results in #SPILL

    I apologize for the really bad posts. I claim sleep dep - bad wind storm last night kept me up all night. Haven't slept since Sunday night...

    The company is now using Microsoft 365 Apps for enterprise. I assume this is why the formula isn't working right. So let me start from scratch. I need a formula that I can put in column B that will match column A on Sheet 1 to column C on sheet 2 and return the data from column A on sheet 2. row two represents what it should look like when it's done. If it doesn't find a match, I would like the cell to remain blank.

    I've attached a small sample.

    I really appreciate everyone's help and beg forgiveness for the crappy posts.

    Thank you!
    Attached Files Attached Files

  10. #10
    Forum Expert
    Join Date
    07-06-2004
    Location
    Northern California
    MS-Off Ver
    2K, 2003, 2010, O365
    Posts
    1,490

    Re: IFERROR Formula results in #SPILL

    Your sample workbook as downloaded and opened doesn't have any tables. Thus, only range addressing available.

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

    If Sheet1!A1:J4 were a table, and Sheet2!A1:E4 were a table named TBL_2, the formula could be
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  11. #11
    Forum Contributor
    Join Date
    11-13-2013
    Location
    California
    MS-Off Ver
    Excel 365 Apps for enterprise
    Posts
    180

    Re: IFERROR Formula results in #SPILL

    Thank you! This is wonderful!

+ 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. Replies: 5
    Last Post: 01-27-2021, 12:07 PM
  2. [SOLVED] String-to-columns spill formula
    By ExcelFan117 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-10-2020, 07:09 AM
  3. Hashtag # to spill a formula - excel 365
    By Limor_OP in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 11-13-2020, 02:22 PM
  4. Replies: 5
    Last Post: 08-31-2020, 04:31 AM
  5. [SOLVED] Filter Causing SPILL# in IF Formula
    By Fugdkn in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-18-2020, 06:29 AM
  6. Spill Error with index match formula
    By Daniel_ISS in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-10-2020, 09:36 AM
  7. [SOLVED] Add a condition in a IRERROR
    By Exequiel3k in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-22-2016, 01:39 PM

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