Live Chat & Podcast at 1:00PM Eastern on Sunday!
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
Business Applications
Tag Cloud
access acer asus bios bsod computer crash driver drivers error ethernet excel freeze gaming gpu hard drive hardware hdmi internet laptop mac malware memory monitor motherboard music network printer problem ram registry router server slow software sound trojan ubuntu 11.10 uninstall usb video virus vista wifi windows windows 7 windows 7 32 bit windows 7 64 bit windows xp wireless
Search
Search for:
Tech Support Guy Forums > Software & Hardware > Business Applications >
Solved: Excel Totaling Puzzle

Reply  
Thread Tools
simer's Avatar
Computer Specs
Junior Member with 8 posts.
 
Join Date: Aug 2009
Experience: Intermediate
06-Oct-2009, 01: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, 89 views)
The Villan's Avatar
Senior Member with 2,003 posts.
 
Join Date: Feb 2006
Location: Lincolnshire UK
Experience: Advanced at times
06-Oct-2009, 01: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 at 01:58 PM..
simer's Avatar
Computer Specs
Junior Member with 8 posts.
 
Join Date: Aug 2009
Experience: Intermediate
06-Oct-2009, 05:36 PM #3
Thanks!
The Villan's Avatar
Senior Member with 2,003 posts.
 
Join Date: Feb 2006
Location: Lincolnshire UK
Experience: Advanced at times
06-Oct-2009, 05:38 PM #4
You are very welcome
The Villan's Avatar
Senior Member with 2,003 posts.
 
Join Date: Feb 2006
Location: Lincolnshire UK
Experience: Advanced at times
06-Oct-2009, 05: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")
Reply

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.

Search Tech Support Guy

Find the solution to your
computer problem!




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



Facebook Facebook Twitter Twitter TechGuy.tv TechGuy.tv Mobile TSG Mobile
You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 05:57 PM.
Copyright © 1996 - 2011 TechGuy, Inc. All rights reserved.

Powered by Cermak Technologies, Inc.