• 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

Excel Formula|General Excel Questions & Answers|Excel Forum|My Online Training Hub

You are here: Home / Excel 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…Excel Formula
sp_PrintTopic sp_TopicIcon
Excel Formula
Avatar
Aye Mu
Member
Members
Level 0
Forum Posts: 201
Member Since:
December 22, 2018
sp_UserOfflineSmall Offline
1
March 13, 2019 - 4:53 pm
sp_Permalink sp_Print

Hi Team,

Can you please get me an excel formula for the attached.It is similar to the one Sunny has provided sometimes ago. I just cant get this one work.

Thank you so much.

Regards,

Aye

Avatar
SunnyKow
Puchong, Malaysia

VIP
Members


Trusted Members
Level 8
Forum Posts: 1432
Member Since:
June 25, 2016
sp_UserOfflineSmall Offline
2
March 13, 2019 - 6:27 pm
sp_Permalink sp_Print

In cell L2 enter

=IF(COUNTIFS($D$2:D2,D2,$B$2:B2,B2)=1,H2,L1)

Hope this helps.

Sunny

Avatar
Aye Mu
Member
Members
Level 0
Forum Posts: 201
Member Since:
December 22, 2018
sp_UserOfflineSmall Offline
3
March 14, 2019 - 8:32 am
sp_Permalink sp_Print

Hi Sunny,

Thank you so much for your prompt reply.

the formula works.

Now I have a new constraint. I have attached my intended formula for the work sheet.

Thank you.

Regards,

Aye

Avatar
SunnyKow
Puchong, Malaysia

VIP
Members


Trusted Members
Level 8
Forum Posts: 1432
Member Since:
June 25, 2016
sp_UserOfflineSmall Offline
4
March 14, 2019 - 10:06 am
sp_Permalink sp_Print

Hi Aye Mu

Can you please recheck your attachment? I think your proposed answers are inaccurate.

Make sure that your proposed answers are all correct.

I also noticed there are negative values in row 16.

Avatar
SunnyKow
Puchong, Malaysia

VIP
Members


Trusted Members
Level 8
Forum Posts: 1432
Member Since:
June 25, 2016
sp_UserOfflineSmall Offline
5
March 14, 2019 - 10:16 am
sp_Permalink sp_Print

Furthermore how do you get the highest rate?

If there is only 1 line then the highest rate in at the line itself.

Avatar
Aye Mu
Member
Members
Level 0
Forum Posts: 201
Member Since:
December 22, 2018
sp_UserOfflineSmall Offline
6
March 14, 2019 - 10:19 am
sp_Permalink sp_Print sp_EditHistory

Hi Sunny,

I am sorry, I was just checking the unhide one.

Please check the updated one now.

Many thanks, Sunny.

regards,

Aye

Hi Sunny,

If there is only one line, highest rate is the rate itself.

If there is more than one line, the rate(total) should be the highest rate if the category is not the same. 

If the category is the same, the rate(total) should be the same as itself.

Thanks, Sunny

Avatar
SunnyKow
Puchong, Malaysia

VIP
Members


Trusted Members
Level 8
Forum Posts: 1432
Member Since:
June 25, 2016
sp_UserOfflineSmall Offline
7
March 15, 2019 - 11:03 am
sp_Permalink sp_Print

Hi Aye Mu

I still don't understand the logic to calculate the amount.

This is as close as I can get. Not sure whether which of our answers are correct for cells K2 and K24.

Can you explain how you got the answers for cells K2 and K24?

Sunny

Avatar
Aye Mu
Member
Members
Level 0
Forum Posts: 201
Member Since:
December 22, 2018
sp_UserOfflineSmall Offline
8
March 18, 2019 - 1:21 pm
sp_Permalink sp_Print sp_EditHistory

Hi Team,

I will require to work out how much less funding we receive over the period.

funding has the 'Cat' as Category.

If the 'Cat' are the same for the same period for the same ID, we can just assume that we do not have any less funding and the different will be '0' which is (current 'Total' will be the same as 'Proposed Total')

If the 'Cat' are not the same for the same period for the same ID, we will have to calculate what would be received if we do not receive reduce funding 'Cat' . In that case we will have to calculate 'Days' * higher 'Revised Rate'

Please note 'Total' is not always the result of 'Days' * 'Rate' 

I have logged this call and Sunny replied me before. However there are some issue on the reply and I could not see the reply as well as I cannot attach and edit any on my previous log.

I have been advised to attached the file via help desk.

Thank you so much Team.

Regards,

Aye

 

PS. Can you also let me know if there is a way to filter out all the line without any adjustment.

In my case I would like to remove the lines if there is only one line for the same 'Date', same 'ID'. If there is reduction in funding, it will come with more than one line for the same 'Date' for the same 'ID' and I just have to find out reduction / adjustment amount for the same 'Date' for the same 'ID'.

sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: Velouria, Riny van Eekelen
Guest(s) 9
Currently Browsing this Page:
1 Guest(s)
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 870
Purfleet: 412
Frans Visser: 346
David_Ng: 306
lea cohen: 219
A.Maurizio: 202
Jessica Stewart: 202
Aye Mu: 201
jaryszek: 183
Newest Members:
michael serna
mashal sana
Tiffany Kang
Leah Gillmore
Sopi Yuniarti
LAFONSO HERNANDEZ
Hayden Hao
Angela chen
Sean Moore
John Chisholm
Forum Stats:
Groups: 3
Forums: 24
Topics: 6216
Posts: 27250

 

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