Help with a counta and if statement

goldcat

Board Regular
Joined
Jun 26, 2002
Messages
160
this is my sheet:
Athletic Club Balances.xls
ANAOAPAQARASATAUAVAWAXAYAZ
12,448.32 2,196.11 1,787.88 
2
3BalanceBalanceBalance
4Oct-03PmtFeesNov-03PmtFeesDec-03totalspre-pmts
5
60.00 0.00 0.00 0.000
742.75 x42.75 x42.75 -213.735
80.00 0.00 0.00 0.000
90.00 0.00 0.00 0.000
1042.75 0.00 0.00 -128.243
2003


as you can see in column AZ I am trying to sum based on text entered in other columns.

I need to adjust the subtractive portion sothat it only subtracts if the value is X.

any help would be appreciated

thanks W.
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
yes !
What I'm trying to do is keep track of who has made prepayments.
the thig is we also let them freeze the membership for periods of time.

If I enter X in the fees then it subtracts from the total prepayment, but if I enter F then it does not.

does that make any sense :-?
 
Upvote 0
Maybe this will help:
BOOK4
ABCDEFGH
1DataTotals
2PmtFeesPmtFeesPmtFeesPmtFees
3xxx12
Sheet1


The formulas in G3 and H3 are:

=SUMPRODUCT((A2:F2=G2)*(A3:F3="x"))
=SUMPRODUCT((A2:F2=H2)*(A3:F3="x"))

In those formulas the references to G2 and H2 could be replaced with "Pmt" and "Fees" respectively.
 
Upvote 0

Forum statistics

Threads
1,223,268
Messages
6,171,100
Members
452,379
Latest member
IainTru

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top