#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,560
Default Formula problem

I have a formula problem and i would be greatful if anyone can help. I have 3
cells which i want to multiply together H4,N4,M4. However the cells already
have the following formula in it H4 =1/COS((G4*PI()/180)), M4
=1/COS((L5*PI()/180)) and N4 just has a number in it. There will not always
be a value in M4 and the cell displays #DIV/0! How do i get excel to
calculate H4*N4*M4 regardless of there being a value in M4 but to include M4
if there is a value in it?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Formula problem

=IF(ISERROR(M4),H4*N4,H4*N4*M4)

--
Gary''s Student - gsnu200737


"David" wrote:

I have a formula problem and i would be greatful if anyone can help. I have 3
cells which i want to multiply together H4,N4,M4. However the cells already
have the following formula in it H4 =1/COS((G4*PI()/180)), M4
=1/COS((L5*PI()/180)) and N4 just has a number in it. There will not always
be a value in M4 and the cell displays #DIV/0! How do i get excel to
calculate H4*N4*M4 regardless of there being a value in M4 but to include M4
if there is a value in it?

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
Formula Problem the-jackal New Users to Excel 2 October 5th 06 09:27 PM
formula problem [email protected] uk Excel Worksheet Functions 2 August 14th 06 02:43 AM
Now formula problem Lp12 Excel Worksheet Functions 4 May 31st 06 10:44 AM
formula problem Rao Ratan Singh New Users to Excel 1 April 18th 06 03:41 PM
Formula Problem Jeanette Excel Worksheet Functions 4 August 23rd 05 08:46 PM


All times are GMT +1. The time now is 10:58 AM.

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"