• 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
  • Blog
  • Excel Webinars
  • Excel Forum
    • Register as Forum Member
  • Login

_XLFN ERROR Appears in front of a function|General Excel Questions & Answers|Excel Forum|My Online Training Hub

You are here: Home / _XLFN ERROR Appears in front of a function|General Excel Questions & Answers|Excel Forum|My Online Training Hub

office scripts course

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…_XLFN ERROR Appears in front of a f…
sp_PrintTopic sp_TopicIcon
_XLFN ERROR Appears in front of a function
Avatar
StefiHlm
Member
Members
Level 0
Forum Posts: 15
Member Since:
February 20, 2019
sp_UserOfflineSmall Offline
1
March 21, 2019 - 7:15 pm
sp_Permalink sp_Print

Hello,

I have created a spreadsheet, a user told me that once he tried to change values he got a #NAME error and in front of the functions "xlfn." appears. I googled it and found out that it has to do with Excel versions, because if the version is too old it can't support some functions. I suspected that a "new" function would be HLOOKUP and IFERROR, so i deleted them but the error keeps coming. The user said he tried to open it with Excel 2016 and it still didn't work. It works perfectly fine in my MacBook though, and some user's windows laptops (but they had the newest excel version). My question is: does it only have to do with the version or is there something wrong with that users settings? 

Greetings,

Stefi

Avatar
Velouria
London or thereabouts
Moderator
Members


Trusted Members

Moderators
Level 4
Forum Posts: 688
Member Since:
November 1, 2018
sp_UserOfflineSmall Offline
2
March 21, 2019 - 9:39 pm
sp_Permalink sp_Print

It is the version. If Excel 2016 has the problem, I'd guess you are using a function that is restricted to subscription versions/Excel 2019. Why don't you ask him which cell(s) have the error?

Avatar
Anders Sehlstedt
Eskilstuna, Sweden

VIP
Members


Trusted Members
Level 3
Forum Posts: 880
Member Since:
December 7, 2016
sp_UserOfflineSmall Offline
3
March 22, 2019 - 6:39 am
sp_Permalink sp_Print

Hi,

You can check at Microsoft's web page https://support.office.com/en-.....d90033e188 when a function was introduced.

Br,
Anders

Avatar
StefiHlm
Member
Members
Level 0
Forum Posts: 15
Member Since:
February 20, 2019
sp_UserOfflineSmall Offline
4
March 22, 2019 - 11:05 pm
sp_Permalink sp_Print

Hello Velouria and Anders,

He said that the error appears in all cells, i think the problem might be in the function IFS(), since i have used it in all cells. I'll check the link Anders 🙂

Thank you both for your replies!

 

Greetings,

Stefi

Avatar
Velouria
London or thereabouts
Moderator
Members


Trusted Members

Moderators
Level 4
Forum Posts: 688
Member Since:
November 1, 2018
sp_UserOfflineSmall Offline
5
March 23, 2019 - 6:47 pm
sp_Permalink sp_Print

Why have you used IFS in every cell? IFS is not particularly efficient as it evaluates all the criteria expressions and all the value expressions no matter what. It's not like IF that only evaluates the parts it has to - i.e. either the true or false expression but never both.

Avatar
StefiHlm
Member
Members
Level 0
Forum Posts: 15
Member Since:
February 20, 2019
sp_UserOfflineSmall Offline
6
March 25, 2019 - 5:07 pm
sp_Permalink sp_Print

Hi Velouria,

 

I have tried to use IF() instead of IFS() but it keeps telling me that i add too many arguments, and it seems like only IFS() work in this case. For example one cell looks like this:

IFS(B8<'Fill up & Results'!$B$15;IF(H9<2300; 64/H9;IF(H9>4000;1/(-2*LOG('Fill up & Results'!$F$5*0,001/(3,7*F9)-(5,02/H9)*LOG(('Fill up & Results'!$F$5*0,001/(3,7*F9))+(13/H9))))^2;"Error"));B8='Fill up & Results'!$B$15;"";B8>'Fill up & Results'!$B$15;"")

and depending on a value in another cell it uses the right function. 

 

Greetings,

Stefi 

Avatar
Velouria
London or thereabouts
Moderator
Members


Trusted Members

Moderators
Level 4
Forum Posts: 688
Member Since:
November 1, 2018
sp_UserOfflineSmall Offline
7
March 26, 2019 - 7:10 pm
sp_Permalink sp_Print

Since your last two criteria are just returning "", all you need is this:

 

=IF(B8<'Fill up & Results'!$B$15;IF(H9<2300; 64/H9;IF(H9>4000;1/(-2*LOG('Fill up & Results'!$F$5*0,001/(3,7*F9)-(5,02/H9)*LOG(('Fill up & Results'!$F$5*0,001/(3,7*F9))+(13/H9))))^2;"Error"));"")

 

which should be more efficient.

Avatar
StefiHlm
Member
Members
Level 0
Forum Posts: 15
Member Since:
February 20, 2019
sp_UserOfflineSmall Offline
8
March 28, 2019 - 7:56 pm
sp_Permalink sp_Print

Hi Velouria, 

Thank you very much the help, i’ll change all the functions from IFS() to IF(). 😀 

 

Greetings,

Stefi 

sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: John DiMatteo, Leigh Thomas
Guest(s) 8
Currently Browsing this Page:
1 Guest(s)
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 880
Purfleet: 414
Frans Visser: 346
David_Ng: 306
lea cohen: 237
Jessica Stewart: 219
A.Maurizio: 213
Aye Mu: 201
jaryszek: 183
Newest Members:
Trevor Pindling
Stevan Kanjo
Erin Sheldon
Nikita Bhatia
Sheilah Taylor
Clare Webber
David Jenssen
Dominic Brosnahan
Young You
Jennifer Owens
Forum Stats:
Groups: 3
Forums: 24
Topics: 6525
Posts: 28555

 

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

Sidebar

Blog Categories

  • Excel
  • Excel Charts
  • Excel Dashboard
  • Excel Formulas
  • Excel Office Scripts
  • 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

Sign up to our newsletter and join over 400,000
others who learn Excel and Power BI with us.

 

Company

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

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.