LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 79
Default SUMPRODUCT using a list?

I need to sum cost from 11 sheets matching 2 different columns with one
column having 14 variables. I figure it's easiest to total everything for
the first match (state) and subtract the 7 variables not needed. This makes
the formula too long for the cell. Is there a way this can be done in VBA?

1st matching column is State
2nd matching column is class - there are 21 classes but I need only matches
for 7.

Can an "elimination" list be done as VBA Function? Basically, I want
everything that matches the state (1st match) but not the lines that match
any of the 7 classes in a list.

This is the first match for only 1 company that I currently have:
SUMPRODUCT(--(LEFT('AL CIP'!E$6:E$175,2)=$A6),'AL CIP'!I$6:I$175)

Any help would be greatly appreciated!!
Thanks,
Valerie
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
sumproduct to create a unique list Excel 2003 - SPB Excel Discussion (Misc queries) 9 September 9th 07 09:27 PM
Tough: Vlookup, Match, Sumproduct? To create list of persistence SteveC Excel Discussion (Misc queries) 1 June 5th 06 03:34 PM
Sumproduct from a drop down list heater Excel Discussion (Misc queries) 2 February 22nd 06 10:28 PM
SumProduct with criteria list Sige Excel Worksheet Functions 17 February 21st 06 02:30 PM
Sumproduct and list of dates Ajay Excel Discussion (Misc queries) 4 May 18th 05 09:55 AM


All times are GMT +1. The time now is 06:19 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"