#1   Report Post  
Posted to microsoft.public.excel.misc
Lizz45ie
 
Posts: n/a
Default IF Function


I have a complicated formula where I need to add a IF statement. I've
included the formula for your review:

=(SQRT(((POWER(((C39+D39)/1000000),3.5)*(POWER(H39,10))/POWER(B39*F39,2)))))*100

I am trying to add the IF statement to the last portion of the formula.
If 'F39' is blank I want the formula to skip calculating the last part
of the formula, but if
'F39' is populated then calculate (B39 * F39, 2).

Any help is appreciated.


--
Lizz45ie


------------------------------------------------------------------------
Lizz45ie's Profile: http://www.excelforum.com/member.php...o&userid=23410
View this thread: http://www.excelforum.com/showthread...hreadid=552833

  #2   Report Post  
Posted to microsoft.public.excel.misc
Bearacade
 
Posts: n/a
Default IF Function


=if(isblank(f39),sqrt((power(((c39+d39)/1000000),3.5)*(power(h39,10))))*100,(sqrt(((power( ((c39+d39)/1000000),3.5)*(power(h39,10))/power(b39*f39,2)))))*100)

Hth


--
Bearacade


------------------------------------------------------------------------
Bearacade's Profile: http://www.excelforum.com/member.php...o&userid=35016
View this thread: http://www.excelforum.com/showthread...hreadid=552833

  #3   Report Post  
Posted to microsoft.public.excel.misc
b o b
 
Posts: n/a
Default IF Function

I am not completely sure what you are considering the last part of the
formula. but you can use the following IF statement to determine if
cell F39 is blank and return 1 if it is blank and 0 if it is not.

=IF(F39="", 1, 0)

Hopefully you can apply this to your formula.


Lizz45ie wrote:
I have a complicated formula where I need to add a IF statement. I've
included the formula for your review:

=(SQRT(((POWER(((C39+D39)/1000000),3.5)*(POWER(H39,10))/POWER(B39*F39,2)))))*100

I am trying to add the IF statement to the last portion of the formula.
If 'F39' is blank I want the formula to skip calculating the last part
of the formula, but if
'F39' is populated then calculate (B39 * F39, 2).

Any help is appreciated.


--
Lizz45ie


------------------------------------------------------------------------
Lizz45ie's Profile: http://www.excelforum.com/member.php...o&userid=23410
View this thread: http://www.excelforum.com/showthread...hreadid=552833


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
Creating a Custom Excel Function to Calculate Gini Coefficients [email protected] Excel Worksheet Functions 3 February 21st 06 10:15 PM
Date & Time mully New Users to Excel 4 May 23rd 05 11:56 AM
Hyperlinks using R[1]C[1] and offset function in its cell referenc Elijah-Dadda Excel Worksheet Functions 0 March 5th 05 03:31 AM
Conversion SVC Excel Worksheet Functions 9 February 28th 05 02:29 PM
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 04:23 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"