The way your logic is structured you are going to get ONE of Category A AND one of Category B.
I.E. your member category logic and member type logic is NOT mutually exclusive. OUTPUT from both is going to occur.
This is an exercise in basic programming boolean logic and is not specific to CFML. It is hard to say how to help you, since I am not really sure what you are tyring to do. But it looks like you need some AND and|or OR clauses in your logic.
The crudest example might just be something like.
if membercategory IS 'companyMember" AND membertype is 'growingTeam' ... 695 else if membercategory IS 'companyMember' AND membertype is 'growingSingle' ... 495 .....
But I would need to know a lot more about your business requirements then I can glean from this code example to provide a proper boolean logic tree.
You may have lucked out. I got curious and played with this.
Is this what you are trying to do?
<CFIF memberCategory IS "companyMember"> <CFIF memberType IS "growingTeam"> Membership Category: <b>Entrepreneur & Management Team, Team Membership - $695</b> <CFELSEIF memberType IS "growingSingle"> Membership Category: <b>Entrepreneur & Management Team, Single Membership - $495</b> <CFELSE> Membership Category: <b>Entrepreneur & Management Team, 2011 Entrepreneur - $255</b> </CFIF> <CFELSEIF memberCategory IS "investorMember"> Membership Category: <b>Investor - $495</b> <CFELSE> Membership Category: <b>Professional - $895</b> </CFIF>
You may see how proper spacing can help sort out the logic.