Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 04-07-2022, 05:11 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 How to sum EstCost if Job = "100000"?

Hi,


We actually have Office 365 but this was not an option in the registration screen. I'm on Windows 10.

I have some raw data in a spreadsheet, sheet is named "JobCost", that has these columns:
Job, EstCost, ActCost, EstHours, ActHours

The Job column is actually a text field and is formatted that way in Excel. This is actually fake data from a database and the job number is a text field in the database as well.

There are multiple entries/rows for each job on this sheet "JobCost". Like this:

Job Job part Start date EstHours ActHours EstCost ActCost
100000 01 1/1/2021 1.2
100001 01 1/2/2021 2.3
100001 01 1/3/2021 1.2 35
100001 01 1/4/2021 1.3 40
100001 01 1/5/2021 35
100002 01 1/6/2021 30
100001 01 1/7/2021 5.5
100001 01 1/8/2021 1.2

On another sheet called "SumByJob" I have these columns, but I want one row per job to sum all EstHours from the sheet "JobCost":
Job, EstHours, ActHours, EstCost, ActCost.

I want to sum all EstHours from the JobCost sheet, for one job and put it on the sheet "SumByJob" under the EstHours column. I've looked at the VLOOKUP functions and that doesn't look right. I've looked at SUMIF and it is not working for me.

I'm not used to doing this sort of thing in Excel. Can someone help me out please? I have attached my Excel file for you to look at.

Thank you!

EDIT: Results should be this:

Job EstHours ActHours EstCost ActCost
100000 1.2
100001 7.8 3.7 35 75
100002 30
Attached Files
File Type: xlsx EstActSS.xlsx (12.6 KB, 12 views)
Reply With Quote
 

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 01:37 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