• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Adding Multiple Columns using multiple criteria

rajkenya1

Member
Hi

I need some help on a formula in cell E17 of the Summary Tab of the attached spreadsheet which will sum all the amounts for the 6 months for ‘Short Term Care’ for the ‘Metro’ area for the year FY 2023 by looking up all the values and descriptions in the ‘Output-Detailed Costs. Similarly for FY 2024.

For example in the attached spreadsheet in cell E17 of the summary tab I have a simple formula for which adds all the staff development costs for FY 2023 for Short Term Care in the Metro region.

Is there any way one can do a formula which doesn’t require so much manual calculations?
 

Attachments

  • Formula Help 1.xlsx
    136.2 KB · Views: 2
I started trying to put something together and got some formulae to give the same answers as your expected results, but when I copied across and down they stopped working because of the awful arrangement of your source data. These formulae would be very long and complicated and be impossible to maintain/adjust to new ranges.
It was easier to use Power Query to manipulate the data and produce a pivot table from that manipulated data. See the pivot table at cell C39 of the Summary sheet.
(Instead of using your original Outputs-Detailed Costs sheet I copied it and used that instead; there's a named range RawData)
 

Attachments

  • Chandoo48418Formula Help 1.xlsx
    247.7 KB · Views: 1
Last edited:
rajkenya1
As You have read from Forum Rules - please reread those next
  • Cross-Posting. Generally, it is considered poor practice to cross post. That is to post the same question on several forums in the hope of getting a response quicker.
  • If you do cross-post, please put that in your post.
  • Also if you have cross-posted and get an Solution elsewhere, have the courtesy of posting the Solution here so other readers can learn from the answer also, as well as stopping people wasting their time on your answered question.
Ps All Forums have same kind of rules with Cross-Posting.
 
Hi

Thank you for letting me know about this.


rajkenya1
As You have read from Forum Rules - please reread those next
  • Cross-Posting. Generally, it is considered poor practice to cross post. That is to post the same question on several forums in the hope of getting a response quicker.
  • If you do cross-post, please put that in your post.
  • Also if you have cross-posted and get an Solution elsewhere, have the courtesy of posting the Solution here so other readers can learn from the answer also, as well as stopping people wasting their time on your answered question.
Ps All Forums have same kind of rules with Cross-Posting.
T
 
Thank you for trying to help me. I will look into it. Thanks so much


I started trying to put something together and got some formulae to give the same answers as your expected results, but when I copied across and down they stopped working because of the awful arrangement of your source data. These formulae would be very long and complicated and be impossible to maintain/adjust to new ranges.
It was easier to use Power Query to manipulate the data and produce a pivot table from that manipulated data. See the pivot table at cell C39 of the Summary sheet.
(Instead of using your original Outputs-Detailed Costs sheet I copied it and used that instead; there's a named range RawData)
 
Back
Top