#1   Report Post  
Annette
 
Posts: n/a
Default If statement

I'm trying to write a statement that says if cell b5 contains
04.****.***.***, then take the number found in cell g5 times the number in
H5 but it is not functioning. Just providing a zero.

Thanks!

Annette


  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

Do you mean

=IF(LEFT(B5,3)="04.",g5*h5,"")

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Annette" wrote in message
...
I'm trying to write a statement that says if cell b5 contains
04.****.***.***, then take the number found in cell g5 times the number in
H5 but it is not functioning. Just providing a zero.

Thanks!

Annette




  #3   Report Post  
Annette
 
Posts: n/a
Default

Ah ... thank you!


"Bob Phillips" wrote in message
...
Do you mean

=IF(LEFT(B5,3)="04.",g5*h5,"")

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Annette" wrote in message
...
I'm trying to write a statement that says if cell b5 contains
04.****.***.***, then take the number found in cell g5 times the number
in
H5 but it is not functioning. Just providing a zero.

Thanks!

Annette






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
Do I need a sumif or sum of a vlookup formula? PeterB Excel Worksheet Functions 0 June 1st 05 12:23 PM
IF Statement nightmare eugenevr Excel Discussion (Misc queries) 6 May 18th 05 01:09 PM
IF Statement Brent New Users to Excel 3 April 29th 05 04:24 PM
How to calculate a sum as one outcome of an IF statement barb in NC Excel Worksheet Functions 2 March 31st 05 08:01 PM
How do I fix a circular reference in a financial statement? drjayhawk25 Excel Discussion (Misc queries) 0 February 7th 05 05:19 PM


All times are GMT +1. The time now is 01:51 PM.

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

About Us

"It's about Microsoft Excel"