• 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
    • SALE 20% Off All Courses
    • 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
  • Login

Writing formulas - general question|General Excel Questions & Answers|Excel Forum|My Online Training Hub

You are here: Home / Writing formulas - general question|General Excel Questions & Answers|Excel Forum|My Online Training Hub
                    BLACK FRIDAY SALE 20% OFF ALL COURSES
Avatar
sp_LogInOut Log In sp_Registration Register
sp_Search Search
Advanced Search
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…Writing formulas - general question
sp_PrintTopic sp_TopicIcon
Writing formulas - general question
Avatar
Alan Ramsay
Member
Members
Level 0
Forum Posts: 79
Member Since:
April 23, 2015
sp_UserOfflineSmall Offline
1
March 11, 2021 - 4:28 am
sp_Permalink sp_Print

Hi there,

I have a very general question.  Can anyone recommend any approach/process to get comfortable and truly understand the logic of formula's in Excel?  I guess a myonlinetraininghub course might be recommended 😉   and I'd consider that for sure but I am often stuck or struggling as I try to write formulas and often I think because I am not fully understanding the logic of the syntax. 
 
For example: =IF(ISNUMBER(SEARCH("/",A4)),TEXT(LEFT(A4,FIND("/",A4)-1) / MID(A4,FIND("/",A4)+1,99),"#.000#"),TEXT(A4,"#0.000#"))
 
That type of formula, not these functions specifically but this type of "complex" formula that involves multiple functions.
 
Any and all advice appreciated!
 
Alan
sp_AnswersTopicSeeAnswer See Answer
Avatar
Philip Treacy
Admin
Level 10
Forum Posts: 1563
Member Since:
October 5, 2010
sp_UserOfflineSmall Offline
2
March 11, 2021 - 9:09 am
sp_Permalink sp_Print

Hi Alan,

I would say that I understand that formula because I understand how each of the functions in it works, or at least I understand the parameters each function needs.

You have to take each function in isolation and understand what it is doing and the data you need to feed into it to make it work.

IF requires a test, then it returns a value if that test is true or false.

The test is ISNUMBER(SEARCH("/",A4)).  ISNUMBER checks if a value is a number. What's it checking?  Its checking the result of SEARCH("/",A4). What does that mean? It means SEARCH is looking for the / character in cell A4.  If it finds / it returns a number, if it doesn't find / it returns the #VALUE error.

So you have to work your way down the 'chain' of embedded functions until you get a specific result from some function, then you have to work your way back up that chain evaluating each functions result based on the first result.

I guess to understand a formula with nested functions you need to know the functions but also need to know a method to evaluate the functions in the formula.

On this page Mynda has a video and she explains how to use tools for understanding and debugging complex formulas

Excel Formulas Not Working? • My Online Training Hub

 

You can also check these pages for info on functions and formulas

Excel Formulas • My Online Training Hub

Excel Functions Explained in Plain English and Practical Examples (myonlinetraininghub.com)

 

And consider our courses 

https://www.myonlinetraininghu.....s-course 

https://www.myonlinetraininghu.....rt-upgrade

 

Regards

Phil

sp_AnswersTopicAnswer
Answers Post
Avatar
Alan Ramsay
Member
Members
Level 0
Forum Posts: 79
Member Since:
April 23, 2015
sp_UserOfflineSmall Offline
3
March 12, 2021 - 2:32 am
sp_Permalink sp_Print

Hi Phil,

Perfect reply!  Many thanks for taking the time to walk me through your approach and for providing the links etc.  Plenty for me to work on now!

Alan

sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: Wang
Guest(s) 11
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Catalin Bombea: 1864
SunnyKow: 1432
Anders Sehlstedt: 886
Purfleet: 414
Frans Visser: 346
David_Ng: 306
lea cohen: 241
Hans Hallebeek: 225
Jessica Stewart: 219
A.Maurizio: 213
Newest Members:
Robert Corbyn
Tamara Nelson
Phil Collins
Robert Moran
Mark Niemiec
Michael Groh
Paula Holbrook
Russ Cockings
Huub Poppelaars
Pieter Brandsen
Forum Stats:
Groups: 3
Forums: 24
Topics: 6639
Posts: 29131

 

Member Stats:
Guest Posters: 49
Members: 33081
Moderators: 2
Admins: 3
Administrators: Mynda Treacy, Philip Treacy, Jessica
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.