LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
PMo PMo is offline
external usenet poster
 
Posts: 2
Default Conditional formula containing text and wildcard

This is a rather complicated equation (at least to me). I am trying to
create a conditional formula that will recognize partial text with a wildcard
* and then perform mathematical function based on what is in the text else
perform a different function.

The whole text will always start with a number of 1-3 digits and then always
contain the letters "ECL" and then end with "SST" or "STM" - examples would
be: "9ECLSTM" "10.5ECLSST". OR the text will start with a number of 3 digits
and then always contain the letters "BTL-SA" - examples: "220BTL-SA" or
"210BTL-SA"

Here is the current formula:
=ROUNDDOWN(((E80-(E81*'Global settings'!$A$33))/(E79+E78)*'Global
settings'!$A$29)*E8,0)

I want to add a condition that if the text in E7 contains "*ECL*" or
"*BTL-SA", then perform the formula above, else perform this formula:
ROUNDDOWN((E80-E81)/(E79+E78)*'Global settings'!$A$29)*E8,0)

The formulas I've tried don't seem to recognize the * as I've place them.
Can someone please help me?



 
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
sumproduct with wildcard for text? nattie Excel Worksheet Functions 4 July 20th 08 12:18 PM
Wildcard for any number in conditional formula Studebaker Excel Discussion (Misc queries) 4 April 8th 08 02:44 PM
Using IF to find text + wildcard? Outlook, eh? Excel Worksheet Functions 8 July 3rd 07 04:46 PM
Wildcard for Conditional Sum Wizard statement. Ron Excel Worksheet Functions 3 February 13th 07 02:59 PM
Excel Conditional Formating using 'like' or wildcard logicals LDUNN1 Excel Worksheet Functions 0 October 23rd 06 11:30 AM


All times are GMT +1. The time now is 03:59 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"