A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Rental yeild formula?



 
 
Thread Tools Display Modes
  #1  
Old June 23rd, 2009, 02:04 AM posted to microsoft.public.excel.worksheet.functions
Scoober
external usenet poster
 
Posts: 95
Default Rental yeild formula?

Hi,

Can someone help me with

=IF(AND(V24="",H24=""),"",SUM(V24/H24))

H24 = Property value
V24 = Rental return
W24 = Answer from equation

The problem I am facing is that there is not always a figure in H24 or V24
so I get #DIV/0 as an answer in W24.

What do I need to do to the formula to give the answer that I'm after but
leave cell W24 blank if either H24 or V24 are balnk?

Thanks in advance for your help.

  #2  
Old June 23rd, 2009, 02:28 AM posted to microsoft.public.excel.worksheet.functions
Teethless mama
external usenet poster
 
Posts: 3,722
Default Rental yeild formula?

=IF(OR(V24="",H24=""),"",V24/H24)


"Scoober" wrote:

Hi,

Can someone help me with

=IF(AND(V24="",H24=""),"",SUM(V24/H24))

H24 = Property value
V24 = Rental return
W24 = Answer from equation

The problem I am facing is that there is not always a figure in H24 or V24
so I get #DIV/0 as an answer in W24.

What do I need to do to the formula to give the answer that I'm after but
leave cell W24 blank if either H24 or V24 are balnk?

Thanks in advance for your help.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


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


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