Mourning the loss of our friend, WhitPhil.
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
 
Business Applications
Tag Cloud
access audio black screen blue screen boot bsod connection crash dell desktop driver drivers dvd email error excel excel 2003 firefox hard drive hardware internet keyboard laptop malware monitor motherboard network networking outlook problem ram recovery router safe mode slow sound spyware tdlwsp.dll trojan upgrade vba video virus vista vundo windows windows 7 windows vista windows xp wireless
Search
Search for:
Tech Support Guy Forums > Software & Hardware > Business Applications >
Solved: Excel Totaling Puzzle

Tip: Click here to scan for System Errors and Optimize PC performance
[ Sponsored Link ]

Closed Thread
 
Thread Tools
simer's Avatar
Computer Specs
Junior Member with 8 posts.
 
Join Date: Aug 2009
Experience: Intermediate
06-Oct-2009, 12:08 PM #1
Solved: Excel Totaling Puzzle
Hi All,

I have an Excel puzzle that I cant seem to figure out. What I have is a list of volunteers running down the work sheet. Across I have the different shift dates with the number of spots available for volunteers. Each Shift it devided into AM or PM.

What I want is to have a row for each volunteer which will have an AM or PM in the column that corresponds to the shift date. I would then like the total of remaining shifts to decrease with every entry.

The formula i tried to use that doesnt work:
=B3-SUMPRODUCT($B$13:$B$5000="AM")
=B3-SUMPRODUCT($B$13:$B$5000="PM")

I have attached the worksheet. Any help would be amazing.
Attached Files
File Type: xls Copy of Volunteers.xls (26.0 KB, 16 views)
The Villan's Avatar
Senior Member with 1,608 posts.
 
Join Date: Feb 2006
Location: Market Rasen, Lincolnshire UK
Experience: Advanced at times
06-Oct-2009, 12:32 PM #2
=b3-countif($b$13:$b$5000,"am")
=b4-countif($b$13:$b$5000,"pm")

That should do it.

If that is what you want, can you please scroll to the top of the thread and click on the SOLVED button

Last edited by The Villan : 06-Oct-2009 12:58 PM.
simer's Avatar
Computer Specs
Junior Member with 8 posts.
 
Join Date: Aug 2009
Experience: Intermediate
06-Oct-2009, 04:36 PM #3
Thanks!
The Villan's Avatar
Senior Member with 1,608 posts.
 
Join Date: Feb 2006
Location: Market Rasen, Lincolnshire UK
Experience: Advanced at times
06-Oct-2009, 04:38 PM #4
You are very welcome
The Villan's Avatar
Senior Member with 1,608 posts.
 
Join Date: Feb 2006
Location: Market Rasen, Lincolnshire UK
Experience: Advanced at times
06-Oct-2009, 04:41 PM #5
One comment.
If you took the dollar sign away from in front of the B, you can then copy that formula across.

=b3-countif(B$13:B$5000,"AM")
=b4-countif(B$13:B$5000,"PM")
Closed Thread Bookmark and Share

Tags
excel, subtracting from totals, totaling

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Smart Search

Find your solution!



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.

Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -5. The time now is 12:12 AM.
Copyright © 1996 - 2009 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.
Powered by Cermak Technologies, Inc.