Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
jakar
 
Posts: n/a
Default Wild Characters in "IF" function


I've seen in this forum that someone already asked the question but
there was no answer...
I'm also unable to use the wild character (*) in my IF function - I
want the formula to return $51.44 and $25.31 amounts in column D if
"EXON" chain is encountered in cells of column B. My statement looks
like this: =IF(B4="EXXON*",C4,0) but it doesn't work...

Calumn A Column B
Column C Column D
10/29/2005 HEINIE'S MARKET $12.28
10/30/2005 VAIL PASS SALES 0374 $198.00
10/29/2005 EINSTEIN BROS #1793 $7.54
10/27/2005 EXXONMOBIL75 $51.44 $51.44
10/27/2005 HEINIE'S MARKET $11.97
10/27/2005 EXXONMOBIL35 $25.31 $25.31

Any ideas????
Thanks,
jakar


--
jakar
------------------------------------------------------------------------
jakar's Profile: http://www.excelforum.com/member.php...o&userid=28844
View this thread: http://www.excelforum.com/showthread...hreadid=485929

  #2   Report Post  
Posted to microsoft.public.excel.misc
Anne Troy
 
Posts: n/a
Default Wild Characters in "IF" function

Try this:
=IF(left(B4,5)="EXXON",C4,0)
************
Anne Troy
VBA Project Manager
www.OfficeArticles.com

"jakar" wrote in
message ...

I've seen in this forum that someone already asked the question but
there was no answer...
I'm also unable to use the wild character (*) in my IF function - I
want the formula to return $51.44 and $25.31 amounts in column D if
"EXON" chain is encountered in cells of column B. My statement looks
like this: =IF(B4="EXXON*",C4,0) but it doesn't work...

Calumn A Column B
Column C Column D
10/29/2005 HEINIE'S MARKET $12.28
10/30/2005 VAIL PASS SALES 0374 $198.00
10/29/2005 EINSTEIN BROS #1793 $7.54
10/27/2005 EXXONMOBIL75 $51.44 $51.44
10/27/2005 HEINIE'S MARKET $11.97
10/27/2005 EXXONMOBIL35 $25.31 $25.31

Any ideas????
Thanks,
jakar


--
jakar
------------------------------------------------------------------------
jakar's Profile:
http://www.excelforum.com/member.php...o&userid=28844
View this thread: http://www.excelforum.com/showthread...hreadid=485929



  #3   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default Wild Characters in "IF" function

=if(left(b4,5)="exxon",c4,0)

is one way.

jakar wrote:

I've seen in this forum that someone already asked the question but
there was no answer...
I'm also unable to use the wild character (*) in my IF function - I
want the formula to return $51.44 and $25.31 amounts in column D if
"EXON" chain is encountered in cells of column B. My statement looks
like this: =IF(B4="EXXON*",C4,0) but it doesn't work...

Calumn A Column B
Column C Column D
10/29/2005 HEINIE'S MARKET $12.28
10/30/2005 VAIL PASS SALES 0374 $198.00
10/29/2005 EINSTEIN BROS #1793 $7.54
10/27/2005 EXXONMOBIL75 $51.44 $51.44
10/27/2005 HEINIE'S MARKET $11.97
10/27/2005 EXXONMOBIL35 $25.31 $25.31

Any ideas????
Thanks,
jakar

--
jakar
------------------------------------------------------------------------
jakar's Profile: http://www.excelforum.com/member.php...o&userid=28844
View this thread: http://www.excelforum.com/showthread...hreadid=485929


--

Dave Peterson
  #4   Report Post  
Posted to microsoft.public.excel.misc
jakar
 
Posts: n/a
Default Wild Characters in "IF" function


thank you very much... - it worked...
jakar


--
jakar
------------------------------------------------------------------------
jakar's Profile: http://www.excelforum.com/member.php...o&userid=28844
View this thread: http://www.excelforum.com/showthread...hreadid=485929

Reply
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
VBA function for "Mean" using Array as argument ASokolik Excel Worksheet Functions 21 March 28th 06 10:05 PM
creating function (vba) with range arguments Fredouille Excel Worksheet Functions 2 September 12th 05 11:01 AM
Date & Time mully New Users to Excel 4 May 23rd 05 11:56 AM
Automatically up date time in a cell Mark Excel Discussion (Misc queries) 5 May 12th 05 12:26 AM
HOW CAN I GET OFFICE 2003 EXCEL BASIC TO NEST FUNCTIONS LIKE EXCE. Robert AS Excel Worksheet Functions 4 December 2nd 04 10:49 AM


All times are GMT +1. The time now is 07:29 PM.

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"