• 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.

Sumif with 2 conditions, one being 'fetch data from last Col' from a Dynamic Pivot table

SekharS

New Member
Hi Experts,

I am trying to do a Dashboard, where the source data is realtime from server, configurable as a pivot table in 'Data' tab.

I configured a pivot table, which looks like the one in 'Data' tab.
FYI - in attached, I just copy pasted values there, to re-create the data/format.

What I wanted to accomplish is:
1. In 'Summary' tab
2. sum up the Pivot Table rows that contain keywords "Modernization" & "Architecture" seperately.
3. Create a pie chart
4. Make it display the current numbers & Pie chart, upon every refresh of Pivot table.

I was successful in #2 & #3, but for #4:
1. I need a formula in 'Summary' tab cell D5 & D6, where in
2. It sums up the "last" Col of 'Data' tab, based on Keyword 'Modernization' or 'Architecture'.
3. FYI : Each row in in Pivot will contain only one of the keywords. Either 'Modernization' or 'Architecture'.

The formula that I came up with can reference to a static col (eg, G in this case).
But I need something that references to the last col, no matter how pivot table COl increase, as months go by..

Hope I was able to explain it clearly.
Thank you in advance.

Best Regs
Sekhar
 

Attachments

Thanks to you all Experts: Chihiro, John Jairo V & bocco_yip.
Really appreciate your quick responses & help.:)

Also, if you can suggest:
What's the best way to learn to construct such formulas & also step into VBA & Macros?

Thanks in advance
Sekhar
 
What's the best way to learn to construct such formulas & also step into VBA & Macros?

Hi,
You are at the right place, believe me there are many people (including me) who was not aware of basic functions before joining this forum.

You just need to focus on provided solutions, try Evaluate option for the formula and understand how the function is working. Once you realize how formulas are working, try to attempt the answer for other questions posted here. This way you will surely learn quickly.

Don't worry about the wrong attempts or mistake. Remember this famous saying:
"The person who never made a mistake never tried anything new"

Keep Exceling,
Regards,
 
Search tool in the forum and Google Search (advanced search feature especially) is your friend ;)

I've learned most of what I know from tackling various problems posted here and in other forums. As well as finding sample solutions and workbooks, then breaking it apart and reconstructing it from base data.

Use F9, Evaluate Formula, Helper columns etc to break down formula into component parts and understand how each part works.

There are many samples (especially dashboards) in https://chandoo.org/ blog posts that you can play with.
 
Back
Top