Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 08-18-2014, 06:13 AM
danstelter danstelter is offline Help with If/Then Windows 8 Help with If/Then Office 2010 64bit
Novice
Help with If/Then
 
Join Date: Aug 2014
Posts: 2
danstelter is on a distinguished road
Default Help with If/Then

So I'm uploading an excel document so you can see what I mean. It's my work hours for the business I run, and I just want to calculate the hours faster, rather than using an =sum formula and entering the cells by hand.

Here's what I want it to do:

Go to column "C" and find all instances of "client contact" for example
Add all the corresponding values up from column "B"
Place them in cell "B20" by "client contact"

Not sure of the best way to do this - curious on your thoughts. Thanks in advance for your help.



Dan
Attached Files
File Type: xlsx test-workbook.xlsx (9.6 KB, 13 views)

Last edited by danstelter; 08-18-2014 at 06:18 AM. Reason: Uploading example excel document
Reply With Quote
  #2  
Old 08-18-2014, 06:56 AM
bobsone1 bobsone1 is offline Help with If/Then Windows Vista Help with If/Then Office 2007
Novice
 
Join Date: Jul 2014
Posts: 23
bobsone1 is on a distinguished road
Default

Hi
This looks like it will work =SUMIF($C$1:$C$16;$A18;$B$1:$B$16)
I put it in B18 and copied it to B33.

The only issue is that the text in columns A18:A33 and C1:C16 need to be identical, I think this also includes spaces at the end of words.
E.g. the A column had "Research and Development" where as in the C column it was "research & development", but copy and paste will readily solve that problem.

Regards.
Reply With Quote
  #3  
Old 08-18-2014, 09:08 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Help with If/Then Windows 7 64bit Help with If/Then Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,772
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

Perhaps use a Pivot Table?
__________________
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
  #4  
Old 08-20-2014, 08:12 AM
danstelter danstelter is offline Help with If/Then Windows 8 Help with If/Then Office 2010 64bit
Novice
Help with If/Then
 
Join Date: Aug 2014
Posts: 2
danstelter is on a distinguished road
Default

Thanks for your help - the formula worked! There was an error - I had to change the semicolons to commas. I may do a Pivot Table in the future, but this accomplishes what I need for now.

Dan
Reply With Quote
Reply



Other Forums: Access Forums

All times are GMT -7. The time now is 02:11 AM.


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