Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 12-02-2013, 05:16 PM
beginner beginner is offline Sum up cells Windows 7 32bit Sum up cells Office 2007
Advanced Beginner
Sum up cells
 
Join Date: Sep 2011
Location: Europe
Posts: 45
beginner will become famous soon enough
Question [SOLVED] Sum up cells


I need to sum up the values ​​above to the first blank cell using a formula with a particular condition. My formula is not working
Code:
=SUMIF($A$2:INDEX($A$2:$A$10;MATCH(TRUE;INDEX($A$2:$A$10=$D$2;0);0));D2;$B2:INDEX($B$2:$B$10;MATCH(TRUE;INDEX($B$2:$B$10="";0);0)))
Can somebody help me with formula (not VBA)
Attached Files
File Type: xls example.xls (17.5 KB, 13 views)

Last edited by beginner; 12-04-2013 at 12:57 AM. Reason: solved
Reply With Quote
  #2  
Old 12-03-2013, 06:59 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Sum up cells Windows 7 64bit Sum up cells Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,920
Pecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond repute
Default

Perhaps try this instead
Code:
=SUMPRODUCT((($A$2:INDEX($A$2:$A$10,MATCH(TRUE,INDEX($B$2:$B$10="",0),0)))=D2)*($B$2:INDEX($B$2:$B$10,MATCH(TRUE,INDEX($B$2:$B$10="",0),0))))
__________________
Using O365 v2503 - Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
  #3  
Old 12-03-2013, 03:07 PM
beginner beginner is offline Sum up cells Windows 7 32bit Sum up cells Office 2007
Advanced Beginner
Sum up cells
 
Join Date: Sep 2011
Location: Europe
Posts: 45
beginner will become famous soon enough
Default

Quote:
Originally Posted by Pecoflyer View Post
Perhaps try this instead
thank you on the correct formula
[SOLVED]
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
In Excel 2007-After Selecting Visibe Cells-How do I "Copy to Visible cells" Only mag Excel 0 10-28-2012 08:04 PM
Sum up cells Un even cells lostsoul62 Excel 5 10-17-2012 08:33 AM
Sum up cells How-TO format cells (FILL) by comparing cells zanat0s Excel 1 07-03-2012 04:27 AM
Count range cells eliminating merge cells danbenedek Excel 0 06-15-2010 12:40 AM
Display the cells which add up to a certain sum edbyford Excel 1 11-26-2009 01:30 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:47 PM.


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