Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 07-02-2017, 11:38 AM
koltanga koltanga is offline Display Difference Between Values In 2 Sheets Windows 10 Display Difference Between Values In 2 Sheets Office 2007
Novice
Display Difference Between Values In 2 Sheets
 
Join Date: May 2017
Posts: 4
koltanga is on a distinguished road
Default Display Difference Between Values In 2 Sheets

Need some help eliminating used element from a huge list & retain only unused ones.


I have attached a spreadsheet file. It contains 2 sheets:
* Master Sheet - contains Element Number [Column A] & Number of each Element [Column B]
* Subset Sheet - contains Elements used [Column B] & Quantity used [Column D]


How can I create a new sheet, that is a copy of the Master Sheet, that has eliminated the elements that have been included in Subset Sheet?


For example, the Master List contains 12 Nos. of the Element 05-10000 [A4, B4]. The Subset indicates that 7 Nos. of 05-10000 [B2, D2] have been utilized.


Therefore, I would like the new sheet to indicate that 5 Nos. of Element 05-10000 remain.


Additionally, the Subset sheet indicates that 1 Nos. of element 05-10100 was used. Therefore, the new sheet must indicate that 0 Nos. of 05-10100 remain.


Do note that the Element Numbers in the Subset are not arranged in sequential order.
Alternately, it is also fine, if the balance quantity can be displayed in a new column of the Master Sheet itself.




Please guide.


TIA
Attached Files
File Type: xls Comparison - Upload.xls (493.0 KB, 11 views)
Reply With Quote
  #2  
Old 07-02-2017, 01:40 PM
NoSparks NoSparks is offline Display Difference Between Values In 2 Sheets Windows 7 64bit Display Difference Between Values In 2 Sheets Office 2010 64bit
Excel Hobbyist
 
Join Date: Nov 2013
Location: British Columbia, Canada
Posts: 842
NoSparks is a glorious beacon of lightNoSparks is a glorious beacon of lightNoSparks is a glorious beacon of lightNoSparks is a glorious beacon of lightNoSparks is a glorious beacon of light
Default

Try this in M4 of "Master List" and drag down

=$B4-SUMIF(Subset!$B$2:$B$660,'Master List'!$A4,Subset!$D$2:$D$660)
Reply With Quote
  #3  
Old 07-04-2017, 12:25 PM
koltanga koltanga is offline Display Difference Between Values In 2 Sheets Windows 10 Display Difference Between Values In 2 Sheets Office 2007
Novice
Display Difference Between Values In 2 Sheets
 
Join Date: May 2017
Posts: 4
koltanga is on a distinguished road
Default

I am getting the
Code:
#NAME?
error.
Please guide.
Reply With Quote
  #4  
Old 07-04-2017, 12:49 PM
NoSparks NoSparks is offline Display Difference Between Values In 2 Sheets Windows 7 64bit Display Difference Between Values In 2 Sheets Office 2010 64bit
Excel Hobbyist
 
Join Date: Nov 2013
Location: British Columbia, Canada
Posts: 842
NoSparks is a glorious beacon of lightNoSparks is a glorious beacon of lightNoSparks is a glorious beacon of lightNoSparks is a glorious beacon of lightNoSparks is a glorious beacon of light
Default

Works for me when tested or I wouldn't have suggested this.

Does your region of the world use ; instead of , in formulas ?
Reply With Quote
  #5  
Old 07-04-2017, 12:56 PM
koltanga koltanga is offline Display Difference Between Values In 2 Sheets Windows 10 Display Difference Between Values In 2 Sheets Office 2007
Novice
Display Difference Between Values In 2 Sheets
 
Join Date: May 2017
Posts: 4
koltanga is on a distinguished road
Default

Thanks NoSparks. Tweaked it a bit & now it is working. The working expression.
Code:
=B4-SUMIF(Subset.$B$2:$B$660,'Master List'.A4,Subset.$D$2:$D$660)
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple found values from five sheets, multiple returned values in sheet six? irisha Excel Programming 26 09-30-2016 01:20 AM
Display Difference Between Values In 2 Sheets get values from sheets pero978 Excel 1 01-11-2016 11:37 PM
Display multiple values as new values based on selection from template. MvdB Excel 2 09-29-2015 08:51 PM
Display Difference Between Values In 2 Sheets Reporting Values Between Sheets/Tabs jjbNana Excel 3 10-06-2011 10:28 PM
Display Difference Between Values In 2 Sheets Sum & difference between multiple values in a single cell iuliandonici Excel 4 04-13-2011 09:27 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:56 AM.


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