Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Matizka
 
Posts: n/a
Default Sum if with a list as criteria


Hi,

I need to sum all of the values for columns that are called: :A, B, C,
D.

I would like to use something like "in list " operand that are in some
othe programs. How should I write it?

Sorry if it is an obvious or recently asked questions I did some search
on the forum but I haven't found an answer.

Thanks in advance,

M.


--
Matizka
------------------------------------------------------------------------
Matizka's Profile: http://www.excelforum.com/member.php...o&userid=24098
View this thread: http://www.excelforum.com/showthread...hreadid=519723

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Peo Sjoblom
 
Posts: n/a
Default Sum if with a list as criteria

Here's one way

=SUM((A1:A20=TRANSPOSE(MyList))*(B1:B20))

with the list called MyList, needs to be entered with ctrl + shift & enter



--

Regards,

Peo Sjoblom

Northwest Excel Solutions

www.nwexcelsolutions.com

(remove ^^ from email address)

Portland, Oregon




"Matizka" wrote in
message ...

Hi,

I need to sum all of the values for columns that are called: :A, B, C,
D.

I would like to use something like "in list " operand that are in some
othe programs. How should I write it?

Sorry if it is an obvious or recently asked questions I did some search
on the forum but I haven't found an answer.

Thanks in advance,

M.


--
Matizka
------------------------------------------------------------------------
Matizka's Profile:
http://www.excelforum.com/member.php...o&userid=24098
View this thread: http://www.excelforum.com/showthread...hreadid=519723


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Matizka
 
Posts: n/a
Default Sum if with a list as criteria


Hi,

I did the above but my result is equal to the value of first column
meeting the condition.

It does not add the other values from the other columns.

Do you have an idea what can be not correct/

Or how differently it can be done

Thanks,

M.

By the way I have learnt today much about array functions :)


--
Matizka
------------------------------------------------------------------------
Matizka's Profile: http://www.excelforum.com/member.php...o&userid=24098
View this thread: http://www.excelforum.com/showthread...hreadid=519723

Reply
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
add to a cell on a list based on two criteria gabrielinlompoc New Users to Excel 0 February 9th 06 10:07 PM
data validation list should have opt. to select based on criteria be Excel Worksheet Functions 1 September 15th 05 01:05 PM
find names on list 1 in list 2. list 1 4000 names list 2 400 name Ed Excel Worksheet Functions 1 September 4th 05 12:48 AM
Extract multiple records matching criteria from list William DeLeo Excel Worksheet Functions 12 June 30th 05 02:35 PM
named range, data validation: list non-selected items, and new added items KR Excel Discussion (Misc queries) 1 June 24th 05 05:21 AM


All times are GMT +1. The time now is 05:42 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"