Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 11-27-2016, 02:27 PM
LearnerExcel LearnerExcel is offline How can I sum values using SumIfs condition like ... Windows 7 32bit How can I sum values using SumIfs condition like ... Office 2003
Advanced Beginner
How can I sum values using SumIfs condition like ...
 
Join Date: Nov 2016
Posts: 82
LearnerExcel will become famous soon enoughLearnerExcel will become famous soon enough
Default How can I sum values using SumIfs condition like ...


Hi,

How can I sum values using SumIfs condition to get the values like in the attached image file? For multiple records with same PRD NO., it should calculate the total Amount but put it in a related first cell of "Total" column and the other cells with same repeated PRD. NOs. should be blank in last column ("Total").

I am not able to put my question clearly but the image file can explain more.

Looking forward to your support.

Note: Multiple PRD. Nos. are highlighted.
Attached Images
File Type: png Excel_Question.PNG (60.5 KB, 25 views)
Reply With Quote
  #2  
Old 11-27-2016, 09:53 PM
xor xor is offline How can I sum values using SumIfs condition like ... Windows 10 How can I sum values using SumIfs condition like ... Office 2016
Expert
 
Join Date: Oct 2015
Posts: 1,100
xor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to all
Default

If your headings start in A1 then put this formula in C2 and copy down:

=IF(COUNTIF($B$2:B2,B2)=1,SUMIF($B$2:$B$20,B2,$C$2 :$C$20),"")


(For another time please remember that the actual Excel file with data is much more helpful than a picture).
Reply With Quote
  #3  
Old 11-28-2016, 09:39 AM
LearnerExcel LearnerExcel is offline How can I sum values using SumIfs condition like ... Windows 7 32bit How can I sum values using SumIfs condition like ... Office 2003
Advanced Beginner
How can I sum values using SumIfs condition like ...
 
Join Date: Nov 2016
Posts: 82
LearnerExcel will become famous soon enoughLearnerExcel will become famous soon enough
Default

Quote:
Originally Posted by xor View Post
If your headings start in A1 then put this formula in C2 and copy down:

=IF(COUNTIF($B$2:B2,B2)=1,SUMIF($B$2:$B$20,B2,$C$2 :$C$20),"")


(For another time please remember that the actual Excel file with data is much more helpful than a picture).
It doesn't show any result. I might be doing something wrong. Please help.
Attached Files
File Type: xlsx Question.xlsx (10.5 KB, 13 views)
Reply With Quote
  #4  
Old 11-28-2016, 09:59 AM
xor xor is offline How can I sum values using SumIfs condition like ... Windows 10 How can I sum values using SumIfs condition like ... Office 2016
Expert
 
Join Date: Oct 2015
Posts: 1,100
xor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to all
Default

See the attached.
Attached Files
File Type: xlsx Sum_PRD.xlsx (10.8 KB, 14 views)
Reply With Quote
  #5  
Old 11-28-2016, 11:40 AM
LearnerExcel LearnerExcel is offline How can I sum values using SumIfs condition like ... Windows 7 32bit How can I sum values using SumIfs condition like ... Office 2003
Advanced Beginner
How can I sum values using SumIfs condition like ...
 
Join Date: Nov 2016
Posts: 82
LearnerExcel will become famous soon enoughLearnerExcel will become famous soon enough
Default

Great sir. You saved my a lot of time since I have hundreds of records to edit.
Reply With Quote
  #6  
Old 11-28-2016, 11:44 AM
LearnerExcel LearnerExcel is offline How can I sum values using SumIfs condition like ... Windows 7 32bit How can I sum values using SumIfs condition like ... Office 2003
Advanced Beginner
How can I sum values using SumIfs condition like ...
 
Join Date: Nov 2016
Posts: 82
LearnerExcel will become famous soon enoughLearnerExcel will become famous soon enough
Default

How can I make this post "Solved"? I don't see any option here.
Reply With Quote
  #7  
Old 11-28-2016, 09:45 PM
xor xor is offline How can I sum values using SumIfs condition like ... Windows 10 How can I sum values using SumIfs condition like ... Office 2016
Expert
 
Join Date: Oct 2015
Posts: 1,100
xor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to all
Default

I am not sure "how to make this post Solved". Maybe an Administrator could step in here?
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with SUMIFS OTPM Excel 8 05-27-2016 07:54 AM
Sumifs lynchbro Excel 1 07-02-2014 09:27 AM
How can I sum values using SumIfs condition like ... Help with SUMIFS LeFoah Excel 2 10-20-2013 09:22 AM
How can I sum values using SumIfs condition like ... I need help with =SUMIFS docwhit Excel 2 01-05-2013 12:58 PM
How can I sum values using SumIfs condition like ... SumIFS Questions Kheinrich119 Excel 2 12-12-2012 10:00 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:36 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