Forum

Notifications
Clear all

Sum the values based on the numbers selecting from dropdown list

4 Posts
3 Users
0 Reactions
69 Views
(@revathi-cdr)
Posts: 8
Active Member
Topic starter
 

Thank you for your reply to Creteria # 195756

But the value should change automatically in cell C5, when we selecting the numbers from drop down list in working all tab cell B2.

Cell B2 contain drop down list, when we select the 1 , it should sum the values from data sheet in column C with reference of B1 and B5 in Working All tab.

When we select 2 in cell B2 , it should sum the values from data sheet in column C and column D with reference of B1 and B5 in Working All tab.

if its 3, it should sum the values from data sheet in column C, column D and Column E with reference of B1 and B5 in Working All tab.

We tried with if and sum ifs formula, is there any other simplest formula to find the values based on the above.

Thank you in advance for your kind support.

 
Posted : 20/07/2017 3:34 am
(@sunnykow)
Posts: 1417
Noble Member
 

Hi Revathi

No idea what you meant by "simplest" formula. 

For me all formulas are complicated.Smile

See if the attachment helps.

Sunny

 
Posted : 21/07/2017 12:32 am
(@revathi-cdr)
Posts: 8
Active Member
Topic starter
 

Thank you Sunny,

formulas are complicated, but mine is too big and too complicated right.

Just curious to know is there any other option or any other alternate method..

 
Posted : 21/07/2017 9:51 am
(@mynda)
Posts: 4761
Member Admin
 

Hi Revathi,

The reason your formulas are too big and complicated is because your data in not in the correct layout, for if it were then you could use a PivotTable to summarise this data.

See the file attached - sheet 'Unpivoted Data'. I used Power Query to Unpivot your data, then a PivotTable to summarise it they way you want. I also included a Slicer (available in Excel 2010 onwards) to allow you to select the quarters you want to summarise.

More reading on the correct format for your data here: https://www.myonlinetraininghub.com/excel-tabular-data-format

Mynda

 
Posted : 25/07/2017 6:38 am
Share: