• 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

Need formula for calculation of charges|General Excel Questions & Answers|Excel Forum|My Online Training Hub

You are here: Home / Need formula for calculation of charges|General Excel Questions & Answers|Excel Forum|My Online Training Hub

vba course banner

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…Need formula for calculation of cha…
sp_PrintTopic sp_TopicIcon
Need formula for calculation of charges
Avatar
Waqas Munir
Member
Members
Level 0
Forum Posts: 23
Member Since:
September 18, 2019
sp_UserOfflineSmall Offline
1
December 14, 2019 - 9:38 pm
sp_Permalink sp_Print

charges if 24 hour exceed and after every 24 hours charges will be different

1st 24 hour charges = 2000

2nd 24 hour charges = 2500

3rd 24 hour charges = 3000

4th 24 hour charges = 3500

i want to calculate charges for 130hours then answer should be 2000+2500+3000+3500=11000

Please download the attachment for further detail.

Waiting for reply and thanks in advance for help.

Regards

Waqas Munir

sp_AnswersTopicSeeAnswer See Answer
Avatar
Anders Sehlstedt
Eskilstuna, Sweden

VIP
Members


Trusted Members
Level 3
Forum Posts: 873
Member Since:
December 7, 2016
sp_UserOfflineSmall Offline
2
December 15, 2019 - 2:31 am
sp_Permalink sp_Print

Hello,

Just a simple example attached where I am using VLOOKUP function. Check the highlighted cell. It is showing 96 but the underlaying value is 95.98, So you get correct charge.

Avatar
Waqas Munir
Member
Members
Level 0
Forum Posts: 23
Member Since:
September 18, 2019
sp_UserOfflineSmall Offline
3
December 15, 2019 - 6:32 am
sp_Permalink sp_Print

Respected Anders Sehlstedt - Thanks for your reply but i know the solution with vlookup i m searching formula except vlook as i entered the value just for 7th 24 hour but it did not ended at 7th 24 hour it will continue i just make a chart of 1st 2nd and 3rd 24 hour charges to clear my question sorry but vlookup is not option when hours 200 or more than this so for vlook up i have to enter the criteria in range i dont need vlook up for this i have to update the table arry of vlookup. please suggest me a formula with works without this table or charges.

Avatar
Mynda Treacy
Admin
Level 10
Forum Posts: 4524
Member Since:
July 16, 2010
sp_UserOfflineSmall Offline
4
December 15, 2019 - 7:42 am
sp_Permalink sp_Print

Hi Waqas,

You can use this array formula where Total Consumed Hours is in column C (enter with CTRL+SHIFT+ENTER):

=SUM(({24;48;72;96;120;144;168}<=$C6)*{2000;2500;3000;3500;3500;3500;3500})

Or if you have Office 365 you can use this dynamic array formula:

=SUM((SEQUENCE(7,1,24,24)<=$C6)*{2000;2500;3000;3500;3500;3500;3500})

Mynda

sp_AnswersTopicAnswer
Answers Post
Avatar
Waqas Munir
Member
Members
Level 0
Forum Posts: 23
Member Since:
September 18, 2019
sp_UserOfflineSmall Offline
5
December 15, 2019 - 7:56 am
sp_Permalink sp_Print

Thanks for your cooperation and your given formula resolve my query.

Waqas Munir

sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: Alan Sidman, Sherry Fox, Lee Mapes
Guest(s) 9
Currently Browsing this Page:
1 Guest(s)
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 873
Purfleet: 414
Frans Visser: 346
David_Ng: 306
lea cohen: 222
Jessica Stewart: 218
A.Maurizio: 202
Aye Mu: 201
jaryszek: 183
Newest Members:
Blair Gallagher
Brandi Taylor
Hafiz Ihsan Qadir
Gontran Bage
adolfo casanova
Annestine Johnpulle
Priscila Campbell
Jeff Mikles
Aaron Butler
Maurice Petterlin
Forum Stats:
Groups: 3
Forums: 24
Topics: 6369
Posts: 27852

 

Member Stats:
Guest Posters: 49
Members: 32359
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.