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

Help with a formula|General Excel Questions & Answers|Excel Forum|My Online Training Hub

You are here: Home / Help with a formula|General Excel Questions & Answers|Excel Forum|My Online Training Hub
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…Help with a formula
sp_PrintTopic sp_TopicIcon
Help with a formula
Avatar
Laura McDonald

Active Member
Members
Level 0
Forum Posts: 3
Member Since:
February 24, 2021
sp_UserOfflineSmall Offline
1
February 24, 2021 - 11:28 pm
sp_Permalink sp_Print

Hello, It's been quite sometime since I had to use Excel for anything other than basic stuff, so my skills have become rusty.  I am trying to use the IF function and I'm not getting what I need.  Here is what I am looking for.  If L3=0 then I need M3 to equal the total of F3+G3+H3+J3 *.15.  Can someone help me?  Thanks!

Avatar
henry g
Member
Members
Level 0
Forum Posts: 7
Member Since:
February 24, 2021
sp_UserOfflineSmall Offline
2
February 25, 2021 - 12:38 am
sp_Permalink sp_Print

try in M3

=if(L3=0,(F3+G3+H3+J3)*0.15,"") or =if(L3=0,sum(F3:J3)*0.15,"") assuming you want the result of the summation multiplied by .15 as opposed to just J3.

Avatar
Laura McDonald

Active Member
Members
Level 0
Forum Posts: 3
Member Since:
February 24, 2021
sp_UserOfflineSmall Offline
3
February 25, 2021 - 1:28 am
sp_Permalink sp_Print

Thanks for the suggestion, I have tried those and get errors 508 (brackets don't add up) and 509 (missing operator). I feel those should work, but they aren't.

Avatar
henry g
Member
Members
Level 0
Forum Posts: 7
Member Since:
February 24, 2021
sp_UserOfflineSmall Offline
4
February 25, 2021 - 4:07 am
sp_Permalink sp_Print sp_EditHistory

Sorry, works for me, and I can't imagine why it doesn't for you. Did you copy and paste the formulas? Do all the cells F3:J3 contain numbers?

Avatar
Mynda Treacy
Admin
Level 10
Forum Posts: 4449
Member Since:
July 16, 2010
sp_UserOfflineSmall Offline
5
February 25, 2021 - 10:24 am
sp_Permalink sp_Print

Sometimes the double quotes get copied in a different style when copying from web pages. I would try entering the formula by typing it in yourself to see if that helps. If not, share a screenshot of your formula or a sample Excel file.

Avatar
Lionel Baijot
Member
Members
Level 0
Forum Posts: 114
Member Since:
September 9, 2020
sp_UserOfflineSmall Offline
6
February 25, 2021 - 3:06 pm
sp_Permalink sp_Print

Hi Laura,

When you post a question, it is a good idea to specify whether you are using Excel or Calc or... The errors you mention seem to come from Calc. You cannot simply copy and paste henry's formula because Calc uses other settings. For example, on my machine I had to replace the ',' with ';'. The easiest way is to understand the formula and then write it in Calc, taking care of the help information.

BR,

Lionel

Avatar
Laura McDonald

Active Member
Members
Level 0
Forum Posts: 3
Member Since:
February 24, 2021
sp_UserOfflineSmall Offline
7
February 26, 2021 - 4:04 am
sp_Permalink sp_Print

Once I typed it in rather than copy/paste, it is working like it should. Thanks for the help everyone!

sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: Sonja Mason, Alexandra Radu, Denise Lloyd
Guest(s) 9
Currently Browsing this Page:
1 Guest(s)
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 871
Purfleet: 412
Frans Visser: 346
David_Ng: 306
lea cohen: 219
A.Maurizio: 202
Jessica Stewart: 202
Aye Mu: 201
jaryszek: 183
Newest Members:
Raj Mattoo
Mark Luke
terimeri dooriyan
Jack Aston
AndyC
Denise Lloyd
michael serna
mashal sana
Tiffany Kang
Leah Gillmore
Forum Stats:
Groups: 3
Forums: 24
Topics: 6219
Posts: 27276

 

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

Sidebar

Blog Categories

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

Company

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

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.