Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 04-11-2022, 03:54 AM
ArviLaanemets ArviLaanemets is offline How to sum EstCost if Job = "100000"? Windows 8 How to sum EstCost if Job = "100000"? Office 2016
Expert
 
Join Date: May 2017
Posts: 960
ArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant future
Default

Quote:
Originally Posted by Debaser View Post
FWIW, SUMIF/SUMIFS don't care whether the data is numeric text or a real number, so:
=SUMIF(Jobcost!$A:$A,$A2,Jobcost!D)


copied across and down would do the job.
But "'XXX" will never be equal with "XXX"
Reply With Quote
  #2  
Old 04-11-2022, 04:36 AM
Debaser's Avatar
Debaser Debaser is offline How to sum EstCost if Job = "100000"? Windows 7 64bit How to sum EstCost if Job = "100000"? Office 2010 32bit
Competent Performer
 
Join Date: Oct 2015
Location: UK
Posts: 221
Debaser will become famous soon enough
Default

Quote:
Originally Posted by ArviLaanemets View Post
But "'XXX" will never be equal with "XXX"
Really? Works just fine for me. All the relevant figures are included in the SUMIF results. I get 7.8 for EstHours for 100001 even though one row in the source data is 100001 and the other is '100001

Are you saying it doesn't work for you?
Reply With Quote
  #3  
Old 04-11-2022, 06:18 AM
croberts croberts is offline How to sum EstCost if Job = "100000"? Windows 10 How to sum EstCost if Job = "100000"? Office 2019
Novice
How to sum EstCost if Job = "100000"?
 
Join Date: Apr 2022
Posts: 12
croberts is on a distinguished road
Default

Quote:
Originally Posted by Debaser View Post
Really? Works just fine for me. All the relevant figures are included in the SUMIF results. I get 7.8 for EstHours for 100001 even though one row in the source data is 100001 and the other is '100001

Are you saying it doesn't work for you?
Correct, it doesn't work for me on Office 365. In my pivot table the results for 100001 and '100001 produce two different rows. But the results from SUM look fine. (I wanted to learn to do this 2 different ways.) So it looks like a bug in the Pivot Table but not the SUM or SUMIF functions.
Reply With Quote
Reply

Tags
sumif



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mailto Hyperlink Formula contains too large of "Body" receiving "#Value" need to find workaround MCamera Excel 1 03-02-2022 07:52 PM
Excel 2003: VBA "Function" causes "#VALUE!" errors after running "insert/delete row" custom macro Matt C Excel Programming 2 01-08-2022 06:03 AM
Combine "sort within groups" and "identify duplicate/unique values" in two different variables. civilcervant Excel 3 06-12-2017 07:27 AM
remove repeated words with " macro " or " wild cards " in texts with parentheses and commas jocke321 Word VBA 2 12-10-2014 11:27 AM
How to sum EstCost if Job = "100000"? How to choose a "List" for certain "Heading" from "Modify" tool? Jamal NUMAN Word 2 07-03-2011 03:11 AM

Other Forums: Access Forums

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