Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
i have part #s that begin with "E" that will get a certain bonus, all the
rest get a different bonus. I cant get a wildcard to work in my formula example: if(A2="E*", 0,(B2*1)), even if A2 = EF1000 (which is a part #) the formula returns false and multiplies B2 by 1 instead of returning a zero |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Try this:
=IF(LEFT(A2)="E",0,B2) -- HTH, RD --------------------------------------------------------------------------- Please keep all correspondence within the NewsGroup, so all may benefit ! --------------------------------------------------------------------------- "No_1rebecca" wrote in message ... i have part #s that begin with "E" that will get a certain bonus, all the rest get a different bonus. I cant get a wildcard to work in my formula example: if(A2="E*", 0,(B2*1)), even if A2 = EF1000 (which is a part #) the formula returns false and multiplies B2 by 1 instead of returning a zero |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=if(left(a2,1)="E", 0, b2)
No_1rebecca wrote: i have part #s that begin with "E" that will get a certain bonus, all the rest get a different bonus. I cant get a wildcard to work in my formula example: if(A2="E*", 0,(B2*1)), even if A2 = EF1000 (which is a part #) the formula returns false and multiplies B2 by 1 instead of returning a zero -- Dave Peterson |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=(LEFT(A2)<"E")*B2
"No_1rebecca" wrote: i have part #s that begin with "E" that will get a certain bonus, all the rest get a different bonus. I cant get a wildcard to work in my formula example: if(A2="E*", 0,(B2*1)), even if A2 = EF1000 (which is a part #) the formula returns false and multiplies B2 by 1 instead of returning a zero |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Wildcard Character in IF formulas | Excel Discussion (Misc queries) | |||
Wildcard Character in an Array Formula | Excel Discussion (Misc queries) | |||
How do I use the wildcard character and the NOT function? | Excel Worksheet Functions | |||
Wildcard character | Excel Discussion (Misc queries) | |||
Wildcard Character | Excel Worksheet Functions |