Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 20
Default calculation problem


thanks Pete for reply

butt here is also problem some time equate have thier bobtial and flatbed i
need to calculate seprate bobtail and flatbed belong equate if i calculate
the equate then it will all calculate not just reefer below some samle of
same problem with pv also i need that i can calculate the reefer which belong
Pv and can calculate the bobtail with Belong PV and at anothoer cell
i hope are you understanding me

Type Project
Reefer PV
Reefer Equate
Reefer PV
bobtail Equate
Reefer PV
Type Project
Reefer PV
Reefer Equate
Bobtail PV
Flatbed Equate
Reefer PV


as you can see below here i have tow cloumn i want to count the reeferin a
cel from one first colum butt i don,t want to count that reefer which is not
belong to PV (second column).as like i at other cel i just want to count
Equate Reefer not PV.
can any one help me
colum 1
Type Project
Reefer PV
Reefer Equate
Reefer PV
Reefer Equate
Reefer PV


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default calculation problem

One of these.................

=SUMPRODUCT((A1:A12="Reefer")*(B1:B12="Equate"))

=SUM(IF(A1:A12="Reefer",IF(B1:B12="Equate",1,0),0) )

Second one has to be entered using CTRL + SHIFT + ENTER as it is an Array
fomula.

For more on this type of formula see Bob Phillips' site.

http://www.xldynamic.com/source/xld.SUMPRODUCT.html


Gord Dibben MS Excel MVP

On Sun, 27 Apr 2008 11:37:00 -0700, Suleman
wrote:


thanks Pete for reply

butt here is also problem some time equate have thier bobtial and flatbed i
need to calculate seprate bobtail and flatbed belong equate if i calculate
the equate then it will all calculate not just reefer below some samle of
same problem with pv also i need that i can calculate the reefer which belong
Pv and can calculate the bobtail with Belong PV and at anothoer cell
i hope are you understanding me

Type Project
Reefer PV
Reefer Equate
Reefer PV
bobtail Equate
Reefer PV
Type Project
Reefer PV
Reefer Equate
Bobtail PV
Flatbed Equate
Reefer PV


as you can see below here i have tow cloumn i want to count the reeferin a
cel from one first colum butt i don,t want to count that reefer which is not
belong to PV (second column).as like i at other cel i just want to count
Equate Reefer not PV.
can any one help me
colum 1
Type Project
Reefer PV
Reefer Equate
Reefer PV
Reefer Equate
Reefer PV


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default calculation problem

Okay, put Reefer, Bobtail and Flatbed in cells C1 to C3, and put this
formula in D1:

=SUMPRODUCT((A$1:A$1000=C1)*(B$1:B$1000="Equate"))

and copy this into D2:D3. It should give you the subtotals you want
for each of the categories in column C.

I've assumed you have data in rows 1 to 1000, so adjust this if you
have more.

Hope this helps.

Pete

On Apr 27, 7:37*pm, Suleman wrote:
thanks Pete for reply

butt here is also problem some time equate have thier bobtial and flatbed i
need to calculate seprate *bobtail and flatbed belong equate if i calculate
the equate then it will all calculate not just reefer below some samle of
same problem with pv also i need that i can calculate the reefer which belong
Pv and can calculate the bobtail with Belong PV and at anothoer cell
i hope are you understanding me

Type * * * * * * * * * * * * * * * * * * * *Project
Reefer * * * * * * * * *PV * * * * * * *
Reefer * * * * * * * * *Equate * * * * *
Reefer * * * * * * * * *PV * * * * * * *
bobtail * * * * * * * * * * * * Equate * * * * *
Reefer * * * * * * * * *PV
Type * * * * * * * * * * * * * * * * * * * *Project
Reefer * * * * * * * * *PV * * * * * * *
Reefer * * * * * * * * *Equate * * * * *
Bobtail * * * * * * * * PV * * * * * * *
Flatbed * * * * * * * * * * * * Equate * * * * *
Reefer * * * * * * * * *PV

as you can see below here i have tow cloumn i want to count the reeferin a
cel from one first colum butt i don,t want to count that reefer which is not
belong to PV (second column).as like i at other cel i just want to count
Equate Reefer not PV.
can any one help me
colum 1
Type * * * * * * * * * * * * * * * * * * * *Project
Reefer * * * * * * * * *PV * * * * * * *
Reefer * * * * * * * * *Equate * * * * *
Reefer * * * * * * * * *PV * * * * * * *
Reefer * * * * * * * * *Equate * * * * *
Reefer * * * * * * * * *PV * * * * * * *


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default calculation problem

Try one of these...

=COUNT(INDEX(SEARCH("Reefer",A1:A100)/(B1:B100="Equate"),0))

=SUM(INDEX((A1:A100="Reefer")*(B1:B100="Equate"),0 ))


"Suleman" wrote:


thanks Pete for reply

butt here is also problem some time equate have thier bobtial and flatbed i
need to calculate seprate bobtail and flatbed belong equate if i calculate
the equate then it will all calculate not just reefer below some samle of
same problem with pv also i need that i can calculate the reefer which belong
Pv and can calculate the bobtail with Belong PV and at anothoer cell
i hope are you understanding me

Type Project
Reefer PV
Reefer Equate
Reefer PV
bobtail Equate
Reefer PV
Type Project
Reefer PV
Reefer Equate
Bobtail PV
Flatbed Equate
Reefer PV


as you can see below here i have tow cloumn i want to count the reeferin a
cel from one first colum butt i don,t want to count that reefer which is not
belong to PV (second column).as like i at other cel i just want to count
Equate Reefer not PV.
can any one help me
colum 1
Type Project
Reefer PV
Reefer Equate
Reefer PV
Reefer Equate
Reefer PV


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
Calculation problem Lorie Excel Discussion (Misc queries) 3 July 21st 07 09:03 PM
FV Calculation problem bao Excel Worksheet Functions 1 October 31st 06 04:19 AM
Calculation Problem spiney Excel Worksheet Functions 4 February 10th 06 05:29 PM
Calculation Problem dave Excel Discussion (Misc queries) 0 August 24th 05 03:15 PM
Calculation Problem cvolkert Excel Discussion (Misc queries) 0 August 22nd 05 06:14 PM


All times are GMT +1. The time now is 01:44 AM.

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"