Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 12-28-2016, 09:20 AM
pfarrelli pfarrelli is offline Sum  scattered data with same label Windows 7 64bit Sum  scattered data with same label Office 2013
Novice
Sum  scattered data with same label
 
Join Date: Dec 2016
Posts: 2
pfarrelli is on a distinguished road
Default Sum scattered data with same label


Hi, This is just an example or sample of what I would like to do on a much larger spreadsheet and the solution we find should apply easily.

On the attached sheet I want to fill in the "Totals" area that has the ??? with the sum of all data with the same label that is scattered throughout the sheet. The value for each label is consistently one cell to the right of the label. Is it possible to do this with ONE formula in the totals area?

I was able to pull it off with hidden SUMIFs for each column and label and then SUM all of the SUMIFs for each label in the totals area, but I thought there might be a more elegant solution with just one formula for each total.

Ideas?

Thanks.

P
Attached Files
File Type: xlsx Example.xlsx (10.4 KB, 9 views)
Reply With Quote
  #2  
Old 12-28-2016, 01:40 PM
jeffreybrown jeffreybrown is offline Sum  scattered data with same label Windows Vista Sum  scattered data with same label Office 2007
Expert
 
Join Date: Apr 2016
Posts: 673
jeffreybrown has a spectacular aura aboutjeffreybrown has a spectacular aura about
Default

Try in K13 and copied down...

=SUMIF(A:G,J13,B:H)
Reply With Quote
  #3  
Old 12-28-2016, 02:03 PM
pfarrelli pfarrelli is offline Sum  scattered data with same label Windows 7 64bit Sum  scattered data with same label Office 2013
Novice
Sum  scattered data with same label
 
Join Date: Dec 2016
Posts: 2
pfarrelli is on a distinguished road
Default

Yes! thsi worked! Not 100% sure why it worked but it does. thanks.
Reply With Quote
  #4  
Old 12-28-2016, 02:07 PM
jeffreybrown jeffreybrown is offline Sum  scattered data with same label Windows Vista Sum  scattered data with same label Office 2007
Expert
 
Join Date: Apr 2016
Posts: 673
jeffreybrown has a spectacular aura aboutjeffreybrown has a spectacular aura about
Default

You're very welcome and thanks for the feedback.

Look at the offset ranges.

The criteria range starts in column A with the sum range beginning in column B.

=SUMIF(range,criteria,sum_range)

As long as the blank columns (C and F) remained spaced out in the same manner, you can use this sumif for more columns keeping the same pattern.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Formatting data in scattered rows into rows following each other MorneDJ Excel 3 12-10-2016 12:35 AM
Pie chart showing more than one data label chickasaw Excel 2 03-10-2015 07:27 PM
How to add data label individually in a stacked-bar chart? officeboy09 Excel 0 10-17-2013 01:26 AM
Display a label character in a data cell markg2 Excel 9 09-07-2013 05:56 AM
Trying to merge label data from file ClayShannon Mail Merge 0 09-16-2009 10:08 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 10:38 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft