Contains Help

SCSA25

Board Regular
Joined
Jun 19, 2002
Messages
147
here is the logic I am shooting for

If C1 contains "Pilot" then CountA(A9:A200)*6,if C1 contains "Bic" then CountA(A9:A200)*7


Does this work?
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
On 2002-12-17 13:27, SCSA25 wrote:
here is the logic I am shooting for

If C1 contains "Pilot" then CountA(A9:A200)*6,if C1 contains "Bic" then CountA(A9:A200)*7


Does this work?

Does this work?

=if(c1="pilot",counta(a9:a200)*6,if(c1="bic",counta(a9:a200)*7,""))
 
Upvote 0
Yes it is

Generic Example

Cell A Cell B
1Division Mechanical Pencil
2Product Name Pilot 2300 Pencil
3Product # DA12345

If B2 has "Pilot" in it then *7 if it has "Bic" *6
 
Upvote 0
On 2002-12-17 15:06, SCSA25 wrote:
Yes it is

Generic Example

Cell A Cell B
1Division Mechanical Pencil
2Product Name Pilot 2300 Pencil
3Product # DA12345
try a nexted if

=if(left(A1,5)="pilot",counta(A9:a200)*6,if(left(a1,3)="bic",counta(a9:a200)*7,""))

just_jon
This message was edited by just_jon on 2002-12-17 15:27
 
Upvote 0

Forum statistics

Threads
1,213,546
Messages
6,114,256
Members
448,557
Latest member
richa mishra

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