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  

formula help



 
 
Thread Tools Display Modes
  #1  
Old August 25th, 2008, 01:00 AM posted to microsoft.public.excel.worksheet.functions
RayB
external usenet poster
 
Posts: 34
Default formula help

I'm a novice Excel user. This is probably basic, but.. whats the proper
formula for this activity?
row 3 - column c is a number - 20 column d is a number - 24 i'm
subtracting d-c. result in h.
sometimes there is a column e with a number. sometimes not. if there is I
am subtracting e-d. result in g.

Also d goes in the next row as c unless there is a E. Then e goes in the
next row as c. input is always d and maybe e. Can I see that formula?

ex:
c d e g h
3 20 24 0 0 4
4 24
or
3 20 24 30 6 4
4 30

is there an easy way to do that?
thanks1
ray


  #2  
Old August 25th, 2008, 01:38 AM posted to microsoft.public.excel.worksheet.functions
Barb Reinhardt
external usenet poster
 
Posts: 1,381
Default formula help

You probably want something like this

IF(AND(ISBLANK(C3)=FALSE,ISBLANK(D3)=FALSE),D3-C3,"")
--
HTH,
Barb Reinhardt



"RayB" wrote:

I'm a novice Excel user. This is probably basic, but.. whats the proper
formula for this activity?
row 3 - column c is a number - 20 column d is a number - 24 i'm
subtracting d-c. result in h.
sometimes there is a column e with a number. sometimes not. if there is I
am subtracting e-d. result in g.

Also d goes in the next row as c unless there is a E. Then e goes in the
next row as c. input is always d and maybe e. Can I see that formula?

ex:
c d e g h
3 20 24 0 0 4
4 24
or
3 20 24 30 6 4
4 30

is there an easy way to do that?
thanks1
ray


  #3  
Old August 25th, 2008, 10:28 AM posted to microsoft.public.excel.worksheet.functions
Sandy Mann
external usenet poster
 
Posts: 2,264
Default formula help

"Barb Reinhardt" wrote in message
...

IF(AND(ISBLANK(C3)=FALSE,ISBLANK(D3)=FALSE),D3-C3,"")


Shorter to use:

=IF(COUNT(C33)=2,D3-C3,"")

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


Replace @mailinator.com with @tiscali.co.uk


 




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 05:21 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.