#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 281
Default SUMPRODUCT

Hi,

My Data is like below:

A B
1 900180111 40000
2 902180111 15000
3 900180121 52000
4 900180131 47000
5 911180111 13000
6 912880111 450
7 911180121 19000
8 914580131 55000
9 920180111 115000

what i want to do is:

sum of column B wich the code in column A started with 90 or 91 and ended
with 80111 so in this example the answer is: 68450 i know auto filter but i
want this in another sheet.

any help would be so appriciated.

Thanks,
--
Farhad Hodjat
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,339
Default SUMPRODUCT

try:

=SUMPRODUCT((LEFT(Sheet1!$A$1:$A$9,2)={"90","91"}) *(RIGHT(Sheet1!$A$1:$A$9,5)="80111")*Sheet1!$B$1:$ B$9)



"Farhad" wrote:

Hi,

My Data is like below:

A B
1 900180111 40000
2 902180111 15000
3 900180121 52000
4 900180131 47000
5 911180111 13000
6 912880111 450
7 911180121 19000
8 914580131 55000
9 920180111 115000

what i want to do is:

sum of column B wich the code in column A started with 90 or 91 and ended
with 80111 so in this example the answer is: 68450 i know auto filter but i
want this in another sheet.

any help would be so appriciated.

Thanks,
--
Farhad Hodjat

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
Sumproduct + Karen Smith Excel Discussion (Misc queries) 3 August 30th 06 09:16 PM
Sumproduct sanders Excel Discussion (Misc queries) 2 August 18th 06 09:10 PM
Sumproduct Karin Iversen Excel Worksheet Functions 2 November 2nd 05 05:56 PM
Sumproduct ?? PhilGTI Excel Worksheet Functions 3 September 22nd 05 05:41 PM
sumproduct FLKULCHAR Excel Worksheet Functions 1 September 18th 05 03:36 PM


All times are GMT +1. The time now is 09:15 PM.

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

About Us

"It's about Microsoft Excel"