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
Tag Cloud
access acer asus batch bios bsod computer crash desktop driver drivers error ethernet excel freeze gaming gpu hard drive hardware hdmi internet laptop malware memory modem monitor motherboard network printer problem ram registry router 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 >
Complicated IF Formula

Reply  
Thread Tools
simer's Avatar
Computer Specs
Junior Member with 8 posts.
 
Join Date: Aug 2009
Experience: Intermediate
27-Aug-2009, 09:09 PM #1
Complicated IF Formula
Here is my challenge.

I have a table representing Demand employees on various dates for "AM" shifts, and "PM" shifts.

23/1/10 24/1/10 25/1/10 26/1/10 27/1/10
Demand AM 5 5 5 5 15
Demand PM 5 5 5 5 15

Below this I have a list of names followed by the shift they are working, and the date.

Volunteer Name Shift Shift Date
Frank PM 23/01/2010
Allice AM 24/01/2010
Brandon PM 25/01/2010
Craig AM 26/01/2010

What I need is a formula that will subtract 1 from the demand total of either Demand AM or Demand PM when "AM" or "PM" is entered in these cells corresponding to the date. Any ideas? Help me!
Attached Files
File Type: xls Copy of Volunteers.xls (19.0 KB, 74 views)

Last edited by simer; 27-Aug-2009 at 09:15 PM..
bomb #21's Avatar
Distinguished Member with 8,082 posts.
 
Join Date: Jul 2005
Location: The void AKA edge of the Fens
Experience: I bent my wookie :(
28-Aug-2009, 06:01 AM #2
If Excel 2007, use SUMIFS.

Otherwise, use something like:

=B3-SUMPRODUCT(($B$8:$B$12="PM")*($C$8:$C$12=$B$2))
Reply

Tags
excel, if formula

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 12:38 AM.
Copyright © 1996 - 2011 TechGuy, Inc. All rights reserved.

Powered by Cermak Technologies, Inc.