If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Excel > Mutliple Text Criteria - VBA? SUMIF? LOST!

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-24-08, 03:21
Incredible Incredible is offline
Registered User
 
Join Date: Feb 2008
Posts: 2
Mutliple Text Criteria - VBA? SUMIF? LOST!

I am creating a spreadsheet to track sales and calculate commissions. I have four columns Product1, Product2, Product3 and Warranty Term.

Product1 has three levels of service (not including "blank").
Product2 has four levels of service (not including "blank").
Product3 has one level of service (not including "blank").
Warranty Term has four options: 0,1,2,3 (yrs.)

I need a simple sum of each possible outcome of a customer's order. E.g. Sum of orders with Product1 (any level of service) with a 2yr. Warranty Term. or Sum of orders with Product1 (any level of service) and Product2 (any level of service) with a 3yr. Warranty Term.

I have tried a little bit of every formula to no avail, but I am far from an Excel guru.
Reply With Quote
  #2 (permalink)  
Old 02-24-08, 22:56
shades shades is offline
Registered User
 
Join Date: Oct 2003
Posts: 1,091
Howdy, and welcome to the board.

For one criteria, you use SUMIF.

However, if more than one criteria, then there are a couple ways to do it.

1. Use SUMPRODUCT

2. USE SUM(IF as an array formula.

Each has advantages, but I think when first starting SUMPRODUCT might be more understandable.
__________________
old, slow, and confused
but at least I'm inconsistent!

Rich
(retired Excel 2003 user, 3/28/2008)

How to ask a question on forums
Reply With Quote
  #3 (permalink)  
Old 02-26-08, 01:47
Incredible Incredible is offline
Registered User
 
Join Date: Feb 2008
Posts: 2
Right

Thank you for the warm welcome. I have tried SUM(IF as an array as well as the Conditional Sum (even using the wizard) to no avail. I'll post what I've got. If someone can make it work, I would be soooooo grateful!

Mr. Incredible


Won't work. Why will it not upload the excel file???
Reply With Quote
  #4 (permalink)  
Old 02-26-08, 13:06
shades shades is offline
Registered User
 
Join Date: Oct 2003
Posts: 1,091
You have to provide a zip file.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On